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
vrfplan
switchDynamicTerrainAtPointCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfplan/simCommand.h
"
12
#include "
vrfplan/vrfplanDefines.h
"
13
#include "
vrfutil/rwVector.h
"
14
#include "
vrfutil/rwStringList.h
"
15
#include "
vrfutil/rwBoolean.h
"
16
21
class
DT_DLL_vrfplan
DtSwitchDynamicTerrainAtPointCommand
:
public
DtSimCommand
22
{
23
public
:
24
26
DtSwitchDynamicTerrainAtPointCommand
();
27
29
DtSwitchDynamicTerrainAtPointCommand
(
const
DtString
& writeName,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
33
DtSwitchDynamicTerrainAtPointCommand
(
const
DtString
& writeName,
const
DtSwitchDynamicTerrainAtPointCommand
& orig,
34
DtReaderWriterRegistry
* parentRegistry = NULL);
35
37
virtual
~
DtSwitchDynamicTerrainAtPointCommand
();
38
40
DtSwitchDynamicTerrainAtPointCommand
&
operator=
(
const
DtSwitchDynamicTerrainAtPointCommand
& orig);
41
43
44
virtual
void
setStartPoint(
const
DtVector
& location);
45
virtual
DtVector
startPoint()
const
;
47
49
50
virtual
void
setEndPoint(
const
DtVector
& location);
51
virtual
DtVector
endPoint()
const
;
53
56
57
virtual
void
setChangeableTypes(
const
DtRwStringList
& changeTypes);
58
virtual
const
DtRwStringList
& changeableTypes()
const
;
59
virtual
void
addChangeableType(
const
DtString
& changeType);
61
64
65
virtual
void
setUnchangeableTypes(
const
DtRwStringList
& changeTypes);
66
virtual
const
DtRwStringList
& unchangeableTypes()
const
;
67
virtual
void
addUnchangeableType(
const
DtString
& changeType);
69
73
virtual
bool
isChangeableType(
const
DtString
& changeType)
const
;
74
77
78
virtual
void
setSwitchAllOnChord(
bool
switchAll);
79
virtual
bool
switchAllOnChord()
const
;
81
82
virtual
const
DtSimCommandMessageType
&
type
()
const
;
83
84
virtual
DtSimCommand
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
85
87
virtual
DtString
stringRep
()
const
;
88
90
virtual
int
netRepSize
()
const
;
91
93
virtual
bool
setFromNet
(
const
char
* contentBuffer,
94
unsigned
contentSize);
95
97
virtual
bool
setToNet
();
98
100
static
DtSimCommand
* creator();
101
102
protected
:
103
DtRwVector
myStartPoint
;
104
DtRwVector
myEndPoint
;
105
DtRwStringList
myChangeableTypes
;
106
DtRwStringList
myUnchangeableTypes
;
107
DtRwBoolean
mySwitchAllOnChord
;
108
};
109
110
111
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
)