Isis 3 Programmer Reference
|
This class is used to define what kind of data is being pushed onto the cube calculator. More...
#include <CubeCalculator.h>
Public Types | |
enum | DataValueType { Constant, Sample, Line, Band, CubeData, InaData, EmaData, PhaData, LatData, LonData, ResData, RadiusData, InalData, EmalData, PhalData, InacData, EmacData, PhacData } |
This is used to tell what kind of data to push onto the RPN calculator. More... | |
Public Member Functions | |
DataValue () | |
Constructs a default DataValue. More... | |
DataValue (DataValueType type) | |
Constructs a DataValue with a given type. More... | |
DataValue (DataValueType type, int cubeIndex) | |
Constructs a DataValue with a given type and associated cube index. More... | |
DataValue (DataValueType type, double value) | |
Constructs a DataValue with a given type and constant value. More... | |
DataValueType | type () |
Accesses the type of the DataValue. More... | |
int | cubeIndex () |
Accesses the cube index of the DataValue. More... | |
double | constant () |
Accesses the constant value of the DataValue. More... | |
Private Attributes | |
int | m_cubeIndex |
The index of the associated cube. More... | |
double | m_constantValue |
Stored constant value. More... | |
DataValueType | m_type |
Type of data stored. More... | |
This class is used to define what kind of data is being pushed onto the cube calculator.
Definition at line 147 of file CubeCalculator.h.
This is used to tell what kind of data to push onto the RPN calculator.
Enumerator | |
---|---|
Constant | A single constant value. |
Sample | Current sample number. |
Line | Current line number. |
Band | Current band number. |
CubeData | A brick of cube data. |
InaData | Incidence camera data. |
EmaData | Emission camera data. |
PhaData | Phase camera data. |
LatData | Latitude camera data. |
LonData | Longitude camera data. |
ResData | Pixel resolution camera data. |
RadiusData | DEM radius. |
InalData | Local incidence camera data. |
EmalData | Local emission camera data. |
PhalData | Local phase camera data. |
InacData | Center incidence camera data. |
EmacData | Center emission camera data. |
PhacData | Center phase camera data. |
Definition at line 150 of file CubeCalculator.h.
Isis::DataValue::DataValue | ( | ) |
Constructs a default DataValue.
This method constructs a default DataValue with its type, cube index, and constant value set to -1, -1, and 0.0, respectively.
Definition at line 855 of file CubeCalculator.cpp.
Isis::DataValue::DataValue | ( | DataValueType | type | ) |
Isis::DataValue::DataValue | ( | DataValueType | type, |
int | cubeIndex | ||
) |
Constructs a DataValue with a given type and associated cube index.
This method constructs a DataValue with the passed type and a cube index corresponding to the data's associated cube. The DataValue's constant value is set to 0.0.
type | The DataValueType for the DataValue. |
cubeIndex | Index of the associated cube the data corresponds with. |
Definition at line 886 of file CubeCalculator.cpp.
Isis::DataValue::DataValue | ( | DataValueType | type, |
double | value | ||
) |
Constructs a DataValue with a given type and constant value.
This method constructs a DataValue with the passed type and passed constant value. The DataValue's cube index is set to -1. If the type passed is DataValue::Constant, then its constant value is set to the passed value.
Definition at line 903 of file CubeCalculator.cpp.
double Isis::DataValue::constant | ( | ) |
Accesses the constant value of the DataValue.
Definition at line 938 of file CubeCalculator.cpp.
Referenced by Isis::CubeCalculator::runCalculations().
int Isis::DataValue::cubeIndex | ( | ) |
Accesses the cube index of the DataValue.
Definition at line 928 of file CubeCalculator.cpp.
Referenced by Isis::CubeCalculator::lastPushToCubeCameras(), Isis::CubeCalculator::lastPushToCubeStats(), and Isis::CubeCalculator::runCalculations().
DataValue::DataValueType Isis::DataValue::type | ( | ) |
Accesses the type of the DataValue.
Definition at line 918 of file CubeCalculator.cpp.
Referenced by Isis::CubeCalculator::lastPushToCubeCameras(), Isis::CubeCalculator::lastPushToCubeStats(), and Isis::CubeCalculator::runCalculations().
|
private |
Stored constant value.
Definition at line 182 of file CubeCalculator.h.
|
private |
The index of the associated cube.
Definition at line 181 of file CubeCalculator.h.
|
private |
Type of data stored.
Definition at line 184 of file CubeCalculator.h.