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

Public Member Functions | |
| DtShapeMetafileRecord () | |
| virtual | ~DtShapeMetafileRecord () |
| DtShapeMetafileRecord (const DtShapeMetafileRecord &orig) | |
| DtShapeMetafileRecord & | operator= (const DtShapeMetafileRecord &orig) |
| virtual DtString | recordTypeName () const |
| Returns the type name for the particular record. | |
| virtual void | resetFileLists () |
| Clears the terrain file initializer list. | |
| virtual bool | get (std::istream &stream) |
| Read self from stream. | |
| virtual bool | processToken (std::istream &stream, DtString &token) |
| Identifies a token or passes it to the parent class. | |
Static Public Member Functions | |
| static DtMetafileRecord * | create () |
Protected Member Functions | |
| virtual bool | writeAttributes (std::ostream &stream) const |
| Write attributes to stream. This is called by put(stream) | |
| virtual bool | getAttribute (const DtString attrName, DtString &value, unsigned index=0) |
| Given the name of a record's attribute, returns its value in the 'value' parameter. | |
| virtual bool | setToken (const DtString &token, const DtString value) |
| identifies a token and returns true if the value can be set to it, false otherwise | |
Static Protected Attributes | |
| static const DtString | theIsTerrainType |
| static const DtString | theIsElevationFactorToMeters |
| static const DtString | theIsElevationField |
| static const DtString | theIsElevationValue |
| static const DtString | theIsSeaRectangleAdded |
| static const DtString | theIsGroundRectangleAdded |
| static const DtString | theIsTerrainFile |
| static const DtString | theOrigin |
| Note that latitude and longitude origin will be defined as latitude, longitude, 0.0 (the z value must be 0.0) | |
| static const DtString | theDistance |
| static const DtString | theIsElevationInData |
| static const DtString | theThreshold |
| virtual DtShapeMetafileRecord::~DtShapeMetafileRecord | ( | ) | [virtual] |
| DtShapeMetafileRecord::DtShapeMetafileRecord | ( | const DtShapeMetafileRecord & | orig | ) |
| DtShapeMetafileRecord& DtShapeMetafileRecord::operator= | ( | const DtShapeMetafileRecord & | orig | ) |
| virtual DtString DtShapeMetafileRecord::recordTypeName | ( | ) | const [virtual] |
Returns the type name for the particular record.
Descendants should have this method return some string which uniquely identifies the kind of database it represents.
Implements DtMetafileRecord.
| virtual void DtShapeMetafileRecord::resetFileLists | ( | ) | [virtual] |
Clears the terrain file initializer list.
Reimplemented from DtTerrainMetafileRecord.
| virtual bool DtShapeMetafileRecord::get | ( | std::istream & | stream | ) | [virtual] |
Read self from stream.
Reimplemented from DtTerrainMetafileRecord.
| virtual bool DtShapeMetafileRecord::processToken | ( | std::istream & | stream, |
| DtString & | token | ||
| ) | [virtual] |
Identifies a token or passes it to the parent class.
Reimplemented from DtTerrainMetafileRecord.
| static DtMetafileRecord* DtShapeMetafileRecord::create | ( | ) | [static] |
| virtual bool DtShapeMetafileRecord::writeAttributes | ( | std::ostream & | stream | ) | const [protected, virtual] |
Write attributes to stream. This is called by put(stream)
Reimplemented from DtTerrainMetafileRecord.
| virtual bool DtShapeMetafileRecord::getAttribute | ( | const DtString | attrName, |
| DtString & | value, | ||
| unsigned | index = 0 |
||
| ) | [protected, virtual] |
Given the name of a record's attribute, returns its value in the 'value' parameter.
Returns True if successful; false otherwise
Reimplemented from DtTerrainMetafileRecord.
| virtual bool DtShapeMetafileRecord::setToken | ( | const DtString & | token, |
| const DtString | value | ||
| ) | [protected, virtual] |
identifies a token and returns true if the value can be set to it, false otherwise
Reimplemented from DtTerrainMetafileRecord.
const DtString DtShapeMetafileRecord::theIsTerrainType [static, protected] |
const DtString DtShapeMetafileRecord::theIsElevationFactorToMeters [static, protected] |
const DtString DtShapeMetafileRecord::theIsElevationField [static, protected] |
const DtString DtShapeMetafileRecord::theIsElevationValue [static, protected] |
const DtString DtShapeMetafileRecord::theIsSeaRectangleAdded [static, protected] |
const DtString DtShapeMetafileRecord::theIsGroundRectangleAdded [static, protected] |
const DtString DtShapeMetafileRecord::theIsTerrainFile [static, protected] |
const DtString DtShapeMetafileRecord::theOrigin [static, protected] |
Note that latitude and longitude origin will be defined as latitude, longitude, 0.0 (the z value must be 0.0)
Reimplemented from DtTerrainMetafileRecord.
const DtString DtShapeMetafileRecord::theDistance [static, protected] |
const DtString DtShapeMetafileRecord::theIsElevationInData [static, protected] |
const DtString DtShapeMetafileRecord::theThreshold [static, protected] |