VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions
DtGroundMoveDirectionControllerDescriptor Class Reference

DtGroundMoveDirectionControllerDescriptor. More...

Inheritance diagram for DtGroundMoveDirectionControllerDescriptor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtGroundMoveDirectionControllerDescriptor (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 Constructor.
 DtGroundMoveDirectionControllerDescriptor (const DtGroundMoveDirectionControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
 Copy constructor.
DtGroundMoveDirectionControllerDescriptoroperator= (const DtGroundMoveDirectionControllerDescriptor &orig)
 Assignment operator.
virtual ~DtGroundMoveDirectionControllerDescriptor ()
 Destructor.
virtual DtComponentDescriptorclone (DtReaderWriterRegistry *parentRegistry=0) const
virtual DtString type () const
virtual double highSpeedMinPivotAngle () const
 Accessor/mutator for myHighSpeedMinPivotAngle.
virtual void setHighSpeedMinPivotAngle (const double &newValue)
 Accessor/mutator for myHighSpeedMinPivotAngle.
virtual double lowSpeedMinPivotAngle () const
 Accessor/mutator for myLowSpeedMinPivotAngle.
virtual void setLowSpeedMinPivotAngle (const double &newValue)
 Accessor/mutator for myLowSpeedMinPivotAngle.
virtual bool pivotOnTurns () const
 Accessor/mutator for myPivotOnTurns.
virtual void setPivotOnTurns (const bool &newValue)
 Accessor/mutator for myPivotOnTurns.
virtual double pivotSpeedCutoff () const
 Accessor/mutator for myPivotSpeedCutoff.
virtual void setPivotSpeedCutoff (const double &newValue)
 Accessor/mutator for myPivotSpeedCutoff.

Static Public Member Functions

static DtComponentDescriptorcreator ()
 Static creator function for factory registration.

Protected Attributes

DtRwReal myHighSpeedMinPivotAngle
 Parameter Name: high-speed-min-pivot-angle
Parameter Description: When the speed of the entity is above the pivot-speed-cutoff, it will pivot to its desired heading any time the desired heading is greater than this value from the actual heading.
DtRwReal myLowSpeedMinPivotAngle
 Parameter Name: low-speed-min-pivot-angle
Parameter Description: When the speed of the entity is below the pivot-speed-cutoff, it will pivot to its desired heading any time the desired heading is greater than this value from the actual heading.
DtRwBoolean myPivotOnTurns
 Parameter Name: pivot-on-turns
Parameter Description: Specifies whether or not the entity should pivot when turning.
DtRwReal myPivotSpeedCutoff
 Parameter Name: pivot-speed-cutoff
Parameter Description: Specifies the speed used to differentiate between hish-speed and low-speed-min-pivot-angles.

Detailed Description

DtGroundMoveDirectionControllerDescriptor.

This is the descriptor for DtGroundMoveDirectionController components. It contains all parameters which can be specified in the OPD file for this component.


Constructor & Destructor Documentation

DtGroundMoveDirectionControllerDescriptor::DtGroundMoveDirectionControllerDescriptor ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

Constructor.

Copy constructor.

Destructor.


Member Function Documentation

DtGroundMoveDirectionControllerDescriptor& DtGroundMoveDirectionControllerDescriptor::operator= ( const DtGroundMoveDirectionControllerDescriptor orig)

Assignment operator.

Returns:
a copy of this class using the copy constructor.

Reimplemented from DtComponentDescriptor.

Reimplemented in BHAVE::DtBhaveMovementChooserControllerDescriptor.

Returns:
DtGroundMoveDirectionControllerDescriptorType

Reimplemented from DtComponentDescriptor.

Reimplemented in BHAVE::DtBhaveMovementChooserControllerDescriptor.

Static creator function for factory registration.

Reimplemented from DtComponentDescriptor.

Reimplemented in BHAVE::DtBhaveMovementChooserControllerDescriptor.

Accessor/mutator for myHighSpeedMinPivotAngle.

virtual void DtGroundMoveDirectionControllerDescriptor::setHighSpeedMinPivotAngle ( const double &  newValue) [virtual]

Accessor/mutator for myHighSpeedMinPivotAngle.

Accessor/mutator for myLowSpeedMinPivotAngle.

virtual void DtGroundMoveDirectionControllerDescriptor::setLowSpeedMinPivotAngle ( const double &  newValue) [virtual]

Accessor/mutator for myLowSpeedMinPivotAngle.

Accessor/mutator for myPivotOnTurns.

virtual void DtGroundMoveDirectionControllerDescriptor::setPivotOnTurns ( const bool newValue) [virtual]

Accessor/mutator for myPivotOnTurns.

Accessor/mutator for myPivotSpeedCutoff.

virtual void DtGroundMoveDirectionControllerDescriptor::setPivotSpeedCutoff ( const double &  newValue) [virtual]

Accessor/mutator for myPivotSpeedCutoff.


Member Data Documentation

Parameter Name: high-speed-min-pivot-angle
Parameter Description: When the speed of the entity is above the pivot-speed-cutoff, it will pivot to its desired heading any time the desired heading is greater than this value from the actual heading.


Parameter Default Value: pi/2 (90 degrees).
Parameter Units: Radians.

Parameter Name: low-speed-min-pivot-angle
Parameter Description: When the speed of the entity is below the pivot-speed-cutoff, it will pivot to its desired heading any time the desired heading is greater than this value from the actual heading.


Parameter Default Value: 0.175 (10 degrees)
Parameter Units: Radians.

Parameter Name: pivot-on-turns
Parameter Description: Specifies whether or not the entity should pivot when turning.

Pivoting will only occur if the entity is capable of pivoting, and if the conditions for a pivot turn are met, based on the other parameters.
Parameter Default Value: true

Parameter Name: pivot-speed-cutoff
Parameter Description: Specifies the speed used to differentiate between hish-speed and low-speed-min-pivot-angles.

Parameter Default Value: 0.5 Parameter Units: m/s.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)