36 void ProcessByTile::SetTileSize(
const int ns,
const int nl) {
56 void ProcessByTile::StartProcess(
void 60 VerifyCubes(InputOutput);
61 SetBricks(InputOutput);
62 ProcessByBrick::StartProcess(funct);
79 void ProcessByTile::StartProcess(
void funct(
Buffer &in)) {
84 ProcessByBrick::StartProcess(funct);
102 void ProcessByTile::StartProcess(
void funct(std::vector<Buffer *> &in,
103 std::vector<Buffer *> &out)) {
105 VerifyCubes(InputOutputList);
106 SetBricks(InputOutputList);
107 ProcessByBrick::StartProcess(funct);
117 void ProcessByTile::EndProcess() {
118 p_tileSizeSet =
false;
119 ProcessByBrick::EndProcess();
126 void ProcessByTile::Finalize() {
127 p_tileSizeSet =
false;
128 ProcessByBrick::Finalize();
132 void ProcessByTile::SetBricks(IOCubes cn){
140 string m =
"Use the SetTileSize method to set the tile size";
144 ProcessByBrick::SetBrickSize(p_tileSamples, p_tileLines, 1);
151 string m =
"Use the SetTileSize method to set the tile size";
152 throw IException(IException::Programmer, m,
_FILEINFO_);
155 ProcessByBrick::SetBrickSize(p_tileSamples, p_tileLines, 1);
159 case InputOutputList:
162 string m =
"Use the SetTileSize method to set the tile size";
163 throw IException(IException::Programmer, m,
_FILEINFO_);
166 ProcessByBrick::SetBrickSize(p_tileSamples, p_tileLines, 1);
Buffer for reading and writing cube data.
Namespace for the standard library.
#define _FILEINFO_
Macro for the filename and line number.
Namespace for ISIS/Bullet specific routines.