1 #ifndef ProcessBySpectra_h 2 #define ProcessBySpectra_h 77 const int requirements = 0);
80 const int requirements = 0);
101 void StartProcess(
void funct(std::vector<Isis::Buffer *> &in,
102 std::vector<Isis::Buffer *> &out));
110 template <
typename Functor>
123 template <
typename Functor>
127 SetBricks(InputOutput);
136 template <
typename Functor>
139 SetBricks(InputOutputList);
150 void SetBricks(IOCubes cn);
151 void SetBrickSizesForProcessCubeInPlace();
152 void SetBrickSizesForProcessCube();
153 void SetBrickSizesForProcessCubes();
Buffer for reading and writing cube data.
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
Isis::Cube * SetInputCube(const QString ¶meter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Process cubes by spectra.
void ProcessCubes(const Functor &functor, bool threaded=true)
Operate over an arbitrary number of input cubes given an arbitrary number of output cubes...
Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
static const int ByLine
ByLine spectra type (equal to 1)
int p_spectraType
Spectra type: valid values are 0 (PerPixel), 1 (ByLine), or 2 (BySample)
int Type()
Returns the spectra type:
void ProcessCubeInPlace(const Functor &functor, bool threaded=true)
Operate over a single cube (either input or output).
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
void ProcessCube(const Functor &funct, bool threaded=true)
ProcessBySpectra(const int type=PerPixel)
Constructs ProcessBySpectra object using specified spectra type.
void ProcessCubes(const Functor &funct, bool threaded=true)
static const int BySample
BySample spectra type (equal to 2)
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
void StartProcess(void funct(Isis::Buffer &in))
This method invokes the process by spectra operation over a single input or output cube...
Namespace for ISIS/Bullet specific routines.
void SetType(const int type)
Sets the spectra type to one of the following:
static const int PerPixel
PerPixel spectra type (equal to 0)
IO Handler for Isis Cubes.