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 
39  virtual ~DtRailPathControllerDescriptor() override;
40 
43  virtual DtString type() const override;
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  virtual double offRoadPathWeight() const;
64  virtual void setOffRoadPathWeight(const double w);
65 
66 
68 
69  virtual const double allowableDistance() const;
70  virtual void setAllowableDistance(double value);
72 
74 
75  virtual const double maxSearchRadiusCoefficient() const;
76  virtual void setMaxSearchRadiusCoefficient(double value);
78 
80 
81  virtual const double maxSearchRadiusOffset() const;
82  virtual void setMaxSearchRadiusOffset(double value);
84 
85  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
86 
88  static DtComponentDescriptor * creator();
89 
90 private:
93 
94 protected:
95 
99 
104 
111 
117 
125 
132 
141 
150 
152 };
DtRwReal myAllowableDistance
ParameterName: allowable-distance Parameter Description: This parameter determines how close (in mete...
Definition: railPathControllerDescriptor.h:131
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myOffRoadPathWeight
Parameter Name: off-road-path-weight Parameter Description: This is the cost weight for travel off th...
Definition: railPathControllerDescriptor.h:124
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:140
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:103
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:149
DtRwBoolean myPublishPaths
Parameter Name: publish-paths Parameter Description: Indicated whether paths found by the path planne...
Definition: railPathControllerDescriptor.h:110
DtRwRealAttributeList myPathfinderWeightFactors
Parameter Name: pathfinder-weight-factors Parameter Description: This parameter allows edge weights t...
Definition: railPathControllerDescriptor.h:116

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)