![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| DtTerrainUnknownGeometry () | |
| DtTerrainUnknownGeometry (const DtTerrainUnknownGeometry &orig) | |
| virtual | ~DtTerrainUnknownGeometry () override |
| 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 override |
| virtual DtTerrainAreaTypeEnum32 | terrainAreaType () const override |
| virtual DtTerrainGeometry * | clone () const override |
| virtual int | variantNetSize () const override |
| virtual int | variantOctetBoundary () const override |
| virtual void | writeVariantToBuffer (char *buffer) const override |
| virtual void | fillVariantFromBuffer (const char *buffer, int bufferSize, int offset) override |
| virtual void | printData () const override |
| virtual void | printDataToStream (std::ostream &) const override |
Public Member Functions inherited from DtTerrainGeometry | |
| DtTerrainGeometry () | |
| virtual | ~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 |
| template<class Variant > | |
| Variant * | variant () |
Static Public Member Functions | |
| static int | theVariantOctetBoundary () |
| static DtTerrainAreaTypeEnum32 | theTerrainAreaType () |
Static Public Member Functions inherited from DtTerrainGeometry | |
| static DtTerrainAreaTypeEnum32 | terrainAreaTypeFromBuffer (const char *buffer, int bufferSize, int offset) |
| static int | octetBoundary () |
| static double | defaultTolerance () |
| static void | setDefaultTolerance (double tolerance) |
Additional Inherited Members | |
Static Protected Attributes inherited from DtTerrainGeometry | |
| static double | theDefaultTolerance |
| DtTerrainUnknownGeometry::DtTerrainUnknownGeometry | ( | ) |
| DtTerrainUnknownGeometry::DtTerrainUnknownGeometry | ( | const DtTerrainUnknownGeometry & | orig | ) |
|
overridevirtual |
| DtTerrainUnknownGeometry& DtTerrainUnknownGeometry::operator= | ( | const DtTerrainUnknownGeometry & | orig | ) |
| bool DtTerrainUnknownGeometry::operator== | ( | const DtTerrainUnknownGeometry & | other | ) | const |
| bool DtTerrainUnknownGeometry::operator!= | ( | const DtTerrainUnknownGeometry & | other | ) | const |
|
overridevirtual |
For unknown type, same as operator==.
Implements DtTerrainGeometry.
|
inlineoverridevirtual |
Returns the type of the terrain area (DtTerrainAreaTypeOther). This is the discriminant for the network variant record.
Implements DtTerrainGeometry.
|
overridevirtual |
Makes a copy of this TerrainGeometry.
Implements DtTerrainGeometry.
|
overridevirtual |
The net size of the variant portion of the record.
Implements DtTerrainGeometry.
|
inlineoverridevirtual |
The octet boundary of the variant portion of the record.
Implements DtTerrainGeometry.
|
overridevirtual |
Writes the variant portion of the record to the buffer.
Implements DtTerrainGeometry.
|
overridevirtual |
Reads the variant portion of the record from the buffer.
Implements DtTerrainGeometry.
|
overridevirtual |
Reimplemented from DtTerrainGeometry.
|
overridevirtual |
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.