#include <ProfileSurfaceEmpty.h>
List of all members.
Public Member Functions |
| ProfileSurfaceEmpty () |
virtual int | class_size () const |
virtual Data ** | getData () |
virtual Data * | getData (int i) |
virtual const Data & | getData (int i) const |
virtual Data * | getDataBottom () |
virtual const Data & | getDataBottom () const |
virtual Data * | getDataTop () |
virtual const Data & | 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 ProfileType & | getType () const |
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 bool | operator== (const Profile &p) const |
virtual void | setData (const vector< Data * > &inData) |
virtual void | setData (int index, Data *inData) |
virtual void | setRadii (const vector< float > &newRadii) |
virtual int | findClosestRadiusIndex (double radius) const |
virtual double | getInterpolationCoefficient (int i, double radius, bool allowOutOfRange) const |
virtual int | getPointIndex (int nodeIndex) const |
int | getRadiusIndex (double radius) const |
virtual int | getRadiusIndex (double radius, int jlo) const |
double | getThickness () |
double | getValue (const vector< int > &nodeIds, const vector< double > &coefficients, int attributeIndex) const |
virtual double | getValueBottom (int attributeIndex) const |
Static Public Member Functions |
static string | class_name () |
static int | class_count () |
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) |
Detailed Description
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.
Constructor & Destructor Documentation
geotess::ProfileSurfaceEmpty::ProfileSurfaceEmpty |
( |
| ) |
|
|
inline |
Member Function Documentation
static string geotess::ProfileSurfaceEmpty::class_name |
( |
| ) |
|
|
inlinestatic |
virtual int geotess::ProfileSurfaceEmpty::class_size |
( |
| ) |
const |
|
inlinevirtual |
virtual Data** geotess::ProfileSurfaceEmpty::getData |
( |
| ) |
|
|
inlinevirtual |
virtual Data* geotess::ProfileSurfaceEmpty::getData |
( |
int |
i | ) |
|
|
inlinevirtual |
virtual const Data& geotess::ProfileSurfaceEmpty::getData |
( |
int |
i | ) |
const |
|
inlinevirtual |
virtual Data* geotess::ProfileSurfaceEmpty::getDataBottom |
( |
| ) |
|
|
inlinevirtual |
virtual const Data& geotess::ProfileSurfaceEmpty::getDataBottom |
( |
| ) |
const |
|
inlinevirtual |
virtual Data* geotess::ProfileSurfaceEmpty::getDataTop |
( |
| ) |
|
|
inlinevirtual |
virtual const Data& geotess::ProfileSurfaceEmpty::getDataTop |
( |
| ) |
const |
|
inlinevirtual |
virtual int geotess::ProfileSurfaceEmpty::getNData |
( |
| ) |
const |
|
inlinevirtual |
virtual int geotess::ProfileSurfaceEmpty::getNRadii |
( |
| ) |
const |
|
inlinevirtual |
Get the number of radii that comprise this profile.
Reimplemented from geotess::Profile.
virtual float* geotess::ProfileSurfaceEmpty::getRadii |
( |
| ) |
|
|
inlinevirtual |
virtual float geotess::ProfileSurfaceEmpty::getRadius |
( |
int |
i | ) |
const |
|
inlinevirtual |
Get the i'th radius value in this profile in km. Radii are in order of increasing radius.
Reimplemented from geotess::Profile.
virtual float geotess::ProfileSurfaceEmpty::getRadiusBottom |
( |
| ) |
const |
|
inlinevirtual |
Get the radius at the bottom of the profile, in km.
Reimplemented from geotess::Profile.
virtual float geotess::ProfileSurfaceEmpty::getRadiusTop |
( |
| ) |
const |
|
inlinevirtual |
Get the radius at the top of the profile, in km.
Reimplemented from geotess::Profile.
virtual const ProfileType& geotess::ProfileSurfaceEmpty::getType |
( |
| ) |
const |
|
inlinevirtual |
virtual double geotess::ProfileSurfaceEmpty::getValue |
( |
int |
attributeIndex, |
|
|
int |
nodeIndex |
|
) |
| const |
|
inlinevirtual |
Retrieve the value of the specified attribute from this profile at the specified node index
- Parameters:
-
- Returns:
- double
Reimplemented from geotess::Profile.
virtual double geotess::ProfileSurfaceEmpty::getValue |
( |
const InterpolatorType & |
rInterpType, |
|
|
int |
attributeIndex, |
|
|
double |
radius, |
|
|
bool |
allowRadiusOutOfRange |
|
) |
| const |
|
inlinevirtual |
Retrieve the value of the specified attribute interpolated at the specified radius. Ignore allowRadiusOutOfRange.
Reimplemented from geotess::Profile.
virtual double geotess::ProfileSurfaceEmpty::getValueTop |
( |
int |
attributeIndex | ) |
const |
|
inlinevirtual |
Retrieve the value of the specified attribute at the top of the layer.
- Parameters:
-
- Returns:
- double
Reimplemented from geotess::Profile.
virtual bool geotess::ProfileSurfaceEmpty::isNaN |
( |
int |
nodeIndex, |
|
|
int |
attributeIndex |
|
) |
| |
|
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.
- Parameters:
-
- Returns:
- true if the specified Data value is NaN.
Reimplemented from geotess::Profile.
virtual bool geotess::ProfileSurfaceEmpty::operator== |
( |
const Profile & |
p | ) |
const |
|
inlinevirtual |
virtual void geotess::ProfileSurfaceEmpty::setData |
( |
const vector< Data * > & |
inData | ) |
|
|
inlinevirtual |
Resets the data object to the new input data
Reimplemented from geotess::Profile.
virtual void geotess::ProfileSurfaceEmpty::setData |
( |
int |
index, |
|
|
Data * |
inData |
|
) |
| |
|
inlinevirtual |
Resets the data object at index to the new input data.
Reimplemented from geotess::Profile.
virtual void geotess::ProfileSurfaceEmpty::setRadii |
( |
const vector< float > & |
newRadii | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: