VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
terrainDbFactory
asciiMetafileRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: asciiMfRec.h,v $ $Revision: 1.13 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef asciiMetafileRecord_H_
9
#define asciiMetafileRecord_H_
10
11
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
12
#include "
terrainDbFactory/terrainMetafileRecord.h
"
13
#include <vlutil/vlFilename.h>
14
#include <iosfwd>
15
16
17
//
18
// The ascii metafile record has a list of individual ascii files, and also a
19
// post spacing parameter, used to control the resolution of the map.
20
class
DT_DLL_terrainDbFactory
DtAsciiMetafileRecord
:
public
DtTerrainMetafileRecord
21
{
22
23
public
:
24
25
// default constructor.
26
DtAsciiMetafileRecord
();
27
28
// destructor
29
virtual
~
DtAsciiMetafileRecord
();
30
31
// copy constructor
32
DtAsciiMetafileRecord
(
const
DtAsciiMetafileRecord
& orig);
33
34
// assignment operator
35
DtAsciiMetafileRecord
&
operator=
(
const
DtAsciiMetafileRecord
& orig);
36
37
// Returns "ascii".
38
virtual
DtString
recordTypeName
()
const
;
39
40
// Read self from stream.
41
virtual
bool
get
(std::istream&
stream
);
42
43
// reads in the next value from the stream and associates it with
44
// the token.
45
virtual
bool
processToken
(std::istream&
stream
,
DtString
& token);
46
47
static
DtMetafileRecord
* create();
48
49
protected
:
50
51
// Write self to stream.
52
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
53
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
54
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
55
56
protected
:
57
58
static
const
DtString
theParameterPostSpacing
;
59
static
const
DtString
theIsTriangulated
;
60
static
const
DtString
theIsProjected
;
61
static
const
DtString
theTriangles
;
62
static
const
DtString
theVertices
;
63
static
const
DtString
theOrigin
;
64
static
const
DtString
theMinMaxLatitude
;
65
static
const
DtString
theMinMaxLongitude
;
66
static
const
DtString
theIsSeaRectangleAdded
;
67
static
const
DtString
theFilename
;
68
static
const
DtString
theThreshold
;
69
static
const
DtString
theFilesConfiguration
;
70
static
const
DtString
theHasSoilTypes
;
71
static
const
DtString
theIndexFromZero
;
72
};
73
74
#endif
75
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)