VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
obstructionSensorDesc.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/compDesc.h
"
19
#include "
vrfutil/rwReal.h
"
20
#include "
vrfutil/rwTemplatedList.h
"
21
#include "
vrfutil/rwObjType.h
"
22
#include "
vrfutil/rwObjectTypeList.h
"
23
#include "
vrfutil/rwVectorObstructionTypeList.h
"
24
#include "
vrfutil/rwBoolean.h
"
25
26
#include <list>
27
28
class
DtReaderWriterRegistry
;
29
37
#include "
vrfobjparam/vrfobjparamDefines.h
"
38
class
DT_DLL_vrfobjparam
DtObstructionSensorDescriptor
:
public
DtComponentDescriptor
39
{
40
public
:
42
DtObstructionSensorDescriptor
(
const
DtString
& name,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
DtObstructionSensorDescriptor
(
const
DtObstructionSensorDescriptor
& orig,
47
DtReaderWriterRegistry
* parentRegistry = 0);
48
50
DtObstructionSensorDescriptor
&
operator=
(
51
const
DtObstructionSensorDescriptor
& orig);
52
54
virtual
~
DtObstructionSensorDescriptor
();
55
58
virtual
DtString
type
()
const
;
59
62
virtual
void
setStoppingDistanceFactor(DtReal
distance
);
63
virtual
DtReal stoppingDistanceFactor()
const
;
65
68
virtual
void
setLateralClearance(DtReal distance);
69
virtual
DtReal lateralClearance()
const
;
71
74
virtual
void
setObjectTypes(
const
DtRwObjectTypeList
& objectTypes);
75
virtual
DtRwObjectTypeList
& objectTypes();
76
virtual
const
DtRwObjectTypeList
& objectTypes()
const
;
78
81
virtual
void
setFeatureTypesToAvoid(
const
DtRwStringList
& featureTypesToAvoid);
82
virtual
DtRwStringList
& featureTypesToAvoid();
83
virtual
const
DtRwStringList
& featureTypesToAvoid()
const
;
85
88
virtual
void
setCheckObstructionsIfEmbarked(
bool
);
89
virtual
bool
checkObstructionsIfEmbarked()
const
;
91
93
virtual
DtComponentDescriptor
*
clone
(
94
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
95
97
static
DtComponentDescriptor
*
creator
();
98
99
protected
:
101
DtObstructionSensorDescriptor
();
102
103
protected
:
105
109
115
DtRwReal
myLateralClearance
;
116
122
DtRwReal
myStoppingDistanceFactor
;
123
128
DtRwBoolean
myCheckObstructionsIfEmbarked
;
129
133
DtRwObjectTypeList
myObjectTypes
;
134
138
DtRwStringList
myFeatureTypesToAvoid
;
139
141
};
142
143
#endif
144
145
146
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
)