Isis Developer 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. | |
DataValue (DataValueType type) | |
Constructs a DataValue with a given type. | |
DataValue (DataValueType type, int cubeIndex) | |
Constructs a DataValue with a given type and associated cube index. | |
DataValue (DataValueType type, double value) | |
Constructs a DataValue with a given type and constant value. | |
DataValueType | type () |
Accesses the type of the DataValue. | |
int | cubeIndex () |
Accesses the cube index of the DataValue. | |
double | constant () |
Accesses the constant value of the DataValue. | |
This class is used to define what kind of data is being pushed onto the cube calculator.
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. |
Isis::DataValue::DataValue | ( | ) |
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. |
References cubeIndex(), and type().
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.
double Isis::DataValue::constant | ( | ) |
Accesses the constant value of the DataValue.
Referenced by Isis::CubeCalculator::runCalculations().
int Isis::DataValue::cubeIndex | ( | ) |
Accesses the cube index of the DataValue.
Referenced by DataValue(), and Isis::CubeCalculator::runCalculations().
DataValue::DataValueType Isis::DataValue::type | ( | ) |
Accesses the type of the DataValue.
Referenced by DataValue(), DataValue(), DataValue(), and Isis::CubeCalculator::runCalculations().