VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
serializableFlatEarthCS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: serFlatEarthCrdSys.h,v $ $Revision: 1.6 $ $State: Exp $
7 *********************************************************************/
8 #ifndef serializableFlatEarthCS_H_
9 #define serializableFlatEarthCS_H_
10 
11 //
12 // \file serFlatEarthCrdSys.h Contains the serializable flat earth coordinate system class declaration.
13 //
14 
16 #include <stdio.h>
17 #include "tdbutil/serializable.h"
18 #include "terrainCS/flatEarthCS.h"
19 
20 //
21 // DtSerializableFlatEarthCS is a serializable version of the DtFlatEarthCS.
22 //
24 {
25 public:
26  // constructor
27  DtSerializableFlatEarthCS(double refLatitude,
28  double refLongitude,
29  bool setUseDynamicSceneOrigin = false,
30  double dynamicSceneOriginDeadband = 0.0);
31 
32  DtSerializableFlatEarthCS(bool setUseDynamicSceneOrigin = false,
33  double dynamicSceneOriginDeadband = 0.0);
34 
35  // constructor
36  DtSerializableFlatEarthCS(FILE* fp);
37 
38  // copy constructor
40 
41  // destructor
42  virtual ~DtSerializableFlatEarthCS();
43 
44  // assignment operator
46 
47  // Clone operator
48  virtual Coordinate_System* clone() const;
49 
50  // Read from the specified file handle.
51  virtual bool readFrom(FILE* fp);
52 
53  // Write to the specified file handle.
54  virtual bool writeTo(FILE* fp);
55 };
56 
57 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)