VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
serializableFlatEarthCS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2025 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() override;
43 
44  // assignment operator
46 
47  // Clone operator
48  virtual Coordinate_System *clone() const override;
49 
50  // Read from the specified file handle.
51  virtual bool readFrom(FILE *fp) override;
52 
53  // Write to the specified file handle.
54  virtual bool writeTo(FILE *fp) override;
55 };
56 
57 #endif
Definition: flatEarthCS.h:21
Definition: coordSystem.h:54
Definition: serializableFlatEarthCS.h:23
DtFlatEarthCS & operator=(const DtFlatEarthCS &orig)
virtual bool writeTo(FILE *fp)=0
virtual Coordinate_System * clone() const override
Definition: serializable.h:30
#define DT_DLL_terrainCS
Definition: terrainCSDefines.h:23
virtual bool readFrom(FILE *fp)=0

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)