7#include "ProcessByTile.h"
8#include "TileManager.h"
45 SetBricks(InputOutput);
87 std::vector<Buffer *> &out)) {
90 SetBricks(InputOutputList);
116 void ProcessByTile::SetBricks(IOCubes cn){
124 string m =
"Use the SetTileSize method to set the tile size";
135 string m =
"Use the SetTileSize method to set the tile size";
143 case InputOutputList:
146 string m =
"Use the SetTileSize method to set the tile size";
Buffer for reading and writing cube data.
@ Programmer
This error is for when a programmer made an API call that was illegal.
void Finalize()
Cleans up by closing cubes and freeing memory.
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
virtual void StartProcess(void funct(Buffer &in))
Starts the systematic processing of the input cube by moving an arbitrarily-shaped brick through the ...
void SetBrickSize(int ns, int nl, int nb)
Sets the input and output bricks sizes to the given number of samples, lines, and bands.
void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
void StartProcess(void funct(Buffer &in))
Starts the systematic processing of the input cube by moving an arbitrary shaped tile through the cub...
void SetTileSize(const int ns, const int nl)
Sets the tile size.
void Finalize()
Cleans up by closing cubes and freeing memory.
int p_tileSamples
Number of samples in the tile.
int p_tileLines
Number of lines in the tile.
void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
bool p_tileSizeSet
Indicates whether the tile size has been set.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.