1 #ifndef ProcessByTile_h 2 #define ProcessByTile_h 79 std::vector<Buffer *> &out));
88 template <
typename Functor>
101 template <
typename Functor>
105 SetBricks(InputOutput);
116 template <
typename Functor>
120 SetBricks(InputOutputList);
126 void SetBricks(IOCubes cn);
127 void SetBrickSizesForProcessCubeInPlace();
128 void SetBrickSizesForProcessCube();
129 void SetBrickSizesForProcessCubes();
Buffer for reading and writing cube data.
bool p_tileSizeSet
Indicates whether the tile size has been set.
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
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 ProcessCubes(const Functor &functor, bool threaded=true)
Operate over an arbitrary number of input cubes given an arbitrary number of output cubes...
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
void ProcessCubeInPlace(const Functor &functor, bool threaded=true)
Operate over a single cube (either input or output).
void SetTileSize(const int ns, const int nl)
Sets the tile size.
int p_tileLines
Number of lines in the tile.
ProcessByTile()
Constructs a ProcessByTile object.
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
void StartProcess(void funct(Buffer &in))
Starts the systematic processing of the input cube by moving an arbitrary shaped tile through the cub...
Namespace for ISIS/Bullet specific routines.
~ProcessByTile()
Destroys the ProcessByTile object.
void ProcessCubes(const Functor &funct, bool threaded=true)
void ProcessCube(const Functor &funct, bool threaded=true)
void Finalize()
Cleans up by closing cubes and freeing memory.