VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainDbFactory
dfadRec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: dfadRec.h,v $ $Revision: 1.12 $ $State: Exp $
7
*******************************************************************************/
8
#ifndef dfadRec_H_
9
#define dfadRec_H_
10
11
// \file dfadRec.h
12
// \brief Contains the DtDfadMetafileRecord class declaration.
13
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
14
#include "
terrainDbFactory/vectorDataRec.h
"
15
#include <iosfwd>
16
17
//
18
// DtDfadMetafileRecord represents the parameters that can be specified in a
19
// DfadMetafileRecord, usually in a .map file, which is used to specify how and
20
// what dfad files to import into a terrain.
21
class
DT_DLL_terrainDbFactory
DtDfadMetafileRecord
:
public
DtVectorDataRecord
22
{
23
24
public
:
25
26
// default constructor.
27
DtDfadMetafileRecord
();
28
29
// destructor
30
virtual
~
DtDfadMetafileRecord
();
31
32
// copy constructor
33
DtDfadMetafileRecord
(
const
DtDfadMetafileRecord
& orig);
34
35
// assignment operator
36
DtDfadMetafileRecord
&
operator=
(
const
DtDfadMetafileRecord
& rhs);
37
38
// Returns "dfad".
39
virtual
DtString
recordTypeName
()
const
;
40
41
// Read self from stream.
42
virtual
bool
get
(std::istream& stream);
43
44
// identifies a token or passes it to the parent class.
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
theParameterFilename
;
59
static
const
DtString
theParameterImportFilename
;
60
static
const
DtString
theParameterFidSmcFilename
;
61
static
const
DtString
theParameterDfadSedrisFilename
;
62
static
const
DtString
theParameterColorFilename
;
63
static
const
DtString
theRefEllipsoidMajor
;
64
static
const
DtString
theRefEllipsoidMinor
;
65
static
const
DtString
theDatumShift
;
66
static
const
DtString
theProjectionCentralScale
;
67
static
const
DtString
theRefInverseFlattening
;
68
};
69
70
#endif
71
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
)