![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: serFlatEarthCrdSys.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef serFlatEarthCrdSys_H_ 00009 #define serFlatEarthCrdSys_H_ 00010 00011 // 00012 // \file serFlatEarthCrdSys.h Contains the serializable flat earth coordinate system class declaration. 00013 // 00014 00015 #include "terrainCS/terrainCSDefines.h" 00016 #include <stdio.h> 00017 #include "tdbutil/serializ.h" 00018 #include "terrainCS/flatEarthCrdSys.h" 00019 00020 // 00021 // DtSerializableFlatEarthCS is a serializable version of the DtFlatEarthCS. 00022 // 00023 class DT_DLL_terrainCS DtSerializableFlatEarthCS : public DtFlatEarthCS, public DtSerializable 00024 { 00025 public: 00026 // constructor 00027 DtSerializableFlatEarthCS(double refLatitude, 00028 double refLongitude, 00029 bool setUseDynamicSceneOrigin = false, 00030 double dynamicSceneOriginDeadband = 0.0); 00031 00032 DtSerializableFlatEarthCS(bool setUseDynamicSceneOrigin = false, 00033 double dynamicSceneOriginDeadband = 0.0); 00034 00035 // constructor 00036 DtSerializableFlatEarthCS(FILE* fp); 00037 00038 // copy constructor 00039 DtSerializableFlatEarthCS(const DtSerializableFlatEarthCS& orig); 00040 00041 // destructor 00042 virtual ~DtSerializableFlatEarthCS(); 00043 00044 // assignment operator 00045 DtSerializableFlatEarthCS& operator=(const DtSerializableFlatEarthCS& orig); 00046 00047 // Clone operator 00048 virtual Coordinate_System* clone() const; 00049 00050 // Read from the specified file handle. 00051 virtual bool readFrom(FILE* fp); 00052 00053 // Write to the specified file handle. 00054 virtual bool writeTo(FILE* fp); 00055 }; 00056 00057 #endif