![]() |
VR-Forces 4.10 Class Documentation
|
This class is used when the Terrain Area Type represents a type that is unknown, and therefore we do not know how it should be encoded or decoded. More...

Public Member Functions | |
| DtTerrainUnknownGeometry () | |
| DtTerrainUnknownGeometry (const DtTerrainUnknownGeometry &orig) | |
| ~DtTerrainUnknownGeometry () | |
| DtTerrainUnknownGeometry & | operator= (const DtTerrainUnknownGeometry &orig) |
| bool | operator== (const DtTerrainUnknownGeometry &other) const |
| bool | operator!= (const DtTerrainUnknownGeometry &other) const |
| virtual bool | approximatelyEqual (const DtTerrainGeometry &other, double tolerance=-1.0) const |
| For unknown type, same as operator==. More... | |
| virtual DtTerrainAreaTypeEnum32 | terrainAreaType () const |
| Returns the type of the terrain area (DtTerrainAreaTypeOther). 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 (DtTerrainAreaTypeOther). 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... | |
Additional Inherited Members | |
Static Protected Attributes inherited from DtTerrainGeometry | |
| static double | theDefaultTolerance |
This class is used when the Terrain Area Type represents a type that is unknown, and therefore we do not know how it should be encoded or decoded.
Encoding will follow the HLA specification, which says that if the discriminant does not match a known value, the record will be padded to the octet boundary. Decoding will skip the variant portion of the record.
| DtTerrainUnknownGeometry::DtTerrainUnknownGeometry | ( | ) |
| DtTerrainUnknownGeometry::DtTerrainUnknownGeometry | ( | const DtTerrainUnknownGeometry & | orig | ) |
| DtTerrainUnknownGeometry::~DtTerrainUnknownGeometry | ( | ) |
| DtTerrainUnknownGeometry& DtTerrainUnknownGeometry::operator= | ( | const DtTerrainUnknownGeometry & | orig | ) |
| bool DtTerrainUnknownGeometry::operator== | ( | const DtTerrainUnknownGeometry & | other | ) | const |
| bool DtTerrainUnknownGeometry::operator!= | ( | const DtTerrainUnknownGeometry & | other | ) | const |
|
virtual |
For unknown type, same as operator==.
Implements DtTerrainGeometry.
|
inlinevirtual |
Returns the type of the terrain area (DtTerrainAreaTypeOther).
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 (DtTerrainAreaTypeOther).
This is the discriminant for the network variant record.