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

Public Member Functions | |
| DtFltMetafileRecord () | |
| virtual | ~DtFltMetafileRecord () |
| DtFltMetafileRecord (const DtFltMetafileRecord &orig) | |
| DtFltMetafileRecord & | operator= (const DtFltMetafileRecord &orig) |
| virtual DtString | recordTypeName () const |
| Returns the type name for the particular record. More... | |
| virtual bool | get (std::istream &stream) |
| Read self from stream. More... | |
| virtual bool | processToken (std::istream &stream, DtString &token) |
| Identifies a token or passes it to the parent class. More... | |
Public Member Functions inherited from DtTerrainMetafileRecord | |
| DtTerrainMetafileRecord () | |
| default constructor. More... | |
| virtual | ~DtTerrainMetafileRecord () |
| destructor More... | |
| DtTerrainMetafileRecord (const DtTerrainMetafileRecord &orig) | |
| copy constructor More... | |
| DtTerrainMetafileRecord & | operator= (const DtTerrainMetafileRecord &orig) |
| assignment operator More... | |
| virtual const DtFilename & | filename () const |
| Returns filename of database. More... | |
| virtual void | setFilename (const DtFilename &name) |
| virtual DtConfigCategoryType | recordCategory () const |
| Returns DtConfigTerrainType;. More... | |
| virtual const unsigned int | terrainType () const |
| Specfic kind of terrain source. More... | |
| virtual void | resetFileLists () |
| Clears the terrain file initializer list. More... | |
Public Member Functions inherited from DtMetafileRecord | |
| DtMetafileRecord () | |
| default constructor. More... | |
| virtual | ~DtMetafileRecord () |
| destructor More... | |
| DtMetafileRecord (const DtMetafileRecord &orig) | |
| copy constructor More... | |
| DtMetafileRecord & | operator= (const DtMetafileRecord &orig) |
| assignment operator More... | |
| virtual bool | init () |
| Initialize the metafile. More... | |
| virtual bool | canImport () |
| Tells whether the record can be included in the import process or not. More... | |
| virtual bool | put (std::ostream &stream) const |
| Write self to stream. More... | |
| virtual bool | getAttribute (const DtString attrName, DtString &value, DtString &type, unsigned index=0) |
| Given the name of a record's attribute, returns True if the record has the attribute (the value is returned in value and the type in type). More... | |
| virtual bool | setAttribute (DtString attrName, DtString value) |
| Sets the value of the attribute attrName to value. More... | |
| virtual const DtTerrainInitializer * | initializer () const |
| Get the initializer. More... | |
| virtual DtTerrainInitializer * | initializer () |
| virtual void | setInitializer (DtTerrainInitializer *init) |
| Sets the initializer. More... | |
| virtual const int | recordKey () |
| virtual void | setRecordKey (const int key) |
| virtual const DtPropertyNamesMap | properties () const |
| Get the std::map with all the properties available for this record. More... | |
| virtual const DtString & | recordString () const |
| Get the record string. More... | |
| virtual void | setPath (const DtFilename &) |
| Parent path (if relevant) More... | |
| virtual const DtFilename & | path () const |
| bool | isInt (const DtString &valueIn) |
| bool | isDouble (const DtString &valueIn) |
| bool | isColor (const DtString &valueIn) |
| bool | isPoint (const DtString &valueIn) |
| bool | isBool (const DtString &valueIn) |
| bool | toInt (const DtString &valueIn, int &valueOut) |
| bool | toDouble (const DtString &valueIn, double &valueOut) |
| bool | toColor (const DtString &valueIn, DtColor &valueOut) |
| bool | toPoint (const DtString &valueIn, DtPoint &valueOut) |
| bool | toBool (const DtString &valueIn, bool &valueOut) |
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) More... | |
| 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. More... | |
| 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 More... | |
Static Protected Attributes | |
| static const DtString | theParameterFile |
| static const DtString | theRefEllipsoidMajor |
| static const DtString | theRefEllipsoidMinor |
| static const DtString | theDatumShift |
| static const DtString | theProjectionCentralScale |
| static const DtString | theNumberOfExternalLevelsToKeep |
| static const DtString | theLodDistance |
| static const DtString | theLowLodDistance |
| static const DtString | theRefInverseFlattening |
| static const DtString | theUsePath |
| static const DtString | theDefaultSwitchNodeChildIndex |
Static Protected Attributes inherited from DtTerrainMetafileRecord | |
| static const DtString | theZone |
| These variables will be used to override any latitude/longitude or zone information found in header files. More... | |
| 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) More... | |
| static const DtString | theNumVertices |
| static const DtString | theNumSurfaces |
| static const DtString | theIsLargeTerrain |
Static Protected Attributes inherited from DtMetafileRecord | |
| static const DtString | theImport |
Additional Inherited Members | |
Protected Attributes inherited from DtTerrainMetafileRecord | |
| long | myZone |
| DtPoint | myDatabaseOrigin |
| bool | myOriginSet |
| DtFilename | myFile |
| unsigned int | myTerrainType |
Protected Attributes inherited from DtMetafileRecord | |
| DtTerrainInitializer * | mypInitializer |
| DtString | myRecordString |
| int | myRecordKey |
| DtPropertyNamesMap | myAttributeNames |
| bool | myCanImport |
| DtFilename | myPath |
| DtFltMetafileRecord::DtFltMetafileRecord | ( | ) |
|
virtual |
| DtFltMetafileRecord::DtFltMetafileRecord | ( | const DtFltMetafileRecord & | orig | ) |
| DtFltMetafileRecord& DtFltMetafileRecord::operator= | ( | const DtFltMetafileRecord & | orig | ) |
|
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 |
Read self from stream.
Reimplemented from DtTerrainMetafileRecord.
Identifies a token or passes it to the parent class.
Reimplemented from DtTerrainMetafileRecord.
|
static |
|
protectedvirtual |
Write attributes to stream. This is called by put(stream)
Reimplemented from DtTerrainMetafileRecord.
|
protectedvirtual |
Given the name of a record's attribute, returns its value in the 'value' parameter.
Returns True if successful; false otherwise
Reimplemented from DtTerrainMetafileRecord.
|
protectedvirtual |
identifies a token and returns true if the value can be set to it, false otherwise
Reimplemented from DtTerrainMetafileRecord.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |