VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
objectSensorDesc.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: objectSensorDesc.h,v $ $Revision: 1.14 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef objectSensorDesc_H_
15
#define objectSensorDesc_H_
16
17
#include "
vrfobjparam/compDesc.h
"
18
#include "
vrfutil/rwReal.h
"
19
#include "
vrfutil/rwBoolean.h
"
20
#include "
vrfutil/nLenIntVec.h
"
21
#include "
vrfutil/rwObjectTypeList.h
"
22
#include "
vrfutil/rwSpatialFilterContainer.h
"
23
28
#include "
vrfobjparam/vrfobjparamDefines.h
"
29
class
DT_DLL_vrfobjparam
DtObjectSensorDescriptor
:
public
DtComponentDescriptor
30
{
31
private
:
33
DtObjectSensorDescriptor
();
34
35
public
:
37
DtObjectSensorDescriptor
(
const
DtString
& name,
38
DtReaderWriterRegistry
* parentRegistry = 0);
39
41
DtObjectSensorDescriptor
(
const
DtObjectSensorDescriptor
&
42
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
43
45
DtObjectSensorDescriptor
&
operator=
(
const
46
DtObjectSensorDescriptor
& orig);
47
49
virtual
~
DtObjectSensorDescriptor
();
50
53
virtual
DtString
type
()
const
;
54
56
57
virtual
bool
detectOnlyHostileForces()
const
;
58
virtual
void
setDetectOnlyHostileForces(
bool
value);
60
62
63
virtual
void
setDetectionTypes(
const
DtRwObjectTypeList
& objectTypes);
64
virtual
DtRwObjectTypeList
& detectionTypes();
65
virtual
const
DtRwObjectTypeList
& detectionTypes()
const
;
67
69
70
virtual
void
setDetectDestroyedObjects(
bool
value);
71
virtual
bool
detectDestroyedObjects()
const
;
73
75
76
virtual
DtRwSpatialFilterContainer
* sensorGeometry();
77
virtual
const
DtRwSpatialFilterContainer
* sensorGeometry()
const
;
79
80
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
81
= 0)
const
;
82
84
static
DtComponentDescriptor
*
creator
();
85
86
virtual
void
getSelf
(DtlObjPtr args,
const
DtFilename& searchPath,
87
const
DtVariableBindingsList
& variableBindings);
88
89
protected
:
92
93
94
95
96
97
98
99
100
101
DtRwBoolean
myDetectOnlyHostileForces
;
102
106
DtRwObjectTypeList
myDetectionTypes
;
107
112
DtRwBoolean
myDetectDestroyedObjects
;
113
138
DtRwSpatialFilterContainer
mySensorGeometry
;
139
141
};
142
143
#endif
144
145
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)