![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1998 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: dtedMfRec.h,v $ $Revision: 1.13 $ $State: Exp $ 00007 *******************************************************************************/ 00008 #ifndef dtedMfRec_H_ 00009 #define dtedMfRec_H_ 00010 00011 // \file dtedMfRec.h 00012 // \brief Contains the DtDtedMetafileRecord class declaration. 00013 00014 #include "terrainDbFactory/terrainDbFactoryDefines.h" 00015 #include "terrainDbFactory/terrainMfRec.h" 00016 00017 // The dted metafile record has a list of individual dted files, and also a 00018 // post spacing parameter, used to control the resolution of the map. 00019 class DT_DLL_terrainDbFactory DtDtedMetafileRecord : public DtTerrainMetafileRecord 00020 { 00021 00022 public: 00023 00024 // default constructor. 00025 DtDtedMetafileRecord(); 00026 00027 // destructor 00028 virtual ~DtDtedMetafileRecord(); 00029 00030 // copy constructor 00031 DtDtedMetafileRecord(const DtDtedMetafileRecord& orig); 00032 00033 // assignment operator 00034 DtDtedMetafileRecord& operator=(const DtDtedMetafileRecord& orig); 00035 00036 // Returns "dted". 00037 virtual DtString recordTypeName() const; 00038 00039 // Read self from stream. 00040 virtual bool get(std::istream& stream); 00041 00042 // identifies a token or passes it to the parent class. 00043 virtual bool processToken(std::istream& stream, DtString& token); 00044 00045 static DtMetafileRecord* create(); 00046 00047 protected: 00048 00049 // Write self to stream. 00050 virtual bool writeAttributes(std::ostream& stream) const; 00051 virtual bool getAttribute(const DtString attrName, DtString& value, unsigned index=0); 00052 virtual bool setToken(const DtString& token, const DtString value); 00053 00054 protected: 00055 00056 static const DtString theParameterPostSpacing; 00057 static const DtString theIsProjected; 00058 static const DtString theProjection; 00059 static const DtString theIsTriangulated; 00060 static const DtString theParameterFile; 00061 static const DtString theLowColor; 00062 static const DtString theHighColor; 00063 static const DtString theLowColorHeight; 00064 static const DtString theHighColorHeight; 00065 static const DtString theIsReliefShaded; 00066 static const DtString theOrigin; 00067 static const DtString theMinMaxLatitude; 00068 static const DtString theMinMaxLongitude; 00069 static const DtString theIsSeaRectangleAdded; 00070 00071 }; 00072 00073 #endif 00074