7#include "BoxcarCachingAlgorithm.h"
8#include "BoxcarManager.h"
10#include "LineManager.h"
12#include "ProcessByBoxcar.h"
45 string m =
"You must specify exactly one input cube";
49 string m =
"You must specify exactly one output cube";
55 string m =
"The number of lines in the input and output cubes ";
62 string m =
"The number of samples in the input and output cubes ";
69 string m =
"The number of bands in the input and output cubes ";
76 string m =
"Use the SetBoxcarSize method to set the boxcar size";
94 for(
int i = 0; i < line.
size(); i++) {
This algorithm is designed for applications that jump around between a couple of spots in the cube wi...
Buffer manager, for moving through a cube by boxcar.
Buffer for reading and writing cube data.
int size() const
Returns the total number of pixels in the shape buffer.
bool begin()
Moves the shape buffer to the first position.
bool end() const
Returns true if the shape buffer has accessed the end of the cube.
bool next()
Moves the shape buffer to the next position.
@ Programmer
This error is for when a programmer made an API call that was illegal.
Buffer manager, for moving through a cube in lines.
void EndProcess()
End the boxcar processing sequence and cleans up by closing cubes, freeing memory,...
int p_boxLines
Number of lines in boxcar.
virtual void StartProcess(void funct(Isis::Buffer &in, double &out))
Starts the systematic processing of the input cube by moving a boxcar, p_boxSamples by p_boxLines,...
void SetBoxcarSize(const int ns, const int nl)
Sets the boxcar size.
bool p_boxsizeSet
Indicates whether the boxcar size has been set.
void Finalize()
End the boxcar processing sequence and cleans up by closing cubes, freeing memory,...
int p_boxSamples
Number of samples in boxcar.
virtual void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
std::vector< Isis::Cube * > InputCubes
A vector of pointers to opened Cube objects.
Isis::Progress * p_progress
Pointer to a Progress object.
std::vector< Isis::Cube * > OutputCubes
A vector of pointers to allocated Cube objects.
virtual void Finalize()
Cleans up by closing cubes and freeing memory for owned cubes.
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
void CheckStatus()
Checks and updates the status.
This is free and unencumbered software released into the public domain.
Namespace for the standard library.