VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundCollisionAvoidanceDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2000 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: gndCollDesc.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtGroundCollisionAvoidanceDescriptor_H_
16 #define DtGroundCollisionAvoidanceDescriptor_H_
17 
18 
20 #include <readerWriter/rwString.h>
21 #include <readerWriter/rwReal.h>
22 
24 
36 {
37 public:
40  DtReaderWriterRegistry* parentRegistry = NULL);
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
51 
54 
57  virtual DtString type() const;
58 
61  virtual DtReal stoppingDistanceFactor() const;
62  virtual void setStoppingDistanceFactor(DtReal distance);
64 
67  virtual DtReal lateralClearance() const ;
68  virtual void setLateralClearance(DtReal distance);
70 
73  virtual DtReal timeToCollide() const;
74  virtual void setTimeToCollide(DtReal frames);
76 
78  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const;
79 
82 
83 protected:
86 
87 protected:
88 
92 
101 
108 
116 
118 
119 };
120 
121 #endif
122 
123 
124 
DtRwReal myLateralClearance
Parameter Name: lateral-clearance Parameter Description: The width (in meters) added to the length of...
Definition: groundCollisionAvoidanceDescriptor.h:107
DtGroundCollisionControllerDescriptor is a kind of DtComponentDescriptor containing parameters for a ...
Definition: groundCollisionAvoidanceDescriptor.h:35
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myTimeToCollide
Parameter Name: time-to-collide Parameter Description: The minimum time before a collision (in second...
Definition: groundCollisionAvoidanceDescriptor.h:100
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
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...
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myStoppingDistanceFactor
Parameter Name: stopping-distance-factor Parameter Description: The factor by which the collision avo...
Definition: groundCollisionAvoidanceDescriptor.h:115
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...
static DtComponentDescriptor * creator()

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)