50 const DtString& name = DtString::nullString(),
62 (
const DtString& name = DtString::nullString(),
88 virtual int illuminationRecalcTime()
const;
89 virtual void setIlluminationRecalcTime(
int newValue);
94 virtual int weatherAreaRecalcTime()
const;
95 virtual void setWeatherAreaRecalcTime(
int newValue);
100 virtual bool canPivot()
const;
101 virtual void setCanPivot (
bool newValue);
106 virtual bool protectEmbarkedFromCollateralDamage()
const;
107 virtual void setProtectEmbarkedFromCollateralDamage (
bool newValue);
112 virtual DtReal maxPivotSpeed()
const;
113 virtual void setMaxPivotSpeed (DtReal maxSpeed);
118 virtual const DtVector& leftSupport()
const;
119 virtual void setLeftSupport (
const DtVector& newLeftSupport);
124 virtual const DtVector& rightSupport()
const;
125 virtual void setRightSupport (
const DtVector& newRightSupport);
130 virtual const DtVector& otherSupport()
const;
131 virtual void setOtherSupport (
const DtVector& newOtherSupport);
136 virtual DtReal maxSpeed()
const;
137 virtual void setMaxSpeed (DtReal speed);
142 virtual DtReal maxReverseSpeed()
const;
143 virtual void setMaxReverseSpeed (DtReal speed);
148 virtual bool useModelArtPartInformation()
const;
149 virtual void setUseModelArtPartInformation(
bool);
154 virtual DtReal turningRadius()
const;
155 virtual void setTurningRadius (DtReal turningRadius);
160 virtual DtReal maxSlope()
const;
161 virtual void setMaxSlope (DtReal slope);
166 virtual DtReal orderedSpeed()
const;
167 virtual void setOrderedSpeed (DtReal speed);
172 virtual DtReal maxAcceleration()
const;
173 virtual void setMaxAcceleration (
const DtReal maxAcceleration);
178 virtual DtReal maxStoppingDeceleration()
const;
179 virtual void setMaxStoppingDeceleration (
const DtReal maxStoppingDeceleration);
184 virtual DtReal maxLateralAcceleration()
const;
185 virtual void setMaxLateralAcceleration (
const DtReal maxLateralAcceleration);
190 virtual DtReal fuelEfficiency()
const;
191 virtual void setFuelEfficiency (
const DtReal efficiency);
196 virtual bool useObjectGeometry()
const;
197 virtual void setUseObjectGeometry(
bool);
202 virtual bool useObjectVisuals()
const;
203 virtual void setUseObjectVisuals(
bool);
208 virtual const DtString& objectGeometryFile()
const;
209 virtual void setObjectGeometryFile(
const DtFilename&);
214 virtual bool embedIntoTerrain()
const;
215 virtual void setEmbedIntoTerrain(
bool);
226 virtual void setMaxDisaggregationDistance(DtReal
distance);
227 virtual DtReal maxDisaggregationDistance()
const;
232 virtual void setUsingRailMovement(
bool rails);
233 virtual bool usingRailMovement()
const;
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:63
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myMaxStoppingDeceleration
Parameter Name: max-deceleration Parameter Description: The maximum (braking) deceleration for the en...
Definition: movingObjectParameters.h:343
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtRwBoolean myUseObjectVisuals
Parameter Name: use-object-visuals Parameter Description: If specified, use the visuals as defined fo...
Definition: movingObjectParameters.h:385
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
DtRwDIGuyCharacterInfo myDIGuyCharacterInfo
Parameter Name: di-guy-character Parameter Description: DI-Guy representation of the entity if any...
Definition: movingObjectParameters.h:396
virtual bool inheritValues(const DtVrfObjectParameters *benefactor)
Values left unspecified may be inherited from a parameter block of the same type, typically an ancest...
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const
Definition: readerWriterRegistry.h:39
DtRwReal myMaxSlope
Parameter Name: max-slope Parameter Description: For ground entities, the maximum slope...
Definition: movingObjectParameters.h:324
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
DtRwReal myOrderedSpeed
Parameter Name: ordered-speed Parameter Description: The speed the entity will move when tasked...
Definition: movingObjectParameters.h:331
DtRwBoolean myProtectEmbarkedFromCollateralDamage
Parameter Name: protect-embarked-from-collateral-damage Parameter Description: If true...
Definition: movingObjectParameters.h:434
DtRwReal myMaxReverseSpeed
Parameter Name: max-reverse-speed Parameter Description: The maximum speed at which an entity can mov...
Definition: movingObjectParameters.h:298
DtRwOffsetVector myOtherSupport
Parameter Name: other-support Parameter Description: Support contact point in body coordinates...
Definition: movingObjectParameters.h:285
Contains the DtRwDIGuyCharacterInfo class declaration.
DtRwOffsetVector myRightSupport
Parameter Name: right-support Parameter Description: Support contact point in body coordinates...
Definition: movingObjectParameters.h:275
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...
DtRwInt myWeatherAreaRecalcTime
Parameter Name: weather-area-recalc-time Parameter Description: Amount of time (in seconds) to recalc...
Definition: movingObjectParameters.h:427
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwBoolean myEmbedIntoTerrain
Parameter Name: embed-into-terrain Parameter Description: If true this object's geometry will be embe...
Definition: movingObjectParameters.h:390
virtual void inheritValuesFromThisType(const DtVrfObjectParameters *benefactor)
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates. DtMovingObjectParameters; holds all of the configurable parameters for the DtVrfMovingObjectStateRepository class. Parameters include support points, maximum speed, maximum reverse speed, turning radius, maximum slope, ordered speed, maximum acceleration, maximum deceleration, and fuel efficiency. Aggregates are moving objects and have this parameter type. All of the platform-specific parameter types derive from this one. .
Definition: movingObjectParameters.h:32
DtRwReal myDisaggregationRange
Parameter Name: disaggregation-range Parameter Description: Maximum distance from this type of entity...
Definition: movingObjectParameters.h:403
DtRwBoolean myCanPivot
Parameter Name: can-pivot Parameter Description: Indicates whether not the entity can pivot to turn...
Definition: movingObjectParameters.h:248
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myMaxLateralAcceleration
Parameter Name: max-lateral-acceleration Parameter Description: The maximum lateral (turning) acceler...
Definition: movingObjectParameters.h:351
The DtRwDIGuyCharactertInfo class is a readable/writable class that can store itself and read itself ...
Definition: rwDIGuyCharacterInfo.h:32
DtRwBoolean myUseObjectGeometry
Parameter Name: use-object-geometry Parameter Description: If specified use the geometry file for nav...
Definition: movingObjectParameters.h:379
Specialized vector that can be used for the knowledge of an "offset" rather than location vector...
Definition: rwVector.h:109
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myTurningRadius
Parameter Name: turning-radius Parameter Description: Minimum turning radius. This will be used diffe...
Definition: movingObjectParameters.h:307
DtRwInt myIlluminationRecalcTime
Parameter Name: illumination-recalc-time Parameter Description: Amount of time (in seconds) to recalc...
Definition: movingObjectParameters.h:420
virtual DtString type() const
Returns a string identifying the type of parameter descriptor. Used to create the descriptor on read ...
DtRwReal myMaxSpeed
Parameter Name: max-speed Parameter Description: The top speed of the entity. Parameter Default Value...
Definition: movingObjectParameters.h:291
DtRwReal myMaxPivotSpeed
Parameter Name: max-pivot-speed Parameter Description: The maximum rate at which a ground entity can ...
Definition: movingObjectParameters.h:255
DtRwReal myMaxAcceleration
Parameter Name: max-acceleration Parameter Description: The maximum acceleration rate for the entity...
Definition: movingObjectParameters.h:337
Using a DtReaderWriterFile allows a DtReaderWriter object to be read in from an MTL stream contained ...
Definition: readerWriterFile.h:35
DtRwBoolean myUsingRailMovement
Parameter Name: using-rail-movement Parameter Description: If true entity will clamp to a route segme...
Definition: movingObjectParameters.h:413
DtReaderWriterFile myObjectGeometryFile
Parameter Name: object-geometry-file Parameter Description: If the object geometry is defined (a poly...
Definition: movingObjectParameters.h:373
DtRwOffsetVector myLeftSupport
Parameter Name: left-support Parameter Description: Support contact point in body coordinates...
Definition: movingObjectParameters.h:265
DtRwBoolean myUseModelArtPartInformation
Whether or not to load articulated part information from model as well. If there is an object geometr...
Definition: movingObjectParameters.h:440
DtRwReal myFuelEfficiency
Parameter Name: fuel-efficiency Parameter Description: Air and ground entities: the number of meters ...
Definition: movingObjectParameters.h:364