VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
terrainDbFactory
dtedMetafileRecord.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: dtedMfRec.h,v $ $Revision: 1.13 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef dtedMetafileRecord_H_
9
#define dtedMetafileRecord_H_
10
11
// \file dtedMfRec.h
12
// \brief Contains the DtDtedMetafileRecord class declaration.
13
14
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
15
#include "
terrainDbFactory/terrainMetafileRecord.h
"
16
17
// The dted metafile record has a list of individual dted files, and also a
18
// post spacing parameter, used to control the resolution of the map.
19
class
DT_DLL_terrainDbFactory
DtDtedMetafileRecord
:
public
DtTerrainMetafileRecord
20
{
21
22
public
:
23
24
// default constructor.
25
DtDtedMetafileRecord
();
26
27
// destructor
28
virtual
~
DtDtedMetafileRecord
();
29
30
// copy constructor
31
DtDtedMetafileRecord
(
const
DtDtedMetafileRecord
& orig);
32
33
// assignment operator
34
DtDtedMetafileRecord
&
operator=
(
const
DtDtedMetafileRecord
& orig);
35
36
// Returns "dted".
37
virtual
DtString
recordTypeName
()
const
;
38
39
// Read self from stream.
40
virtual
bool
get
(std::istream&
stream
);
41
42
// identifies a token or passes it to the parent class.
43
virtual
bool
processToken
(std::istream&
stream
,
DtString
& token);
44
45
static
DtMetafileRecord
* create();
46
47
protected
:
48
49
// Write self to stream.
50
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
51
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
52
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
53
54
protected
:
55
56
static
const
DtString
theParameterPostSpacing
;
57
static
const
DtString
theIsProjected
;
58
static
const
DtString
theProjection
;
59
static
const
DtString
theIsTriangulated
;
60
static
const
DtString
theParameterFile
;
61
static
const
DtString
theLowColor
;
62
static
const
DtString
theHighColor
;
63
static
const
DtString
theLowColorHeight
;
64
static
const
DtString
theHighColorHeight
;
65
static
const
DtString
theIsReliefShaded
;
66
static
const
DtString
theOrigin
;
67
static
const
DtString
theMinMaxLatitude
;
68
static
const
DtString
theMinMaxLongitude
;
69
static
const
DtString
theIsSeaRectangleAdded
;
70
71
};
72
73
#endif
74
DtDtedMetafileRecord::theLowColor
static const DtString theLowColor
Definition:
dtedMetafileRecord.h:61
terrainDbFactoryDefines.h
DtTerrainMetafileRecord::getAttribute
virtual bool getAttribute(const DtString attrName, DtString &value, unsigned index=0)
Given the name of a record's attribute, returns its value in the 'value' parameter. Returns True if successful; false otherwise.
DtTerrainMetafileRecord::setToken
virtual bool setToken(const DtString &token, const DtString value)
identifies a token and returns true if the value can be set to it, false otherwise ...
DtDtedMetafileRecord::theOrigin
static const DtString theOrigin
Definition:
dtedMetafileRecord.h:66
DtDtedMetafileRecord::theHighColorHeight
static const DtString theHighColorHeight
Definition:
dtedMetafileRecord.h:64
DtDtedMetafileRecord::theParameterFile
static const DtString theParameterFile
Definition:
dtedMetafileRecord.h:60
DtMetafileRecord::recordTypeName
virtual DtString recordTypeName() const =0
Returns the type name for the particular record. Descendants should have this method return some stri...
DtTerrainMetafileRecord::writeAttributes
virtual bool writeAttributes(std::ostream &stream) const
Write attributes to stream. This is called by put(stream)
DtTerrainMetafileRecord::processToken
virtual bool processToken(std::istream &stream, DtString &token)
Identifies a token or passes it to the parent class.
terrainMetafileRecord.h
DtDtedMetafileRecord::theLowColorHeight
static const DtString theLowColorHeight
Definition:
dtedMetafileRecord.h:63
DT_DLL_terrainDbFactory
#define DT_DLL_terrainDbFactory
Definition:
terrainDbFactoryDefines.h:23
DtDtedMetafileRecord::theProjection
static const DtString theProjection
Definition:
dtedMetafileRecord.h:58
stream
voidpf stream
Definition:
ioapi.h:39
DtDtedMetafileRecord::theIsTriangulated
static const DtString theIsTriangulated
Definition:
dtedMetafileRecord.h:59
DtMetafileRecord
Definition:
metafileRecord.h:28
DtDtedMetafileRecord::theParameterPostSpacing
static const DtString theParameterPostSpacing
Definition:
dtedMetafileRecord.h:56
DtDtedMetafileRecord::theIsSeaRectangleAdded
static const DtString theIsSeaRectangleAdded
Definition:
dtedMetafileRecord.h:69
DtDtedMetafileRecord::theMinMaxLatitude
static const DtString theMinMaxLatitude
Definition:
dtedMetafileRecord.h:67
DtDtedMetafileRecord::theIsProjected
static const DtString theIsProjected
Definition:
dtedMetafileRecord.h:57
DtTerrainMetafileRecord
This is the abstract base class for all terrain records in a metafile.
Definition:
terrainMetafileRecord.h:23
DtString
DtDtedMetafileRecord
Definition:
dtedMetafileRecord.h:19
DtTerrainMetafileRecord::operator=
DtTerrainMetafileRecord & operator=(const DtTerrainMetafileRecord &orig)
assignment operator
DtDtedMetafileRecord::theIsReliefShaded
static const DtString theIsReliefShaded
Definition:
dtedMetafileRecord.h:65
DtDtedMetafileRecord::theMinMaxLongitude
static const DtString theMinMaxLongitude
Definition:
dtedMetafileRecord.h:68
DtDtedMetafileRecord::theHighColor
static const DtString theHighColor
Definition:
dtedMetafileRecord.h:62
Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (
www.mak.com
)