1#ifndef ProcessBySample_h
2#define ProcessBySample_h
45 int requirements = 0);
48 int requirements = 0);
52 void StartProcess(
void funct(std::vector<Isis::Buffer *> &in,
53 std::vector<Isis::Buffer *> &out));
61 template <
typename Functor>
76 template <
typename Functor>
77 void ProcessCube(
const Functor & funct,
bool threaded =
true) {
90 template <
typename Functor>
Buffer for reading and writing cube data.
Definition Buffer.h:53
IO Handler for Isis Cubes.
Definition Cube.h:168
Process cubes by brick.
Definition ProcessByBrick.h:83
void ProcessCubeInPlace(const Functor &functor, bool threaded=true)
Operate over a single cube (either input or output).
Definition ProcessByBrick.h:167
void ProcessCubes(const Functor &functor, bool threaded=true)
Operate over an arbitrary number of input cubes given an arbitrary number of output cubes.
Definition ProcessByBrick.h:243
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
Definition ProcessByBrick.cpp:120
Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition ProcessByBrick.cpp:58
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
Definition ProcessByBrick.h:204
void SetWrap(bool wrap)
This wrapping option only applys when there are two or more input cubes.
Definition ProcessByBrick.cpp:409
IOCubes
Definition ProcessByBrick.h:91
@ InputOutput
Definition ProcessByBrick.h:92
@ InputOutputList
Definition ProcessByBrick.h:93
@ InPlace
Definition ProcessByBrick.h:91
Process cubes by sample.
Definition ProcessBySample.h:37
Isis::Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition ProcessBySample.cpp:37
void StartProcess(void funct(Isis::Buffer &inout))
This method invokes the process by sample operation over a single input or output cube.
Definition ProcessBySample.cpp:77
ProcessBySample()
Definition ProcessBySample.h:39
void ProcessCubes(const Functor &funct, bool threaded=true)
Definition ProcessBySample.h:91
void ProcessCube(const Functor &funct, bool threaded=true)
Definition ProcessBySample.h:77
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
Definition ProcessBySample.h:62
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16