7#include "ProcessBySample.h"
11#include "IException.h"
13#include "ProcessByBrick.h"
39 int allRequirements = Isis::SpatialMatch | Isis::BandMatchOrOne;
40 allRequirements |= requirements;
60 int allRequirements = Isis::SpatialMatch | Isis::BandMatchOrOne;
61 allRequirements |= requirements;
97 SetBricks(InputOutput);
112 std::vector<Isis::Buffer *> &out)) {
114 SetBricks(InputOutputList);
119 void ProcessBySample::SetBricks(IOCubes cn){
135 case InputOutputList:
136 for(
unsigned int i = 0; i <
InputCubes.size(); i++) {
139 for(
unsigned int i = 0; i <
OutputCubes.size(); i++) {
Buffer for reading and writing cube data.
IO Handler for Isis Cubes.
void SetOutputBrickSize(int ns, int nl, int nb)
Sets the size of all output bricks.
void VerifyCubes(IOCubes cn)
Verifies the dimensions of the input/output cubes.
void SetInputBrickSize(int ns, int nl, int nb)
Sets the size of all input bricks.
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.
Isis::Cube * SetInputCube(const QString ¶meter, int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
void StartProcess(void funct(Isis::Buffer &inout))
This method invokes the process by sample operation over a single input or output cube.
std::vector< Isis::Cube * > InputCubes
A vector of pointers to opened Cube objects.
std::vector< Isis::Cube * > OutputCubes
A vector of pointers to allocated Cube objects.
virtual Isis::Cube * SetInputCube(const QString ¶meter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.