GeoTessCPP
2.2
Software to facilitate storage and retrieval of 3D information about the Earth.
|
A Profile object that defines a single Data object and no radius value. More...
#include <GeoTessProfileSurface.h>
Public Member Functions | |
GeoTessProfileSurface (GeoTessData *dat) | |
Default constructor. More... | |
virtual int | class_size () const |
Returns the class size. More... | |
virtual GeoTessData ** | getData () |
Retrieve a shallow copy of all of the Data objects associated with thisProfile. More... | |
virtual GeoTessData * | getData (int i) |
Retrieve a reference the i'th Data object. More... | |
virtual const GeoTessData & | getData (int i) const |
Retrieve a reference the i'th Data object. More... | |
virtual const GeoTessData & | getDataBottom () const |
Get the Data object at the bottom of the profile. More... | |
virtual GeoTessData * | getDataBottom () |
Get the Data object at the bottom of the profile. More... | |
virtual const GeoTessData & | getDataTop () const |
Get the Data object at the top of the profile. More... | |
virtual GeoTessData * | getDataTop () |
Get the Data object at the top of the profile. More... | |
virtual LONG_INT | getMemory () |
virtual int | getNData () const |
Get the number of Data objects that comprise this profile. More... | |
virtual int | getNRadii () const |
Get the number of radii that comprise this profile. More... | |
virtual float * | getRadii () |
Returns NULL. More... | |
virtual float | getRadius (int i) const |
Get the i'th radius value in this profile in km. More... | |
virtual float | getRadiusBottom () const |
Get the radius at the bottom of the profile, in km. More... | |
virtual float | getRadiusTop () const |
Get the radius at the top of the profile, in km. More... | |
virtual const GeoTessProfileType & | getType () const |
Returns ProfileType (SURFACE). More... | |
virtual double | getValue (int attributeIndex, int nodeIndex) const |
Retrieve the value of the specified attribute from this profile at the specified node index. More... | |
virtual double | getValue (const GeoTessInterpolatorType &rInterpType, int attributeIndex, double radius, bool allowRadiusOutOfRange) const |
Retrieve the value of the specified attribute interpolated at the specified radius. More... | |
virtual double | getValueTop (int attributeIndex) const |
Retrieve the value of the specified attribute at the top of the layer. More... | |
virtual bool | isNaN (int nodeIndex, int attributeIndex) |
Return true if the specified Data value is NaN. More... | |
virtual bool | operator== (const GeoTessProfile &p) const |
Return true if the input Profile object (p) equals this Profile object. More... | |
virtual void | setData (const vector< GeoTessData * > &inData) |
Resets the data object to the new input data. More... | |
virtual void | setData (int index, GeoTessData *inData) |
Resets the data object at index to the new input data. More... | |
virtual void | setRadii (const vector< float > &newRadii) |
Replace the radii currently associated with this Profile with new values. More... | |
virtual void | setRadius (int index, float radius) |
Replace the radius at the specified nodeIndex. More... | |
![]() | |
virtual int | findClosestRadiusIndex (double radius) const |
Find the node index of the radius in this Profile that has radius closest to the supplied radius. More... | |
virtual double | getInterpolationCoefficient (int i, double radius, bool allowOutOfRange) const |
find interpolation coefficient. More... | |
virtual int | getPointIndex (int nodeIndex) const |
Get the pointIndex that corresponds to the supplied nodeIndex. More... | |
int | getRadiusIndex (double radius) const |
Find index i such that radius is >= radii[i] and < radii[i+1]. More... | |
virtual int | getRadiusIndex (double radius, int jlo) const |
Find index i such that radius is >= radii[i] and < radii[i+1]. More... | |
double | getThickness () |
Return the thickness of the layer in km. More... | |
double | getValue (const vector< int > &nodeIds, const vector< double > &coefficients, int attributeIndex) const |
Retrieve the value of the specified attribute interpolated at the specified radius. More... | |
virtual double | getValueBottom (int attributeIndex) const |
Retrieve the value of the specified attribute at the bottom of the layer. More... | |
Static Public Member Functions | |
static string | class_name () |
Returns the class name. More... | |
![]() | |
static int | class_count () |
Returns the class instance count. More... | |
static string | class_name () |
Returns the class name. More... | |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< GeoTessData * > &data) |
Static factory method that instantiates a new Profile object of the appropriate type. More... | |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< double > > &data) |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< float > > &data) |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< LONG_INT > > &data) |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< int > > &data) |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< short > > &data) |
static GeoTessProfile * | newProfile (const vector< float > &radii, vector< vector< byte > > &data) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, GeoTessData **data, const int &nData) |
Static factory method that instantiates a new Profile object of the appropriate type. More... | |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, double **values, const int &nNodes, const int &nAttributes) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, float **values, const int &nNodes, const int &nAttributes) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, LONG_INT **values, const int &nNodes, const int &nAttributes) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, int **values, const int &nNodes, const int &nAttributes) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, short **values, const int &nNodes, const int &nAttributes) |
static GeoTessProfile * | newProfile (float *radii, const int &nRadii, byte **values, const int &nNodes, const int &nAttributes) |
A Profile object that defines a single Data object and no radius value.
A Profile object used to support 2D models. It represents a single Data object and no radius value. ProfileSurface objects are incompatible with all other Profile types in the sense that a model that contains any ProfileSurface objects must be made up entirely of ProfileSurface objects.
|
inline |
Default constructor.
|
inlinestatic |
Returns the class name.
|
inlinevirtual |
Returns the class size.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve a shallow copy of all of the Data objects associated with thisProfile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve a reference the i'th Data object.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve a reference the i'th Data object.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the Data object at the top of the profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the Data object at the top of the profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the number of Data objects that comprise this profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the number of radii that comprise this profile.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Returns NULL.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the i'th radius value in this profile in km.
Radii are in order of increasing radius.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the radius at the bottom of the profile, in km.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Get the radius at the top of the profile, in km.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Returns ProfileType (SURFACE).
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve the value of the specified attribute from this profile at the specified node index.
attributeIndex | |
nodeIndex |
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve the value of the specified attribute interpolated at the specified radius.
Ignore allowRadiusOutOfRange.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Retrieve the value of the specified attribute at the top of the layer.
attributeIndex |
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
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.
|
inlinevirtual |
Return true if the input Profile object (p) equals this Profile object.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Resets the data object to the new input data.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Resets the data object at index to the new input data.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Replace the radii currently associated with this Profile with new values.
Reimplemented from geotess::GeoTessProfile.
|
inlinevirtual |
Replace the radius at the specified nodeIndex.
Reimplemented from geotess::GeoTessProfile.