|
Isis 3 Programmer Reference
|
1 #ifndef ProcessByTile_h
2 #define ProcessByTile_h
9 #include "ProcessByBrick.h"
63 std::vector<Buffer *> &out));
72 template <
typename Functor>
85 template <
typename Functor>
86 void ProcessCube(
const Functor & funct,
bool threaded =
true) {
89 SetBricks(InputOutput);
100 template <
typename Functor>
104 SetBricks(InputOutputList);
110 void SetBricks(IOCubes cn);
111 void SetBrickSizesForProcessCubeInPlace();
112 void SetBrickSizesForProcessCube();
113 void SetBrickSizesForProcessCubes();
void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
int p_tileSamples
Number of samples in the tile.
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
void Finalize()
Cleans up by closing cubes and freeing memory.
void ProcessCubes(const Functor &funct, bool threaded=true)
int p_tileLines
Number of lines in the tile.
void ProcessCube(const Functor &funct, bool threaded=true)
ProcessByTile()
Constructs a ProcessByTile object.
~ProcessByTile()
Destroys the ProcessByTile object.
void ProcessCubeInPlace(const Functor &functor, bool threaded=true)
Operate over a single cube (either input or output).
Buffer for reading and writing cube data.
void StartProcess(void funct(Buffer &in))
Starts the systematic processing of the input cube by moving an arbitrary shaped tile through the cub...
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
void ProcessCubes(const Functor &functor, bool threaded=true)
Operate over an arbitrary number of input cubes given an arbitrary number of output cubes.
void SetTileSize(const int ns, const int nl)
Sets the tile size.
bool p_tileSizeSet
Indicates whether the tile size has been set.
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
This is free and unencumbered software released into the public domain.