VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
19 #include <readerWriter/rwReal.h>
24 #include "vrfutil/rwStringList.h"
25 #include <readerWriter/rwBoolean.h>
26 
27 #include <list>
28 
30 
40 {
41 public:
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
48  DtReaderWriterRegistry* parentRegistry = 0);
49 
52  const DtObstructionSensorDescriptor & orig);
53 
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 
95  DtReaderWriterRegistry* parentRegistry = 0) const;
96 
99 
100 protected:
103 
104 protected:
106 
110 
117 
124 
130 
135 
140 
142 };
143 
144 #endif
145 
146 
147 
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwReal myLateralClearance
Parameter Name: lateral-clearance Parameter Description: Width added to the length of the bounding vo...
Definition: obstructionSensorDescriptor.h:116
DtRwStringList myFeatureTypesToAvoid
Parameter Name: feature-types-to-avoid Parameter Description: Types of features to avoid Parameter De...
Definition: obstructionSensorDescriptor.h:139
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
DtRwBoolean myCheckObstructionsIfEmbarked
Parameter Name: check-obstructions-if-embarked Parameter Description: Flag indicating whether or not ...
Definition: obstructionSensorDescriptor.h:129
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtObstructionSensorDescriptor is a DtComponentDescriptor that has the name of the DtObstructionSensor...
Definition: obstructionSensorDescriptor.h:39
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwObjectTypeList myObjectTypes
Parameter Name: object-types Parameter Description: Object types to treat as potential obstructions...
Definition: obstructionSensorDescriptor.h:134
Definition: rwStringList.h:20
DtRwReal myStoppingDistanceFactor
Parameter Name: stopping-distance-factor Parameter Description: Factor by which the collision avoidan...
Definition: obstructionSensorDescriptor.h:123

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)