VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundFollowEntityDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: gndFlwEntDesc.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #pragma once
16 
18 #include <readerWriter/rwReal.h>
21 
31 {
32 public:
35  parentRegistry = 0);
36 
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
44 
46  virtual ~DtGroundFollowEntityDescriptor() override;
47 
50  virtual DtString type() const override;
51 
54  virtual DtReal nearCatchUpFactor() const;
55  virtual void setNearCatchUpFactor(DtReal nearCatchUpFactor);
57 
60  virtual DtReal farCatchUpFactor() const;
61  virtual void setFarCatchUpFactor(DtReal farCatchUpFactor);
63 
66  virtual DtReal passedSlowDownFactor() const;
67  virtual void setPassedSlowDownFactor(DtReal passedSlowDownFactor);
69 
70 
73  virtual double distanceReplanThreshold() const;
74  virtual void setDistanceReplanThreshold(double replanDistance);
76 
79  virtual double timeReplanThreshold() const;
80  virtual void setTimeReplanThreshold(double replanDistance);
82 
85  virtual double targetLookaheadTime() const;
86  virtual void setTargetLookaheadTime(double time);
88 
91  virtual double destinationSmoothingPeriod() const;
92  virtual void setDestinationSmoothingPeriod(double time);
94 
95  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
96 
98  static DtComponentDescriptor * creator();
99 
100 protected:
103 
104 protected:
105 
109 
116 
123 
131 
137 
143 
149 
155 
157 };
DtGroundMoveToDescriptor & operator=(const DtGroundMoveToDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual DtString type() const override
Returns the type of descriptor. This will be used to create the descriptor on read from an mtl file...
A DtComponentDescriptor that has parameters that indicate the distances at which the entity is consid...
Definition: groundMoveToDescriptor.h:30
static DtComponentDescriptor * creator()
DtRwReal myDestinationSmoothingPeriod
Parameter Name: destination-smoothing-period Parameter Description: Parameter Units: seconds Paramete...
Definition: groundFollowEntityDescriptor.h:154
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
A DtGroundMoveToDescriptor that has the speed ratios to use when at, near, or past the desired locati...
Definition: groundFollowEntityDescriptor.h:30
DtRwReal myTimeReplanThreshold
Parameter Name: time-replan-threshold Parameter Description: Parameter Units: seconds Parameter Defau...
Definition: groundFollowEntityDescriptor.h:142
DtRwReal myDistanceReplanThreshold
Parameter Name: distance-replan-threshold Parameter Description: Parameter Units: meters Parameter De...
Definition: groundFollowEntityDescriptor.h:136
DtRwReal myPassedSlowDownFactor
Parameter Name: passed-slow-down-factor Parameter Description: Speed the entity is to use if it is cl...
Definition: groundFollowEntityDescriptor.h:130
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myFarCatchUpFactor
Parameter Name: far-catch-up-factor Parameter Description: The amount by which the ordered speed incr...
Definition: groundFollowEntityDescriptor.h:122
DtRwReal myTargetLookaheadTime
Parameter Name: target-lookahead-time Parameter Description: Parameter Units: seconds Parameter Defau...
Definition: groundFollowEntityDescriptor.h:148
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myNearCatchUpFactor
Parameter Name: near-catch-up-factor Parameter Description: The speed the entity uses to catch up to ...
Definition: groundFollowEntityDescriptor.h:115

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)