Public Member Functions |
| | DtPixmapPaperMapRecord () |
| | default constructor.
|
| virtual | ~DtPixmapPaperMapRecord () |
| | destructor
|
| | DtPixmapPaperMapRecord (const DtPixmapPaperMapRecord &orig) |
| | copy constructor
|
| DtPixmapPaperMapRecord & | operator= (const DtPixmapPaperMapRecord &rhs) |
| | assignment operator
|
| virtual DtPaperMapRecord * | clone () |
| virtual DtString | recordTypeName () const |
| | Returns the record type.
|
| virtual void | setSwCorner (const DtPoint &pnt) |
| | Returns the southwest point of the bitmap.
|
| virtual const DtPoint & | swCorner () const |
| virtual void | setNeCorner (const DtPoint &pnt) |
| | Returns the northeast point of the bitmap.
|
| virtual const DtPoint & | neCorner () const |
| virtual void | setCornersInDatabase (bool db) |
| | If a papermap gets loaded with out extents, it's extents are set to a default of whatever the terrain's extent is.
|
| virtual bool | cornersInDatabase () |
| 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
|
| | DtPaperMapRecord () |
| virtual | ~DtPaperMapRecord () |
| | DtPaperMapRecord (const DtPaperMapRecord &orig) |
| DtPaperMapRecord & | operator= (const DtPaperMapRecord &rhs) |
| virtual DtConfigCategoryType | recordCategory () const |
| | Each record should have a category of configuration they represent.
|
| virtual const DtString & | name () const |
| virtual void | setName (const DtString &name) |
| virtual void | setFilename (const DtFilename &filename) |
| virtual const DtFilename & | filename () const |
| virtual void | setTransparencyLevel (int i) |
| virtual int | transparencyLevel () const |
| virtual void | setCoordinateSystem (DtPaperMap::DtCoordinateSystem cs) |
virtual
DtPaperMap::DtCoordinateSystem | coordinateSystem () const |
| virtual DtPaperMap::AlphaMode | alphaMode () const |
| virtual void | setAlphaMode (DtPaperMap::AlphaMode mode) |
| virtual DtString | coordSysEnumToString (const DtPaperMap::DtCoordinateSystem coordsys) const |
virtual
DtPaperMap::DtCoordinateSystem | stringToCoordSysEnum (const DtString &string) const |
| virtual DtString | alphaEnumToString (const DtPaperMap::AlphaMode alphaMode) const |
| virtual DtPaperMap::AlphaMode | stringToAlphaEnum (const DtString &string) const |
| | DtMetafileRecord () |
| | default constructor.
|
| virtual | ~DtMetafileRecord () |
| | destructor
|
| | DtMetafileRecord (const DtMetafileRecord &orig) |
| | copy constructor
|
| DtMetafileRecord & | operator= (const DtMetafileRecord &orig) |
| | assignment operator
|
| virtual bool | init () |
| | Initialize the metafile.
|
| virtual bool | canImport () |
| | Tells whether the record can be included in the import process or not.
|
| virtual bool | put (std::ostream &stream) const |
| | Write self to stream.
|
| 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).
|
| virtual bool | setAttribute (DtString attrName, DtString value) |
| | Sets the value of the attribute attrName to value.
|
virtual const
DtTerrainInitializer * | initializer () const |
| | Get the initializer.
|
| virtual DtTerrainInitializer * | initializer () |
| virtual void | setInitializer (DtTerrainInitializer *init) |
| | Sets the initializer.
|
| 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.
|
| virtual const DtString & | recordString () const |
| | Get the record string.
|
| virtual void | resetFileLists () |
| | Clears any file lists this record holds onto.
|
| virtual void | setPath (const DtFilename &) |
| | Parent path (if relevant)
|
| 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) |
class DtPixmapPaperMapRecord: Instances of this class are accessors to Mak terrain database metafiles.
Certain database formats require the use of a metafile as the top-level file. Example: gdf, dted