![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| DtTerrainLinearGeometry () | |
| DtTerrainLinearGeometry (const DtTerrainLinearGeometry &orig) | |
| ~DtTerrainLinearGeometry () | |
| DtTerrainLinearGeometry & | operator= (const DtTerrainLinearGeometry &orig) |
| virtual void | setVertices (const DtWorldLocationStructArray &val) |
| virtual void | addVertex (const DtVector64 &val) |
| virtual const DtWorldLocationStructArray & | vertices () const |
| virtual void | setWidth (const DtFloat64 &val) |
| virtual const DtFloat64 & | width () const |
| bool | operator== (const DtTerrainLinearGeometry &other) const |
| bool | operator!= (const DtTerrainLinearGeometry &other) const |
| virtual bool | approximatelyEqual (const DtTerrainGeometry &other, double tolerance=-1.0) const |
| Determines if the vertex locations and width values are approximately equal (within tolerance). More... | |
| virtual DtTerrainAreaTypeEnum32 | terrainAreaType () const |
| Returns the type of the terrain area (DtTerrainAreaTypeLine). More... | |
| virtual DtTerrainGeometry * | clone () const |
| Makes a copy of this TerrainGeometry. More... | |
| virtual int | variantNetSize () const |
| The net size of the variant portion of the record. More... | |
| virtual int | variantOctetBoundary () const |
| The octet boundary of the variant portion of the record. More... | |
| virtual void | writeVariantToBuffer (char *buffer) const |
| Writes the variant portion of the record to the buffer. More... | |
| virtual void | fillVariantFromBuffer (const char *buffer, int bufferSize, int offset) |
| Reads the variant portion of the record from the buffer. More... | |
| virtual void | printData () const |
| virtual void | printDataToStream (std::ostream &) const |
Public Member Functions inherited from DtTerrainGeometry | |
| DtTerrainGeometry () | |
| ~DtTerrainGeometry () | |
| DtTerrainGeometry (const DtTerrainGeometry &orig) | |
| DtTerrainGeometry & | operator= (const DtTerrainGeometry &orig) |
| bool | operator== (const DtTerrainGeometry &other) const |
| bool | operator!= (const DtTerrainGeometry &other) const |
| int | netSize () const |
| virtual unsigned int | getPaddingSize (DtU64 byteOffset, unsigned int boundary) const |
| void | writeToBuffer (char *buffer) const |
| void | fillFromBuffer (const char *buffer, int bufferSize, int offset) |
| template<class Variant > | |
| const Variant * | variant () const |
| If this Terrain Geometry object matches the given variant type, returns a pointer to this object of the requested variant type. More... | |
| template<class Variant > | |
| Variant * | variant () |
Static Public Member Functions | |
| static int | theVariantOctetBoundary () |
| The octet boundary of the variant portion of the record. More... | |
| static DtTerrainAreaTypeEnum32 | theTerrainAreaType () |
| Returns the type of the terrain area (DtTerrainAreaTypeLine). More... | |
Static Public Member Functions inherited from DtTerrainGeometry | |
| static DtTerrainAreaTypeEnum32 | terrainAreaTypeFromBuffer (const char *buffer, int bufferSize, int offset) |
| Returns the terrain area type as encoded into the given buffer. More... | |
| static int | octetBoundary () |
| The octet boundary for a complete geometry record. More... | |
| static double | defaultTolerance () |
| Returns the default tolerance value used by approximatelyEqual. More... | |
| static void | setDefaultTolerance (double tolerance) |
| Sets the default tolerance value used by approximatelyEqual. More... | |
Protected Attributes | |
| DtWorldLocationStructArray | myVertices |
| DtFloat64 | myWidth |
Additional Inherited Members | |
Static Protected Attributes inherited from DtTerrainGeometry | |
| static double | theDefaultTolerance |
| DtTerrainLinearGeometry::DtTerrainLinearGeometry | ( | ) |
| DtTerrainLinearGeometry::DtTerrainLinearGeometry | ( | const DtTerrainLinearGeometry & | orig | ) |
| DtTerrainLinearGeometry::~DtTerrainLinearGeometry | ( | ) |
| DtTerrainLinearGeometry& DtTerrainLinearGeometry::operator= | ( | const DtTerrainLinearGeometry & | orig | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| bool DtTerrainLinearGeometry::operator== | ( | const DtTerrainLinearGeometry & | other | ) | const |
| bool DtTerrainLinearGeometry::operator!= | ( | const DtTerrainLinearGeometry & | other | ) | const |
|
virtual |
Determines if the vertex locations and width values are approximately equal (within tolerance).
If tolerance is negative, the value returned by defaultTolerance() is used.
Implements DtTerrainGeometry.
|
inlinevirtual |
Returns the type of the terrain area (DtTerrainAreaTypeLine).
This is the discriminant for the network variant record.
Implements DtTerrainGeometry.
|
virtual |
Makes a copy of this TerrainGeometry.
Implements DtTerrainGeometry.
|
virtual |
The net size of the variant portion of the record.
Implements DtTerrainGeometry.
|
inlinevirtual |
The octet boundary of the variant portion of the record.
Implements DtTerrainGeometry.
|
virtual |
Writes the variant portion of the record to the buffer.
Implements DtTerrainGeometry.
|
virtual |
Reads the variant portion of the record from the buffer.
Implements DtTerrainGeometry.
|
virtual |
Reimplemented from DtTerrainGeometry.
|
virtual |
Reimplemented from DtTerrainGeometry.
|
static |
The octet boundary of the variant portion of the record.
|
static |
Returns the type of the terrain area (DtTerrainAreaTypeLine).
This is the discriminant for the network variant record.
|
protected |
|
protected |