VR-Forces 4.5 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
terrainDbFactory
fltMetafileRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: fltMfRec.h,v $ $Revision: 1.17 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef fltMetafileRecord_H_
9
#define fltMetafileRecord_H_
10
11
// \file fltMfRec.h
12
// \brief Contains the DtFltMetafileRecord class declaration.
13
14
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
15
#include "
terrainDbFactory/terrainMetafileRecord.h
"
16
#include <iosfwd>
17
18
//
19
// DtFltMetafileRecord represents the parameters that can be specified in a
20
// DtFltMetafileRecord, usually in a .map file, which is used to specify how and
21
// what OpenFlight files to import into a terrain.
22
class
DT_DLL_terrainDbFactory
DtFltMetafileRecord
:
public
DtTerrainMetafileRecord
23
{
24
25
public
:
26
27
// default constructor.
28
DtFltMetafileRecord
();
29
30
// destructor
31
virtual
~
DtFltMetafileRecord
();
32
33
// copy constructor
34
DtFltMetafileRecord
(
const
DtFltMetafileRecord
& orig);
35
36
// assignment operator
37
DtFltMetafileRecord
&
operator=
(
const
DtFltMetafileRecord
& orig);
38
39
// Returns "flt".
40
virtual
DtString
recordTypeName
()
const
;
41
42
// Read self from stream.
43
virtual
bool
get
(std::istream&
stream
);
44
45
// identifies a token or passes it to the parent class.
46
virtual
bool
processToken
(std::istream&
stream
,
DtString
& token);
47
48
static
DtMetafileRecord
* create();
49
50
protected
:
51
52
// Write self to stream.
53
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
54
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
55
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
56
57
protected
:
58
59
static
const
DtString
theParameterFile
;
60
static
const
DtString
theRefEllipsoidMajor
;
61
static
const
DtString
theRefEllipsoidMinor
;
62
static
const
DtString
theDatumShift
;
63
static
const
DtString
theProjectionCentralScale
;
64
static
const
DtString
theNumberOfExternalLevelsToKeep
;
65
static
const
DtString
theLodDistance
;
66
static
const
DtString
theLowLodDistance
;
67
static
const
DtString
theRefInverseFlattening
;
68
static
const
DtString
theUsePath
;
69
static
const
DtString
theDefaultSwitchNodeChildIndex
;
70
};
71
72
#endif
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)