|
VR-Engage
2.2
|
This class contains the configuration parameters for rotary-wing aircraft (helicopters) in VREngage. It extends the base rotary-wing entity parameters with VREngage-specific settings for control response, aircraft limits, and simulation fidelity options.
#include <vreRlParameters.h>
Public Member Functions | |
| DtVreRlParameters (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL, DtEnvironmentSP env=DtEnvironmentSP(), DtEnvValueSP *objectNode=NULL) | |
| DtVreRlParameters (const DtVreRlParameters &orig, const DtString &name, DtReaderWriterRegistry *parentRegistry) | |
| virtual | ~DtVreRlParameters () override |
| const DtVreRlParameters & | operator= (const DtVreRlParameters &orig) |
| const DtVreRlParameters & | operator= (const DtRotaryWingEntityParameters &orig) |
| virtual DtVrfObjectParameters * | clone (const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override |
| virtual DtString | type () const override |
| DtString | getVhSimpleRotorcraftParameterFile () const |
| DtReal | getAltitudeOffset () const |
| DtReal | getOnGroundTolerance () const |
| DtBoolean | getHighFidelityTerrainQueries () const |
| const DtRwReal & | getMaxAltitude () const |
| const DtRwReal & | getMaxSpeed () const |
| virtual bool | inheritValues (const DtVrfObjectParameters *benefactor) override |
| virtual void | inheritValuesFromThisType (const DtVreRlParameters *pars) |
Static Public Member Functions | |
| static DtVrfObjectParameters * | creator (DtEnvironmentSP env, DtEnvValueSP *root) |
Protected Attributes | |
| DtRwReal | myInitialDesiredSpeed |
| DtRwReal | myInitialDesiredAltitude |
| DtRwReal | myAltitudeOffset |
| DtRwReal | myOnGroundTolerance |
| DtRwBoolean | myHighFidelityTerrainQueries |
Private Attributes | |
| DtRwString | myRotorcraftParameterFile |
| RlCgfVrf::DtVreRlParameters::DtVreRlParameters | ( | const DtString & | name = DtString::nullString(), |
| DtReaderWriterRegistry * | parentRegistry = NULL, | ||
| DtEnvironmentSP | env = DtEnvironmentSP(), | ||
| DtEnvValueSP * | objectNode = NULL ) |
Constructor.
| name | The name of the parameters |
| parentRegistry | Parent registry for reader/writer functionality |
| env | Environment for parameter values |
| objectNode | Node containing parameter values |
Initializes a new rotary-wing parameters object with values from the provided environment.
Referenced by DtVreRlParameters(), inheritValuesFromThisType(), operator=(), and operator=().
| RlCgfVrf::DtVreRlParameters::DtVreRlParameters | ( | const DtVreRlParameters & | orig, |
| const DtString & | name, | ||
| DtReaderWriterRegistry * | parentRegistry ) |
Copy constructor.
| orig | The source parameters to copy from |
| name | The name for the new parameters |
| parentRegistry | Parent registry for reader/writer functionality |
Creates a new parameters object as a copy of the provided original parameters.
References DtVreRlParameters().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the parameters object.
| const DtVreRlParameters & RlCgfVrf::DtVreRlParameters::operator= | ( | const DtVreRlParameters & | orig | ) |
Assignment operator.
| orig | The source parameters to copy from |
Assigns the contents of the provided parameters to this parameters object.
References DtVreRlParameters().
| const DtVreRlParameters & RlCgfVrf::DtVreRlParameters::operator= | ( | const DtRotaryWingEntityParameters & | orig | ) |
Assignment operator from base class.
| orig | The source base parameters to copy from |
Assigns the contents of the provided base parameters to this parameters object.
References DtVreRlParameters().
|
overridevirtual |
Creates a clone of these parameters.
| name | The name for the cloned parameters |
| parentRegistry | Parent registry for reader/writer functionality |
Creates a new parameters object as a deep copy of this parameters object.
|
overridevirtual |
Gets the parameters type.
Returns TS_Parameter as the parameters type identifier.
|
static |
Creator function for this parameter type.
| env | Environment for parameter values |
| root | Root node containing parameter values |
Static factory function used for parameter creation with environment support.
| DtString RlCgfVrf::DtVreRlParameters::getVhSimpleRotorcraftParameterFile | ( | ) | const |
Gets the rotorcraft dynamics parameter file path.
Returns the path to the file containing detailed rotorcraft dynamics parameters.
| DtReal RlCgfVrf::DtVreRlParameters::getAltitudeOffset | ( | ) | const |
Gets the altitude offset.
Returns the altitude offset applied to the helicopter's position.
| DtReal RlCgfVrf::DtVreRlParameters::getOnGroundTolerance | ( | ) | const |
Gets the on-ground tolerance value.
Returns the tolerance value used to determine if the helicopter is on the ground. This affects landing behavior and ground effect simulation.
| DtBoolean RlCgfVrf::DtVreRlParameters::getHighFidelityTerrainQueries | ( | ) | const |
Gets whether high-fidelity terrain queries are enabled.
Returns whether high-fidelity terrain queries are enabled for this helicopter.
|
inline |
Gets the maximum altitude limit.
Returns the maximum altitude limit for the helicopter.
|
inline |
Gets the maximum speed limit.
Returns the maximum speed limit for the helicopter.
|
overridevirtual |
Inherits values from another parameters object.
| benefactor | The parameters object to inherit from |
Inherits values from another parameters object, if it is of a compatible type.
|
virtual |
Inherits values from another parameters object of the same type.
| pars | The parameters object to inherit from |
Inherits values from another parameters object of the same type.
References DtVreRlParameters().
|
protected |
Initial desired speed value.
The initial desired speed for the helicopter upon activation.
|
protected |
Initial desired altitude value.
The initial desired altitude for the helicopter upon activation.
|
protected |
Altitude offset value.
Offset applied to the helicopter's altitude.
|
protected |
On-ground tolerance value.
Tolerance value used to determine if the helicopter is on the ground. This affects landing behavior and ground effect simulation.
|
protected |
Flag for high-fidelity terrain queries.
When true, high-fidelity terrain queries are used for this helicopter.
|
private |
File path to the rotorcraft dynamics parameters.
Path to the file containing detailed rotorcraft dynamics parameters.