VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
dted
dtedInit.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 dtedInit_H_
9
#define dtedInit_H_
10
11
#include "
dted/dtedDefines.h
"
12
#include "
gdb/terrainFileInitializer.h
"
13
#include <vlutil/vlFilename.h>
14
#include "
geometry/gdbColor.h
"
15
#include <vlutil/vlConfig.h>
16
#include <list>
17
18
enum
DtProjectionEnum
19
{
20
DtUndefinedProjection
,
21
DtGeodeticProjection
,
22
DtUtmProjection
,
23
DtFlatEarthProjection
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.
29
class
DT_DLL_dted
DtDtedInitializer
:
public
DtTerrainFileInitializer
30
{
31
32
public
:
33
34
// default constructor.
35
DtDtedInitializer
();
36
37
// destructor
38
virtual
~
DtDtedInitializer
();
39
40
// copy constructor
41
DtDtedInitializer
(
const
DtDtedInitializer
& orig);
42
43
// assignment operator
44
DtDtedInitializer
&
operator=
(
const
DtDtedInitializer
& orig);
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
110
int
myPostSpacing
;
111
DtColor
myLowColor
;
112
DtColor
myHighColor
;
113
double
myLowColorHeight
;
114
double
myHighColorHeight
;
115
bool
myIsReliefShaded
;
116
double
myOriginLatitude
;
117
double
myOriginLongitude
;
118
bool
myIsOriginSpecified
;
119
double
myMaxLatitude
;
120
double
myMinLatitude
;
121
double
myMaxLongitude
;
122
double
myMinLongitude
;
123
bool
myIsSeaRectangleAdded
;
124
DtProjectionEnum
myProjection
;
125
126
};
127
128
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)