VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
gdb
terrainDatabaseToolConfiguration.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: terrainDatabaseToolConfiguration.h,v $ $Revision: 1.8 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef terrainDatabaseToolConfiguration_H_
9
#define terrainDatabaseToolConfiguration_H_
10
11
//
12
// \file tdbToolConfiguration.h
13
// \brief Contains the DtTerrainDatabaseToolConfiguration class declaration.
14
//
15
16
#include "
gdb/gdbDefines.h
"
17
#include <vlutil/vlConfig.h>
18
#include <vlutil/vlFilename.h>
19
#include <vector>
20
21
// The DtTerrainDatabaseToolConfiguration contains all the configuration information
22
// for the terrain database tool to process a terrain database.
23
//
24
class
DT_DLL_gdb
DtTerrainDatabaseToolConfiguration
25
{
26
public
:
27
28
DtTerrainDatabaseToolConfiguration
();
29
30
virtual
~
DtTerrainDatabaseToolConfiguration
();
31
32
// \name Accessor functions for the configuration object
34
35
bool
reduce()
const
;
36
void
setReduce(
bool
reduce);
37
38
bool
triangulateTerrain()
const
;
39
void
setTriangulateTerrain(
bool
yesNo);
40
41
double
reductionTolerance()
const
;
42
void
setReductionTolerance(
double
tolerance);
43
44
bool
collapseCSNodes()
const
;
45
void
setCollapseCSNodes(
bool
collapse);
46
47
bool
convertToGeocentric()
const
;
48
void
setConvertToGeocentric(
bool
convert);
49
50
bool
convertToGeodetic()
const
;
51
void
setConvertToGeodetic(
bool
convert);
52
53
bool
convertToFlatEarth()
const
;
54
void
setConvertToFlatEarth(
bool
convert);
55
56
bool
rebalance()
const
;
57
void
setRebalance(
bool
rebalance);
58
59
unsigned
branching()
const
;
60
void
setBranching(
unsigned
branching);
61
62
unsigned
leafing()
const
;
63
void
setLeafing(
unsigned
leafing);
64
65
bool
clipVectorData()
const
;
66
void
setClipVectorData(
bool
clipVectorData);
67
68
bool
planarizeVectorData()
const
;
69
void
setPlanarizeVectorData(
bool
planarizeVectorData);
70
71
double
planarizeTolerance()
const
;
72
void
setPlanarizeTolerance(
double
planarizeTolerance);
73
74
unsigned
planarizeExcessiveEdgeCount()
const
;
75
void
setPlanarizeExcessiveEdgeCount(
unsigned
excessiveEdgeCount);
77
78
// This function returns whether or not the configuration
79
// object is properly configured or not. If any inappropriate
80
// grouping or values for arguments are detected, this will return
81
// false.
82
// \return a boolean indicating the state of the configuration object.
83
bool
validConfiguration()
const
;
84
85
virtual
bool
originSet()
const
;
86
virtual
void
setOrigin(
bool
flag);
87
88
virtual
bool
moveOrigin()
const
;
89
virtual
void
setMoveOrigin(
bool
flag);
90
91
// Note that latitude and longitude must be
92
// of the format D:M:S (degrees:minutes:seconds)
93
const
DtString
& latitude()
const
;
94
void
setLatitude(
const
DtString
& lat);
95
96
const
DtString
& longitude()
const
;
97
void
setLongitude(
const
DtString
& lon);
98
99
// Values in radians. Must be set by user as it is not
100
// set as a function of setting the string values
101
double
radiansLatitude()
const
;
102
void
setRadiansLatitude(
double
lat);
103
104
double
radiansLongitude()
const
;
105
void
setRadiansLongitude(
double
lon);
106
107
unsigned
zone()
const
;
108
void
setZone(
unsigned
zone);
109
110
private
:
111
112
bool
myReduce
;
113
double
myReductionTolerance
;
114
bool
myTriangulateTerrain
;
115
116
bool
myCollapseCSNodes
;
117
bool
myConvertToGeocentric
;
118
bool
myConvertToGeodetic
;
119
bool
myConvertToFlatEarth
;
120
121
bool
myRebalance
;
122
unsigned
myBranching
;
123
unsigned
myLeafing
;
124
125
bool
myClipVectorData
;
126
bool
myPlanarizeVectorData
;
127
double
myPlanarizeTolerance
;
128
unsigned
myPlanarizeExcessiveEdgeCount
;
129
130
bool
mySetOrigin
;
131
bool
myMoveOrigin
;
132
DtString
myLatitude
;
133
DtString
myLongitude
;
134
double
myRadiansLatitude
;
135
double
myRadiansLongitude
;
136
unsigned
myZone
;
137
};
138
139
140
#endif
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)