32 template <
typename T>
class QSet;
33 template <
typename T>
class QList;
36 const int SizeMatch = 1;
37 const int SpatialMatch = 2;
38 const int OneBand = 16;
39 const int BandMatchOrOne = 32;
40 const int ReadWrite = 64;
41 const int AllMatchOrOne = 128;
235 const int requirements = 0);
238 int requirements = 0);
244 const int nlines,
const int nbands = 1);
247 const int nsamps,
const int nlines,
248 const int nbands = 1);
250 void AddInputCube(
Cube *cube,
bool owned =
true);
251 void AddOutputCube(
Cube *cube,
bool owned =
true);
274 QString
MissionData(
const QString &mission,
const QString &file,
275 bool highestVersion =
false);
291 const unsigned index) {
305 const unsigned index) {
void PropagateTables(const bool prop)
This method allows the programmer to propagate input tables to the output cube (default is true) ...
void CalculateStatistics()
Calculates and stores off statistics on every band of every cube added to this process via the SetInp...
std::vector< Isis::Statistics *> p_cubeStats
Holds the calculated statistics for every band together of every input cubei after the CalculateStati...
Process()
Constructs a Process Object.
void PropagatePolygons(const bool prop)
This method allows the programmer to propagate input blobs to the output cube (default is true) ...
std::vector< Isis::Cube * > OutputCubes
A vector of pointers to allocated Cube objects.
void WriteHistory(Cube &cube)
Writes out the History blob to the cube.
bool p_propagateTables
Flag indicating if tables are be propagated to output cubes.
bool p_propagatePolygons
Flag indicating if blobs are be propagated to output cubes.
QString MissionData(const QString &mission, const QString &file, bool highestVersion=false)
This method reads the mission specific data directory from the user preference file, makes sure that mission is available in the Isis installation, and the attaches the provided input file to the directory in order to create a full file specification.
virtual void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
std::vector< std::vector< Isis::Statistics *> > p_bandStats
Holds the calculated statistics for each band separately of every input cubei after the CalculateStat...
void PropagateOriginalLabel(const bool prop)
This method allows the programmer to propagate original labels to the output cube (default is true) ...
This class is used to accumulate statistics on double arrays.
virtual void StartProcess(void funct())
In the base class, this method will invoked a user-specified function exactly one time...
Program progress reporter.
virtual ~Process()
Destroys the Process Object. It will close all opened cubes.
void PropagateHistory(const bool prop)
This method allows the programmer to propagate history to the output cube (default is true) ...
void ClearOutputCubes()
Close owned output cubes from the list and clear the list.
virtual Isis::Cube * SetInputCube(const QString ¶meter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Manipulate and parse attributes of output cube filenames.
void PropagateLabels(const bool prop)
This method allows the programmer to turn on/off the propagation of labels from the 1st input cube to...
void ClearInputCubes()
Close owned input cubes from the list and clear the list.
bool p_propagateHistory
Flag indicating if history is to be propagated to output cubes.
virtual Isis::Cube * SetOutputCube(const QString ¶meter)
Allocates a user-specified output cube whose size matches the first input cube.
Isis::Progress * Progress()
This method returns a pointer to a Progress object.
Isis::Progress * p_progress
Pointer to a Progress object.
Namespace for ISIS/Bullet specific routines.
void ClearCubes()
Close owned cubes from the list and clear the list.
Isis::Statistics * CubeStatistics(const unsigned index)
Get the Statistics object for all bands of a specified input cube.
QSet< Isis::Cube * > * m_ownedCubes
A list of cubes owned by this instant.
bool p_propagateOriginalLabel
Flag indicating if original lable is to be propagated to output cubes.
Base class for all cube processing derivatives.
virtual void Finalize()
Cleans up by closing cubes and freeing memory for owned cubes.
std::vector< Isis::Cube * > InputCubes
A vector of pointers to opened Cube objects.
IO Handler for Isis Cubes.
bool p_propagateLabels
Flag indicating if labels are be propagated to output cubes.
std::vector< Isis::Statistics * > BandStatistics(const unsigned index)
Get the vector of Statistics objects for each band separately of a specified input cube...