VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainDbFactory
gdbProcessingMetafileRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: gdbProcessingMetafileRecord.h,v $ $Revision: 1.13 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef gdbProcessingMetafileRecord_H_
9
#define gdbProcessingMetafileRecord_H_
10
11
//
12
// \file gdbProcessingMfRecord.h
13
// \brief Contains the DtGdbProcessingMetafileRecord class description.
14
//
15
16
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
17
#include "
terrainDbFactory/mfRec.h
"
18
#include <iosfwd>
19
#include "
gdb/terrainDatabaseToolConfiguration.h
"
20
21
// The DtGdbProcessingMetafileRecord is a metafile record that allows users
22
// to specify in a .map file what post-processing to perform, and how, after
23
// loading a gdb file or importing data into gdb format. This is different from
24
// the other metafile records in that it does not deal with loading/importing at
25
// all, but rather specifies post-processing options, performed after load/import
26
// are complete.
27
class
DT_DLL_terrainDbFactory
DtGdbProcessingMetafileRecord
:
public
DtMetafileRecord
28
{
29
30
public
:
31
32
// default constructor.
33
DtGdbProcessingMetafileRecord
();
34
35
// destructor
36
virtual
~
DtGdbProcessingMetafileRecord
();
37
38
// copy constructor
39
DtGdbProcessingMetafileRecord
(
const
DtGdbProcessingMetafileRecord
& orig);
40
41
// assignment operator
42
DtGdbProcessingMetafileRecord
&
operator=
(
const
DtGdbProcessingMetafileRecord
& orig);
43
44
// Returns DtConfigTerrainProcessType
45
virtual
DtConfigCategoryType
recordCategory
()
const
;
46
47
// Returns the type name for the particular record.
48
// In this case, "gdbProcessing"
49
virtual
DtString
recordTypeName
()
const
;
50
51
virtual
DtTerrainDatabaseToolConfiguration
terrainDbConfig()
const
;
52
virtual
void
setTerrainDbConfig(
53
const
DtTerrainDatabaseToolConfiguration
& newTerrainDbConfig);
54
55
// Read self from stream.
56
virtual
bool
get
(std::istream& stream);
57
58
// identifies a token or passes it to the parent class.
59
virtual
bool
processToken
(std::istream& stream,
DtString
& token);
60
61
static
DtMetafileRecord
* create();
62
63
protected
:
64
// Write self to stream.
65
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
66
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
67
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
68
69
protected
:
70
71
static
const
DtString
theEnableSpatialSubdivision
;
72
static
const
DtString
theSsXresolution
;
73
static
const
DtString
theSsYresolution
;
74
static
const
DtString
theSsZresolution
;
75
static
const
DtString
theBalanceTerrain
;
76
static
const
DtString
theLeafingFactor
;
77
static
const
DtString
theBranchingFactor
;
78
static
const
DtString
theReduceTerrain
;
79
static
const
DtString
theReductionTolerance
;
80
static
const
DtString
theCollapseCoordinateSystemNodes
;
81
static
const
DtString
theConvertToGeocentric
;
82
static
const
DtString
theClipVectorData
;
83
static
const
DtString
thePlanarizeVectorData
;
84
static
const
DtString
thePlanarizeTolerance
;
85
static
const
DtString
thePlanarizeExcessiveEdgeCount
;
86
87
DtTerrainDatabaseToolConfiguration
myTerrainDbToolConfiguration
;
88
};
89
90
#endif
91
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
)