VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dtedInitializer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: dtedInit.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 #ifndef dtedInitializer_H_
9 #define dtedInitializer_H_
10 
11 #include "dted/dtedDefines.h"
13 #include <vlutil/vlFilename.h>
14 #include "geometry/color.h"
15 #include <vlutil/vlConfig.h>
16 #include <list>
17 
19 {
24 };
25 
26 //
27 // The dted metafile record has a list of individual dted files, and also a
28 // post spacing parameter, used to control the resolution of the map.
30 {
31 
32 public:
33 
34  // default constructor.
36 
37  // destructor
38  virtual ~DtDtedInitializer();
39 
40  // copy constructor
42 
43  // assignment operator
45 
46  virtual DtString type() const;
47 
48  // get/set post spacing.
49  virtual int postSpacing() const;
50  virtual void setPostSpacing(int i);
51 
52  // returns the high color
53  virtual DtColor highColor() const;
54  virtual void setHighColor(const DtColor& c);
55 
56  // returns the low color
57  virtual DtColor lowColor() const;
58  virtual void setLowColor(const DtColor& c);
59 
60  // returns the high-color height
61  virtual double highColorHeight() const;
62  virtual void setHighColorHeight(const double& d);
63 
64  // returns the low-color height
65  virtual double lowColorHeight() const;
66  virtual void setLowColorHeight(const double& d);
67 
68  // returns the flag specifying relief shading
69  virtual bool isReliefShaded() const;
70  virtual void setIsReliefShaded(bool b);
71 
72  // returns the origin latitude;
73  virtual double originLatitude() const;
74  virtual void setOriginLatitude(const double& d);
75 
76  // returns the origin longitude
77  virtual double originLongitude() const;
78  virtual void setOriginLongitude(const double& d);
79 
80  // returns the low-color height
81  virtual bool isOriginSpecified() const;
82  virtual void setIsOriginSpecified(bool b);
83 
84  // returns the max (boundary) latitude
85  virtual double maxLatitude() const;
86  virtual void setMaxLatitude(const double& d);
87 
88  // returns the min (boundary) latitude
89  virtual double minLatitude() const;
90  virtual void setMinLatitude(const double& d);
91 
92  // returns the max (boundary) longitude
93  virtual double maxLongitude() const;
94  virtual void setMaxLongitude(const double& d);
95 
96  // returns the min (boundary) longitude
97  virtual double minLongitude() const;
98  virtual void setMinLongitude(const double& d);
99 
100  // returns the flag specifying whether or not a sea rectangle is added
101  virtual bool isSeaRectangleAdded() const;
102  virtual void setIsSeaRectangleAdded(bool b);
103 
104  // Sets/gets the projection to use for data import
105  virtual DtProjectionEnum projection() const;
106  virtual void setProjection(DtProjectionEnum proj);
107 
108 protected:
109 
125 
126 };
127 
128 #endif
Definition: dtedInitializer.h:22
double myMaxLongitude
Definition: dtedInitializer.h:121
Definition: dtedInitializer.h:20
bool myIsReliefShaded
Definition: dtedInitializer.h:115
DtProjectionEnum
Definition: dtedInitializer.h:18
DtColor myHighColor
Definition: dtedInitializer.h:112
bool myIsSeaRectangleAdded
Definition: dtedInitializer.h:123
DtProjectionEnum myProjection
Definition: dtedInitializer.h:124
double myMaxLatitude
Definition: dtedInitializer.h:119
Definition: color.h:25
double myMinLongitude
Definition: dtedInitializer.h:122
bool myIsOriginSpecified
Definition: dtedInitializer.h:118
Definition: dtedInitializer.h:23
Definition: dtedInitializer.h:29
double myMinLatitude
Definition: dtedInitializer.h:120
double myHighColorHeight
Definition: dtedInitializer.h:114
Definition: dtedInitializer.h:21
double myOriginLongitude
Definition: dtedInitializer.h:117
double myOriginLatitude
Definition: dtedInitializer.h:116
int myPostSpacing
Definition: dtedInitializer.h:110
#define DT_DLL_dted
Definition: dtedDefines.h:23
DtColor myLowColor
Definition: dtedInitializer.h:111
DtTerrainFileInitializer & operator=(const DtTerrainFileInitializer &orig)
virtual DtString type() const
Definition: terrainFileInitializer.h:19
double myLowColorHeight
Definition: dtedInitializer.h:113

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)