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
vrfobjcore
rwDynamicTerrainItem.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
9
10
#pragma once
11
12
#include "
vrfobjcore/vrfobjcoreDefines.h
"
13
#include "
vrfutil/templatedDecoders.h
"
14
#include "
vrfutil/rwTemplatedList.h
"
15
#include "
vrfutil/rwVector.h
"
16
#include "
vrfutil/rwReal.h
"
17
#include "
vrfutil/rwInt.h
"
18
#include "
vrfutil/rwKeyValueList.h
"
19
#include "
vrfutil/rwVectorList.h
"
20
#include "
vrfExtObjects/terrainGeometryAndData.h
"
21
24
class
DT_DLL_vrfobjcore
DtRwDynamicTerrainItem
:
public
DtReaderWriter
,
public
DtTerrainGeometryAndData
25
{
26
public
:
27
DtRwDynamicTerrainItem
(
const
DtString
& name = DtString::nullString(),
28
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
29
31
virtual
~
DtRwDynamicTerrainItem
();
32
34
DtRwDynamicTerrainItem
(
const
DtRwDynamicTerrainItem
& orig,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
DtRwDynamicTerrainItem
(
const
DtString
& name,
39
const
DtRwDynamicTerrainItem
& orig,
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtRwDynamicTerrainItem
(
const
DtString
& name,
44
const
DtTerrainGeometryAndData
& orig,
45
DtReaderWriterRegistry
* parentRegistry = NULL);
46
48
DtRwDynamicTerrainItem
&
operator=
(
const
DtRwDynamicTerrainItem
& orig);
49
DtRwDynamicTerrainItem
&
operator=
(
const
DtTerrainGeometryAndData
& orig);
50
51
bool
operator==
(
const
DtRwDynamicTerrainItem
& rhs)
const
;
52
56
virtual
const
char
*
readerWriterType
()
const
;
57
59
virtual
void
prepareForOutput();
60
62
virtual
void
updateAfterInput();
63
64
protected
:
65
67
virtual
void
prePutSelf
();
68
70
virtual
void
postGetSelf
();
71
72
protected
:
73
74
DtRwInt
myGeometryTypeToSave
;
75
76
DtRwVector
myLocationToSave
;
77
DtRwReal
myRadiusToSave
;
78
79
DtRwVectorList
myVerticesToSave
;
80
DtRwReal
myWidthToSave
;
81
82
DtRwInt
myPriorityToSave
;
83
DtRwInt
myEventNumberToSave
;
84
DtRwKeyValueList
myDataToSave
;
85
};
86
87
typedef
DtRwTemplatedListPtr<DtRwDynamicTerrainItem, true>
DtRwDynamicTerrainItemList
;
88
89
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
)