57 Isis::Cube *ProcessByLine::SetInputCube(
const QString ¶meter,
58 const int requirements) {
59 int allRequirements = Isis::SpatialMatch | Isis::BandMatchOrOne;
60 allRequirements |= requirements;
61 return Process::SetInputCube(parameter, allRequirements);
80 Isis::Cube *ProcessByLine::SetInputCube(
const QString &file,
82 const int requirements) {
83 int allRequirements = Isis::SpatialMatch | Isis::BandMatchOrOne;
84 allRequirements |= requirements;
85 return Process::SetInputCube(file, att, allRequirements);
98 Process::SetInputCube(inCube);
102 void ProcessByLine::SetBricks(IOCubes cn) {
108 if (InputCubes.size() == 1) {
109 SetBrickSize(InputCubes[0]->sampleCount(), 1, 1);
113 SetBrickSize(OutputCubes[0]->sampleCount(), 1, 1);
120 SetInputBrickSize(InputCubes[0]->sampleCount(), 1, 1);
121 SetOutputBrickSize(OutputCubes[0]->sampleCount(), 1, 1);
125 case InputOutputList:
127 for (
unsigned int i = 0; i < InputCubes.size(); i++) {
128 SetInputBrickSize(InputCubes[i]->sampleCount(), 1, 1, i + 1);
130 for (
unsigned int i = 0; i < OutputCubes.size(); i++) {
131 SetOutputBrickSize(OutputCubes[i]->sampleCount(), 1, 1, i + 1);
160 VerifyCubes(InPlace);
162 ProcessByBrick::StartProcess(funct);
185 void ProcessByLine::StartProcess(std::function<
void(
Isis::Buffer &in)> funct ) {
186 VerifyCubes(InPlace);
188 ProcessByBrick::StartProcess(funct);
205 VerifyCubes(InputOutput);
206 SetBricks(InputOutput);
207 ProcessByBrick::StartProcess(funct);
222 void ProcessByLine::StartProcess(
void funct(std::vector<Isis::Buffer *> &in,
223 std::vector<Isis::Buffer *> &out)) {
224 VerifyCubes(InputOutputList);
225 SetBricks(InputOutputList);
226 ProcessByBrick::StartProcess(funct);
Buffer for reading and writing cube data.
Namespace for the standard library.
Namespace for ISIS/Bullet specific routines.
IO Handler for Isis Cubes.