VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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
convertToFlatEarth()
const
;
51
void
setConvertToFlatEarth(
bool
convert);
52
53
bool
rebalance()
const
;
54
void
setRebalance(
bool
rebalance);
55
56
unsigned
branching()
const
;
57
void
setBranching(
unsigned
branching);
58
59
unsigned
leafing()
const
;
60
void
setLeafing(
unsigned
leafing);
61
62
bool
clipVectorData()
const
;
63
void
setClipVectorData(
bool
clipVectorData);
64
65
bool
planarizeVectorData()
const
;
66
void
setPlanarizeVectorData(
bool
planarizeVectorData);
67
68
double
planarizeTolerance()
const
;
69
void
setPlanarizeTolerance(
double
planarizeTolerance);
70
71
unsigned
planarizeExcessiveEdgeCount()
const
;
72
void
setPlanarizeExcessiveEdgeCount(
unsigned
excessiveEdgeCount);
74
75
// This function returns whether or not the configuration
76
// object is properly configured or not. If any inappropriate
77
// grouping or values for arguments are detected, this will return
78
// false.
79
// \return a boolean indicating the state of the configuration object.
80
bool
validConfiguration()
const
;
81
82
virtual
bool
originSet()
const
;
83
virtual
void
setOrigin(
bool
flag);
84
85
virtual
bool
moveOrigin()
const
;
86
virtual
void
setMoveOrigin(
bool
flag);
87
88
// Note that latitude and longitude must be
89
// of the format D:M:S (degrees:minutes:seconds)
90
const
DtString
& latitude()
const
;
91
void
setLatitude(
const
DtString
& lat);
92
93
const
DtString
& longitude()
const
;
94
void
setLongitude(
const
DtString
& lon);
95
96
// Values in radians. Must be set by user as it is not
97
// set as a function of setting the string values
98
double
radiansLatitude()
const
;
99
void
setRadiansLatitude(
double
lat);
100
101
double
radiansLongitude()
const
;
102
void
setRadiansLongitude(
double
lon);
103
104
unsigned
zone()
const
;
105
void
setZone(
unsigned
zone);
106
107
private
:
108
109
bool
myReduce
;
110
double
myReductionTolerance
;
111
bool
myTriangulateTerrain
;
112
113
bool
myCollapseCSNodes
;
114
bool
myConvertToGeocentric
;
115
bool
myConvertToFlatEarth
;
116
117
bool
myRebalance
;
118
unsigned
myBranching
;
119
unsigned
myLeafing
;
120
121
bool
myClipVectorData
;
122
bool
myPlanarizeVectorData
;
123
double
myPlanarizeTolerance
;
124
unsigned
myPlanarizeExcessiveEdgeCount
;
125
126
bool
mySetOrigin
;
127
bool
myMoveOrigin
;
128
DtString
myLatitude
;
129
DtString
myLongitude
;
130
double
myRadiansLatitude
;
131
double
myRadiansLongitude
;
132
unsigned
myZone
;
133
};
134
135
136
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)