VR-Forces 4.0.4 Class Documentation
include/terrainCS/serFlatEarthCrdSys.h
Go to the documentation of this file.
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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)