VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
railPathControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include <readerWriter/rwString.h>
16 #include <readerWriter/rwReal.h>
17 #include <readerWriter/rwBoolean.h>
19 
24 {
25 public:
28  DtReaderWriterRegistry * parentRegistry = 0);
29 
32  orig, DtReaderWriterRegistry * parentRegistry = 0);
33 
37 
40 
43  virtual DtString type() const;
44 
46  virtual DtString pathFeatureType() const;
47  virtual void setPathFeatureType(const DtString& pathFeatureType);
48 
52  virtual bool publishPaths() const;
53  virtual void setPublishPaths(bool value);
55 
57 
58  virtual const DtRwRealAttributeList& pathfinderWeightFactors() const;
59  virtual void setPathfinderWeightFactors(const DtRwRealAttributeList& weights);
61 
63 
64  virtual const double allowableDistance() const;
65  virtual void setAllowableDistance(double value);
67 
69 
70  virtual const double maxSearchRadiusCoefficient() const;
71  virtual void setMaxSearchRadiusCoefficient(double value);
73 
75 
76  virtual const double maxSearchRadiusOffset() const;
77  virtual void setMaxSearchRadiusOffset(double value);
79 
81  DtReaderWriterRegistry* parentRegistry = NULL) const;
82 
84  static DtComponentDescriptor * creator();
85 
86 private:
89 
90 protected:
91 
95 
100 
107 
113 
120 
129 
138 
140 };
DtRwReal myAllowableDistance
ParameterName: allowable-distance Parameter Description: This parameter determines how close (in mete...
Definition: railPathControllerDescriptor.h:119
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtRwReal myMaxSearchRadiusCoefficient
ParameterName: max-search-radius-coefficient Parameter Description: This determines the coefficient (...
Definition: railPathControllerDescriptor.h:128
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwString myPathFeatureType
Parameter Name: path-feature-type Parameter Description: Type of path features to plan on...
Definition: railPathControllerDescriptor.h:99
DtRailPathControllerDescriptor; descriptor for the DDtRailPathController component.
Definition: railPathControllerDescriptor.h:23
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
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...
class DtRwRealAttributeList:
Definition: rwRealAttributeList.h:29
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwReal myMaxSearchRadiusOffset
ParameterName: max-search-radius-offset Parameter Description: This determines the offset (b) in the ...
Definition: railPathControllerDescriptor.h:137
DtRwBoolean myPublishPaths
Parameter Name: publish-paths Parameter Description: Indicated whether paths found by the path planne...
Definition: railPathControllerDescriptor.h:106
DtRwRealAttributeList myPathfinderWeightFactors
ParameterName: pathfinder-weight-factors Parameter Description: This parameter allows edge weights to...
Definition: railPathControllerDescriptor.h:112

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)