VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
roadMovementDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjparam/componentDescriptor.h
"
14
#include <
readerWriter/rwBoolean.h
>
15
#include <
readerWriter/rwObjectType.h
>
16
#include "
vrfutil/rwObjectTypeList.h
"
17
#include "
vrfutil/rwUnsigned.h
"
18
19
class
DtReaderWriterRegistry
;
20
23
#include "
vrfobjparam/vrfobjparamDefines.h
"
24
class
DT_DLL_vrfobjparam
DtRoadMovementDescriptor
:
public
DtComponentDescriptor
25
{
26
public
:
28
DtRoadMovementDescriptor
(
const
DtString
& name,
DtReaderWriterRegistry
*
29
parentRegistry = 0);
30
32
DtRoadMovementDescriptor
(
const
DtRoadMovementDescriptor
& orig,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
DtRoadMovementDescriptor
&
operator=
(
const
37
DtRoadMovementDescriptor
& orig);
38
40
virtual
~
DtRoadMovementDescriptor
();
41
44
virtual
DtString
type
()
const
;
45
48
virtual
bool
useGroundClamping()
const
;
49
virtual
void
setUseGroundCamping(
bool
doUse);
51
54
virtual
bool
useHighFidelityGroundClamping()
const
;
55
virtual
void
setUseHighFidelityGroundClamping(
bool
yesOrNo);
57
61
virtual
const
double
convoyFollowSpeedFactor()
const
;
62
virtual
void
setConvoyFollowSpeedFactor(
const
double
factor);
64
67
virtual
void
setPassableObjectTypes(
const
DtRwObjectTypeList
& objectTypes);
68
virtual
DtRwObjectTypeList
& passableObjectTypes();
69
virtual
const
DtRwObjectTypeList
& passableObjectTypes()
const
;
71
74
virtual
void
setExtraLanesEachDirection(
unsigned
);
75
virtual
unsigned
extraLanesEachDirection()
const
;
77
78
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
79
= 0)
const
;
80
82
static
DtComponentDescriptor
*
creator
();
83
84
protected
:
86
DtRoadMovementDescriptor
();
87
88
protected
:
89
93
101
DtRwBoolean
myClampToGround
;
102
117
DtRwBoolean
myUseHighFidelityGroundClamping
;
118
124
DtRwReal
myConvoySpeedFactor
;
125
129
DtRwObjectTypeList
myPassableObjectTypes
;
130
134
DtRwUnsigned
myExtraLanes
;
135
137
};
138
139
140
141
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)