GeoTessCPP
2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
|
#include <ProfileConstant.h>
Public Member Functions | |
ProfileConstant (float radBot, float radTop, Data *dat) | |
virtual int | class_size () const |
virtual const ProfileType & | getType () const |
virtual bool | operator== (const Profile &p) const |
virtual float | getRadius (int i) const |
virtual Data ** | getData () |
virtual Data * | getData (int i) |
virtual const Data & | getData (int i) const |
virtual void | setData (const vector< Data * > &inData) |
virtual void | setData (int index, Data *inData) |
virtual double | getValue (int attributeIndex, int nodeIndex) const |
virtual double | getValue (const InterpolatorType &rInterpType, int attributeIndex, double radius, bool allowRadiusOutOfRange) const |
virtual double | getValueTop (int attributeIndex) const |
virtual bool | isNaN (int nodeIndex, int attributeIndex) |
virtual void | setRadii (const vector< float > &newRadii) |
virtual float | getRadiusTop () const |
virtual const Data & | getDataTop () const |
virtual Data * | getDataTop () |
virtual float | getRadiusBottom () const |
virtual const Data & | getDataBottom () const |
virtual Data * | getDataBottom () |
virtual int | getNRadii () const |
virtual int | getNData () const |
virtual float * | getRadii () |
![]() | |
double | getValue (const vector< int > &nodeIds, const vector< double > &coefficients, int attributeIndex) const |
virtual double | getValueBottom (int attributeIndex) const |
double | getThickness () |
int | getRadiusIndex (double radius) const |
virtual int | getRadiusIndex (double radius, int jlo) const |
virtual double | getInterpolationCoefficient (int i, double radius, bool allowOutOfRange) const |
virtual int | getPointIndex (int nodeIndex) const |
virtual int | findClosestRadiusIndex (double radius) const |
Static Public Member Functions | |
static string | class_name () |
![]() | |
static Profile * | newProfile (const vector< float > &radii, vector< Data * > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< double > > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< float > > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< LONG_INT > > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< int > > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< short > > &data) |
static Profile * | newProfile (const vector< float > &radii, vector< vector< byte > > &data) |
static Profile * | newProfile (float *radii, const int &nRadii, Data **data, const int &nData) |
static Profile * | newProfile (float *radii, const int &nRadii, double **values, const int &nNodes, const int &nAttributes) |
static Profile * | newProfile (float *radii, const int &nRadii, float **values, const int &nNodes, const int &nAttributes) |
static Profile * | newProfile (float *radii, const int &nRadii, LONG_INT **values, const int &nNodes, const int &nAttributes) |
static Profile * | newProfile (float *radii, const int &nRadii, int **values, const int &nNodes, const int &nAttributes) |
static Profile * | newProfile (float *radii, const int &nRadii, short **values, const int &nNodes, const int &nAttributes) |
static Profile * | newProfile (float *radii, const int &nRadii, byte **values, const int &nNodes, const int &nAttributes) |
static int | class_count () |
A Profile object that defines two radii, one at the bottom and other at the top of the associated layer, and a single Data object that represents the model values throughout the layer.
|
inline |
Default constructor.
|
inlinestatic |
Returns the class name.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Returns the class size.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve a reference to all of the Data objects associated with this Profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve a reference the i'th Data object
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve a reference the i'th Data object
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the Data object at the bottom of the profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the Data object at the top of the profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the Data object at the top of the profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the number of Data objects that comprise this profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the number of radii that comprise this profile.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve a deeep copy of the radii values in km.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the i'th radius value in this profile in km. Radii are in order of increasing radius.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the radius at the bottom of the profile, in km.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Get the radius at the top of the profile, in km.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Returns ProfileType (CONSTANT).
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve the value of the specified attribute interpolated from this profile at the specified radius index
attributeIndex | |
nodeIndex |
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve the value of the specified attribute interpolated at the specified radius.
rInterpType | either Int |
attributeIndex | |
radius | radius in km |
allowRadiusOutOfRange |
Reimplemented from geotess::Profile.
|
inlinevirtual |
Retrieve the value of the specified attribute at the top of the layer.
attributeIndex |
Reimplemented from geotess::Profile.
|
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::Profile.
|
inlinevirtual |
Return true if the input Profile object (p) equals this Profile object.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Resets the data object to the new input data
Reimplemented from geotess::Profile.
|
inlinevirtual |
Resets the data object at index to the new input data.
Reimplemented from geotess::Profile.
|
inlinevirtual |
Replace the radii currently associated with this Profile with new values.
Reimplemented from geotess::Profile.