VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanFollowControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwReal.h>
16 #include <readerWriter/rwBoolean.h>
17 
21 {
22 public:
24  DtHumanFollowControllerDescriptor(const DtString& componentName,
25  DtReaderWriterRegistry* parentRegistry = 0);
27  DtReaderWriterRegistry* parentRegistry = 0);
28 
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
34  virtual ~DtHumanFollowControllerDescriptor() override;
35 
39 
42  virtual DtString type() const override;
43 
44  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
45 
48 
51  virtual double distanceReplanThreshold() const;
52  virtual void setDistanceReplanThreshold(double replanDistance);
54 
57  virtual double timeReplanThreshold() const;
58  virtual void setTimeReplanThreshold(double replanDistance);
60 
63  virtual double targetLookaheadTime() const;
64  virtual void setTargetLookaheadTime(double time);
66 
69  virtual double destinationSmoothingPeriod() const;
70  virtual void setDestinationSmoothingPeriod(double time);
72 
73  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
74  const DtVariableBindingsList& variableBindings) override;
75 
76 protected:
79 
80 protected:
83 
84 
90 
96 
102 
108 
110 
111 };
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myDistanceReplanThreshold
Parameter Name: distance-replan-threshold Parameter Description: Parameter Units: meters Parameter De...
Definition: humanFollowControllerDescriptor.h:89
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 myTimeReplanThreshold
Parameter Name: time-replan-threshold Parameter Description: Parameter Units: seconds Parameter Defau...
Definition: humanFollowControllerDescriptor.h:95
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtHumanFollowControllerDescriptor; descriptor for the DtHumanMoveAlongController component.
Definition: humanFollowControllerDescriptor.h:20
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
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()
DtRwReal myDestinationSmoothingPeriod
Parameter Name: destination-smoothing-period Parameter Description: Parameter Units: seconds Paramete...
Definition: humanFollowControllerDescriptor.h:107
DtRwReal myTargetLookaheadTime
Parameter Name: target-lookahead-time Parameter Description: Parameter Units: seconds Parameter Defau...
Definition: humanFollowControllerDescriptor.h:101

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)