GeoTessCPP
2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
|
#include <GeoTessProfileSurfaceEmpty.h>
Public Member Functions | |
GeoTessProfileSurfaceEmpty () | |
virtual int | class_size () const |
virtual GeoTessData ** | getData () |
virtual GeoTessData * | getData (int i) |
virtual const GeoTessData & | getData (int i) const |
virtual GeoTessData * | getDataBottom () |
virtual const GeoTessData & | getDataBottom () const |
virtual GeoTessData * | getDataTop () |
virtual const GeoTessData & | getDataTop () const |
virtual int | getNData () const |
virtual int | getNRadii () const |
virtual float * | getRadii () |
virtual float | getRadius (int i) const |
virtual float | getRadiusBottom () const |
virtual float | getRadiusTop () const |
virtual const GeoTessProfileType & | getType () const |
virtual double | getValue (int attributeIndex, int nodeIndex) const |
virtual double | getValue (const GeoTessInterpolatorType &rInterpType, int attributeIndex, double radius, bool allowRadiusOutOfRange) const |
virtual double | getValueTop (int attributeIndex) const |
virtual bool | isNaN (int nodeIndex, int attributeIndex) |
virtual bool | operator== (const GeoTessProfile &p) const |
virtual void | setData (const vector< GeoTessData * > &inData) |
virtual void | setData (int index, GeoTessData *inData) |
virtual void | setRadii (const vector< float > &newRadii) |
Static Public Member Functions | |
static string | class_name () |
A Profile object used to support 2D models. It represents a single Data object and no radius value. ProfileSurfaceEmpty objects are incompatible with all other Profile types in the sense that a model that contains any ProfileSurfaceEmpty objects must be made up entirely of ProfileSurfaceEmpty objects.
static string geotess::GeoTessProfileSurfaceEmpty::class_name | ( | ) | [inline, static] |
Returns the class name.
Reimplemented from geotess::GeoTessProfile.
virtual int geotess::GeoTessProfileSurfaceEmpty::class_size | ( | ) | const [inline, virtual] |
Returns the class size.
Reimplemented from geotess::GeoTessProfile.
virtual GeoTessData** geotess::GeoTessProfileSurfaceEmpty::getData | ( | ) | [inline, virtual] |
Retrieve a reference to all of the Data obects associated with this Profile.
Reimplemented from geotess::GeoTessProfile.
virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getData | ( | int | i | ) | [inline, virtual] |
Retrieve a reference the i'th Data object
Reimplemented from geotess::GeoTessProfile.
virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getData | ( | int | i | ) | const [inline, virtual] |
Retrieve a reference the i'th Data object
Reimplemented from geotess::GeoTessProfile.
virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getDataBottom | ( | ) | [inline, virtual] |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::GeoTessProfile.
virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getDataBottom | ( | ) | const [inline, virtual] |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::GeoTessProfile.
virtual GeoTessData* geotess::GeoTessProfileSurfaceEmpty::getDataTop | ( | ) | [inline, virtual] |
Get the Data object at the top of the profile.
Reimplemented from geotess::GeoTessProfile.
virtual const GeoTessData& geotess::GeoTessProfileSurfaceEmpty::getDataTop | ( | ) | const [inline, virtual] |
Get the Data object at the top of the profile.
Reimplemented from geotess::GeoTessProfile.
virtual int geotess::GeoTessProfileSurfaceEmpty::getNData | ( | ) | const [inline, virtual] |
Get the number of Data objects that comprise this profile.
Reimplemented from geotess::GeoTessProfile.
virtual int geotess::GeoTessProfileSurfaceEmpty::getNRadii | ( | ) | const [inline, virtual] |
Get the number of radii that comprise this profile.
Reimplemented from geotess::GeoTessProfile.
virtual float* geotess::GeoTessProfileSurfaceEmpty::getRadii | ( | ) | [inline, virtual] |
Returns NULL
Reimplemented from geotess::GeoTessProfile.
virtual float geotess::GeoTessProfileSurfaceEmpty::getRadius | ( | int | i | ) | const [inline, virtual] |
Get the i'th radius value in this profile in km. Radii are in order of increasing radius.
Reimplemented from geotess::GeoTessProfile.
virtual float geotess::GeoTessProfileSurfaceEmpty::getRadiusBottom | ( | ) | const [inline, virtual] |
Get the radius at the bottom of the profile, in km.
Reimplemented from geotess::GeoTessProfile.
virtual float geotess::GeoTessProfileSurfaceEmpty::getRadiusTop | ( | ) | const [inline, virtual] |
Get the radius at the top of the profile, in km.
Reimplemented from geotess::GeoTessProfile.
virtual const GeoTessProfileType& geotess::GeoTessProfileSurfaceEmpty::getType | ( | ) | const [inline, virtual] |
Returns ProfileType (SURFACE).
Reimplemented from geotess::GeoTessProfile.
virtual double geotess::GeoTessProfileSurfaceEmpty::getValue | ( | int | attributeIndex, |
int | nodeIndex | ||
) | const [inline, virtual] |
Retrieve the value of the specified attribute from this profile at the specified node index
attributeIndex | |
nodeIndex |
Reimplemented from geotess::GeoTessProfile.
virtual double geotess::GeoTessProfileSurfaceEmpty::getValue | ( | const GeoTessInterpolatorType & | rInterpType, |
int | attributeIndex, | ||
double | radius, | ||
bool | allowRadiusOutOfRange | ||
) | const [inline, virtual] |
Retrieve the value of the specified attribute interpolated at the specified radius. Ignore allowRadiusOutOfRange.
Reimplemented from geotess::GeoTessProfile.
virtual double geotess::GeoTessProfileSurfaceEmpty::getValueTop | ( | int | attributeIndex | ) | const [inline, virtual] |
Retrieve the value of the specified attribute at the top of the layer.
attributeIndex |
Reimplemented from geotess::GeoTessProfile.
virtual bool geotess::GeoTessProfileSurfaceEmpty::isNaN | ( | int | nodeIndex, |
int | attributeIndex | ||
) | [inline, virtual] |
Return true if the specified Data value is NaN. For doubles and floats, this means not NaN. For bytes, shorts, ints and longs, always returns false since there is no value that is NaN.
nodeIndex | |
attributeIndex |
Reimplemented from geotess::GeoTessProfile.
virtual bool geotess::GeoTessProfileSurfaceEmpty::operator== | ( | const GeoTessProfile & | p | ) | const [inline, virtual] |
Return true if the input Profile object (p) equals this Profile object.
Reimplemented from geotess::GeoTessProfile.
virtual void geotess::GeoTessProfileSurfaceEmpty::setData | ( | const vector< GeoTessData * > & | inData | ) | [inline, virtual] |
Resets the data object to the new input data
Reimplemented from geotess::GeoTessProfile.
virtual void geotess::GeoTessProfileSurfaceEmpty::setData | ( | int | index, |
GeoTessData * | inData | ||
) | [inline, virtual] |
Resets the data object at index to the new input data.
Reimplemented from geotess::GeoTessProfile.
virtual void geotess::GeoTessProfileSurfaceEmpty::setRadii | ( | const vector< float > & | newRadii | ) | [inline, virtual] |
Replace the radii currently associated with this Profile with new values.
Reimplemented from geotess::GeoTessProfile.