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
obstructionSensorDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: obstructionSensorDesc.h,v $ $Revision: 1.9 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtObstructionSensorDescriptor_H_
16
#define DtObstructionSensorDescriptor_H_
17
18
#include "
vrfobjparam/componentDescriptor.h
"
19
#include <
readerWriter/rwReal.h
>
20
#include "
vrfutil/rwTemplatedList.h
"
21
#include <
readerWriter/rwObjectType.h
>
22
#include "
vrfutil/rwObjectTypeList.h
"
23
#include "
vrfutil/rwVectorObstructionTypeList.h
"
24
#include "
vrfutil/rwStringList.h
"
25
#include <
readerWriter/rwBoolean.h
>
26
27
#include <list>
28
29
class
DtReaderWriterRegistry
;
30
38
#include "
vrfobjparam/vrfobjparamDefines.h
"
39
class
DT_DLL_vrfobjparam
DtObstructionSensorDescriptor
:
public
DtComponentDescriptor
40
{
41
public
:
43
DtObstructionSensorDescriptor
(
const
DtString
& name,
44
DtReaderWriterRegistry
* parentRegistry = 0);
45
47
DtObstructionSensorDescriptor
(
const
DtObstructionSensorDescriptor
& orig,
48
DtReaderWriterRegistry
* parentRegistry = 0);
49
51
DtObstructionSensorDescriptor
&
operator=
(
52
const
DtObstructionSensorDescriptor
& orig);
53
55
virtual
~
DtObstructionSensorDescriptor
();
56
59
virtual
DtString
type
()
const
;
60
63
virtual
void
setStoppingDistanceFactor(DtReal
distance
);
64
virtual
DtReal stoppingDistanceFactor()
const
;
66
69
virtual
void
setLateralClearance(DtReal distance);
70
virtual
DtReal lateralClearance()
const
;
72
75
virtual
void
setObjectTypes(
const
DtRwObjectTypeList
& objectTypes);
76
virtual
DtRwObjectTypeList
& objectTypes();
77
virtual
const
DtRwObjectTypeList
& objectTypes()
const
;
79
82
virtual
void
setFeatureTypesToAvoid(
const
DtRwStringList
& featureTypesToAvoid);
83
virtual
DtRwStringList
& featureTypesToAvoid();
84
virtual
const
DtRwStringList
& featureTypesToAvoid()
const
;
86
89
virtual
void
setCheckObstructionsIfEmbarked(
bool
);
90
virtual
bool
checkObstructionsIfEmbarked()
const
;
92
94
virtual
DtComponentDescriptor
*
clone
(
95
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
96
98
static
DtComponentDescriptor
*
creator
();
99
100
protected
:
102
DtObstructionSensorDescriptor
();
103
104
protected
:
106
110
116
DtRwReal
myLateralClearance
;
117
123
DtRwReal
myStoppingDistanceFactor
;
124
129
DtRwBoolean
myCheckObstructionsIfEmbarked
;
130
134
DtRwObjectTypeList
myObjectTypes
;
135
139
DtRwStringList
myFeatureTypesToAvoid
;
140
142
};
143
144
#endif
145
146
147
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
)