VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainDbFactory
terrainMfRec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2000 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: terrainMfRec.h,v $ $Revision: 1.18 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef terrainMfRec_H_
9
#define terrainMfRec_H_
10
11
// \file terrainmfRec.h
12
// \brief Contains the DtTerarinMetafileRecord class declaration.
13
14
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
15
#include "
terrainDbFactory/mfRec.h
"
16
#include "
geometry/point.h
"
17
#include "
terrainDbFactory/terrainDefines.h
"
18
#include <vlutil/vlFilename.h>
19
#include <iosfwd>
20
23
class
DT_DLL_terrainDbFactory
DtTerrainMetafileRecord
:
public
DtMetafileRecord
24
{
25
26
public
:
27
29
DtTerrainMetafileRecord
();
30
32
virtual
~
DtTerrainMetafileRecord
();
33
35
DtTerrainMetafileRecord
(
const
DtTerrainMetafileRecord
& orig);
36
38
DtTerrainMetafileRecord
&
operator=
(
const
DtTerrainMetafileRecord
& orig);
39
41
virtual
const
DtFilename& filename()
const
;
42
virtual
void
setFilename(
const
DtFilename & name);
43
45
virtual
DtConfigCategoryType
recordCategory
()
const
;
46
48
virtual
const
unsigned
int
terrainType()
const
;
49
51
virtual
void
resetFileLists
();
52
54
virtual
bool
get
(std::istream& stream);
55
57
virtual
bool
processToken
(std::istream& stream,
DtString
& token);
58
59
protected
:
60
61
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
62
63
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
64
65
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
66
67
protected
:
68
71
static
const
DtString
theZone
;
72
75
static
const
DtString
theOrigin
;
76
77
static
const
DtString
theNumVertices
;
78
static
const
DtString
theNumSurfaces
;
79
static
const
DtString
theIsLargeTerrain
;
80
81
long
myZone
;
82
DtPoint
myDatabaseOrigin
;
83
bool
myOriginSet
;
84
85
DtFilename
myFile
;
86
unsigned
int
myTerrainType
;
87
};
88
89
#endif
90
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
)