code::Volume Class Reference

Inheritance diagram for code::Volume:

code::ElevationVolume code::LatLonHeightGrid code::WindFieldLLGVolume List of all members.

Detailed Description

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

See also:
code_DataType

code_ElevationVolume

code_LatLonHeightGrid

Author:
REST
Author
lakshman
Date
2009/06/02 20:17:37


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::DataTypeDataType ()
 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.


Constructor & Destructor Documentation

code::Volume::Volume (  ) 

Default constructor.

virtual code::Volume::~Volume (  )  [virtual]

Make delete call descendant's destructor.


Member Function Documentation

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]

Containing height of the volume in lat/lon/height space.

Reimplemented in code::ElevationVolume.

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]

Get interpolated value for given location.

Reimplemented in code::ElevationVolume.

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]

Get closest raw value this given location.

Reimplemented in code::ElevationVolume.

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]

Get volume test value for given location.

Reimplemented in code::ElevationVolume.

virtual double code::Volume::testValue ( const code::Location loc  )  const [inline, virtual]

Get volume test value for given location.

Reimplemented in code::ElevationVolume.


Generated on Fri May 4 13:40:11 2012 for WDSS-IIw2 by  doxygen 1.4.7