VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainDbFactory
3DViewMfRec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1998 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: 3DViewMfRec.h,v $ $Revision: 1.1 $ $State: Exp $
7
** Created: 11/25/07 JAT, Updated:
8
*******************************************************************************/
9
#ifndef ThreeDViewMfRec_H_
10
#define ThreeDViewMfRec_H_
11
12
#include "
terrainDbFactory/terrainDbFactoryDefines.h
"
13
#include "
terrainDbFactory/terrainMfRec.h
"
14
15
// The Dt3DViewMetafileRecord record specifies the terrain file(s) to load by 3DVRForces.
16
class
DT_DLL_terrainDbFactory
Dt3DViewMetafileRecord
:
public
DtMetafileRecord
17
{
18
19
public
:
20
22
Dt3DViewMetafileRecord
();
23
25
virtual
~
Dt3DViewMetafileRecord
();
26
28
Dt3DViewMetafileRecord
(
const
Dt3DViewMetafileRecord
& orig);
29
31
Dt3DViewMetafileRecord
&
operator=
(
const
Dt3DViewMetafileRecord
& orig);
32
34
virtual
DtString
recordTypeName
()
const
;
35
37
virtual
DtConfigCategoryType
recordCategory
()
const
;
38
40
virtual
const
DtFilename& filename()
const
;
41
43
virtual
void
setFilename(
const
DtFilename & name);
44
46
virtual
bool
get
(std::istream& stream);
47
49
virtual
bool
processToken
(std::istream& stream,
DtString
& token);
50
51
static
DtMetafileRecord
* create();
52
53
protected
:
54
55
// Write self to stream.
56
virtual
bool
writeAttributes
(std::ostream& stream)
const
;
57
virtual
bool
getAttribute
(
const
DtString
attrName,
DtString
& value,
unsigned
index=0);
58
virtual
bool
setToken
(
const
DtString
& token,
const
DtString
value);
59
60
protected
:
61
62
static
const
DtString
theParameterFile
;
63
DtFilename
myFile
;
64
65
};
66
67
#endif
68
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
)