51 p_tileSizeSet =
false;
63 std::vector<Buffer *> &out));
72 template <
typename Functor>
85 template <
typename Functor>
86 void ProcessCube(
const Functor & funct,
bool threaded =
true) {
100 template <
typename Functor>
111 void SetBrickSizesForProcessCubeInPlace();
112 void SetBrickSizesForProcessCube();
113 void SetBrickSizesForProcessCubes();
Buffer for reading and writing cube data.
Definition Buffer.h:53
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
void ProcessCube(const Functor &functor, bool threaded=true)
Operate over a single input cube creating a separate output cube.
Definition ProcessByBrick.h:204
IOCubes
Definition ProcessByBrick.h:91
@ InputOutput
Definition ProcessByBrick.h:92
@ InputOutputList
Definition ProcessByBrick.h:93
@ InPlace
Definition ProcessByBrick.h:91
Process cubes by tile.
Definition ProcessByTile.h:40
void StartProcess(void funct(Buffer &in))
Starts the systematic processing of the input cube by moving an arbitrary shaped tile through the cub...
Definition ProcessByTile.cpp:63
void SetTileSize(const int ns, const int nl)
Sets the tile size.
Definition ProcessByTile.cpp:20
ProcessByTile()
Constructs a ProcessByTile object.
Definition ProcessByTile.h:50
void ProcessCubeInPlace(const Functor &funct, bool threaded=true)
Definition ProcessByTile.h:73
void Finalize()
Cleans up by closing cubes and freeing memory.
Definition ProcessByTile.cpp:110
void ProcessCubes(const Functor &funct, bool threaded=true)
Definition ProcessByTile.h:101
~ProcessByTile()
Destroys the ProcessByTile object.
Definition ProcessByTile.h:55
void ProcessCube(const Functor &funct, bool threaded=true)
Definition ProcessByTile.h:86
void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
Definition ProcessByTile.cpp:101
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16