Inheritance diagram for code::Volume:
The interface class for anything that is a 3D volume. Used by the the display to render dynamic slicing generically. A volume is created from a related set of DataType
code_ElevationVolume
code_LatLonHeightGrid
Public Member Functions | |
Volume () | |
Default constructor. | |
virtual | ~Volume () |
Make delete call descendant's destructor. | |
virtual bool | constructVolume (std::vector< code::SmartPtr< code::DataType > > &dataslices) |
Construct volume object from a datatype set. | |
virtual code::DataType * | DataType () |
Access datatype for this volume. | |
virtual double | getMaxVolumeKMHeight () |
Containing height of the volume in lat/lon/height space. | |
virtual double | getRawValue (const code::Location &loc, bool=false) const |
Get closest raw value this given location. | |
virtual double | rawFunction (const code::Location &loc) const |
Get closest raw value this given location. | |
virtual double | rawFunction (const code::LocationCPoint &loc) const |
Get closest raw value this given location. | |
virtual double | interpolatedValue (const code::Location &loc) const |
Get interpolated value for given location. | |
virtual double | interpolatedValue (const code::LocationCPoint &loc) const |
Get interpolated value for given location. | |
virtual double | testValue (const code::Location &loc) const |
Get volume test value for given location. | |
virtual double | testValue (const code::LocationCPoint &loc) const |
Get volume test value for given location. |
code::Volume::Volume | ( | ) |
Default constructor.
virtual code::Volume::~Volume | ( | ) | [virtual] |
Make delete call descendant's destructor.
virtual bool code::Volume::constructVolume | ( | std::vector< code::SmartPtr< code::DataType > > & | dataslices | ) | [inline, virtual] |
Construct volume object from a datatype set.
A volume is a a group of data type
Reimplemented in code::ElevationVolume, code::LatLonHeightGrid, and code::WindFieldLLGVolume.
virtual code::DataType* code::Volume::DataType | ( | ) | [inline, virtual] |
Access datatype for this volume.
Convenient since subclasses of this will also inherit from DataType
Reimplemented in code::ElevationVolume.
virtual double code::Volume::getMaxVolumeKMHeight | ( | ) | [inline, virtual] |
virtual double code::Volume::getRawValue | ( | const code::Location & | loc, | |
bool | = false | |||
) | const [inline, virtual] |
Get closest raw value this given location.
Reimplemented in code::ElevationVolume, code::LatLonHeightGrid, and code::WindFieldLLGVolume.
virtual double code::Volume::interpolatedValue | ( | const code::LocationCPoint & | loc | ) | const [inline, virtual] |
virtual double code::Volume::interpolatedValue | ( | const code::Location & | loc | ) | const [inline, virtual] |
Get interpolated value for given location.
Reimplemented in code::ElevationVolume, code::LatLonHeightGrid, and code::WindFieldLLGVolume.
virtual double code::Volume::rawFunction | ( | const code::LocationCPoint & | loc | ) | const [inline, virtual] |
virtual double code::Volume::rawFunction | ( | const code::Location & | loc | ) | const [inline, virtual] |
Get closest raw value this given location.
Reimplemented in code::ElevationVolume, and code::LatLonHeightGrid.
virtual double code::Volume::testValue | ( | const code::LocationCPoint & | loc | ) | const [inline, virtual] |
virtual double code::Volume::testValue | ( | const code::Location & | loc | ) | const [inline, virtual] |