VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rotaryWingEntityParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: rotWingPar.h,v $ $Revision: 1.39 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtRotaryWingEntityParameters_H_
16 #define DtRotaryWingEntityParameters_H_
17 
19 
20 #include "readerWriter/rwVector.h"
21 #include <readerWriter/rwReal.h>
22 #include <readerWriter/rwBoolean.h>
23 
24 #include <matrix/vlVector.h>
25 
26 #include "vrfutil/rwAirSpeedType.h"
27 
28 class DtString;
30 
37 {
38 public:
39 
41  DtRotaryWingEntityParameters (const DtString& rwName = DtString::nullString(),
42  DtReaderWriterRegistry* parentRegistry = 0, DtEnvironmentSP env = DtEnvironmentSP(),
43  DtEnvValueSP* objectNode = NULL);
44 
45 protected:
48  const DtString& rwName = DtString::nullString(),
49  DtReaderWriterRegistry* parentRegistry = 0);
50 
51 public:
52  const DtRotaryWingEntityParameters & operator=
53  (const DtRotaryWingEntityParameters & orig);
54 
56  virtual ~DtRotaryWingEntityParameters() override;
57 
59  const DtSymbolString& rwName, DtReaderWriterRegistry* parentRegistry = 0) const override;
60 
62  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
63 
66  virtual DtString type() const override;
67 
70  virtual bool inheritValues(const DtVrfObjectParameters* benefactor) override;
71 
72  virtual void inheritValuesFromThisType (const DtRotaryWingEntityParameters * benefactor);
73 
76  virtual const DtVector& noseSupport() const;
77  virtual void setNoseSupport (const DtVector& noseSupport);
79 
82  virtual DtReal maxAltitude() const;
83  virtual void setMaxAltitude (DtReal maxAltitude);
85 
88  virtual bool isCheckingTerrainDistance() const;
89  virtual void setIsCheckingTerrainDistance (const bool val);
91 
94  virtual DtReal altitude() const;
95  virtual void setAltitude (const DtReal val);
97 
100  virtual void setJoystickControl (const bool val);
101  virtual bool joystickControl() const;
103 
105  virtual void setDefaults();
106 
108  virtual void copyValues (const DtRotaryWingEntityParameters & orig);
109 
111  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
112 
114 
115  virtual DtReal maxClimbRate() const;
116  virtual void setMaxClimbRate(DtReal maxClimbRate);
118 
120 
121  virtual DtReal dragCoefficient() const;
122  virtual void setDragCoefficient(DtReal value);
124 
126 
127  virtual DtReal dragReferenceArea() const;
128  virtual void setDragReferenceArea(DtReal value);
130 
132 
133  virtual DtReal maxYawRate() const;
134  virtual void setMaxYawRate (DtReal maxYawRate);
136 
138 
139  virtual DtReal maxPitchRate() const;
140  virtual void setMaxPitchRate(DtReal maxPitchRate);
142 
144 
145  virtual DtReal maxRollRate() const;
146  virtual void setMaxRollRate(DtReal maxRollRate);
148 
149  virtual DtReal maxYawAcceleration() const;
150  virtual void setMaxYawAcceleration(const DtReal val);
151 
152  virtual DtReal maxPitchAcceleration() const;
153  virtual void setMaxPitchAcceleration(const DtReal val);
154 
155  virtual DtReal maxRollAcceleration() const;
156  virtual void setMaxRollAcceleration(const DtReal val);
157 
158  virtual DtReal zeroCollectiveLiftAcceleration() const;
159  virtual void setZeroCollectiveLiftAcceleration(const DtReal val);
160 
161  virtual DtReal fullCollectiveLiftAcceleration() const;
162  virtual void setFullCollectiveLiftAcceleration(const DtReal val);
163 
166  virtual DtReal orderedAirSpeed() const;
167  virtual void setOrderedAirSpeed(DtReal orderedAirSpeed);
169 
172  virtual DtAirSpeedType airSpeedType() const;
173  virtual void setAirSpeedType(DtAirSpeedType airSpeedType);
175 
176 protected:
180 
186 
192 
198 
204 
209 
215 
222 
228 
235 
242 
249 
256 
263 
270 
271 
272  DtReal myAltitude;
273 
279 
285 
287 };
288 
289 #endif
Definition: rwAirSpeedType.h:31
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:64
DtReal myAltitude
Parameter Name: drag-coefficient Parameter Description: Coefficient for drag equation. Parameter Default Value: 0.8 Parameter Units: undefined.
Definition: rotaryWingEntityParameters.h:272
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwBoolean myIsCheckingTerrainDistance
Parameter Name: terrain-check Parameter Description: Parameter Default Value: . ...
Definition: rotaryWingEntityParameters.h:208
Contains the DtMovingObjectParameters class declaration.
DtRwReal myMaxAltitude
Parameter Name: max-altitude Parameter Description: Above this altitude no lift is generated...
Definition: rotaryWingEntityParameters.h:197
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myFullCollectiveLiftAcceleration
Parameter Name: full-collective-lift-acceleration Parameter Description: This is the upward accelerat...
Definition: rotaryWingEntityParameters.h:269
virtual DtString type() const override
Should return the type of object this is a parameter block for. Use the strings in vrfParamTypes...
DtRwReal myDragCoefficient
Parameter Name: drag-coefficient Parameter Description: Coefficient for drag equation. Parameter Default Value: 0.8 Parameter Units: undefined.
Definition: rotaryWingEntityParameters.h:185
Definition: readerWriterRegistry.h:39
DtRwReal myMaxRollAcceleration
Parameter Name: max-roll-acceleration Parameter Description: Maximum rotational acceleration around t...
Definition: rotaryWingEntityParameters.h:255
DtRwBoolean myJoystickControl
Parameter Name: joystick-control Parameter Description: Specifies whether or not you can use a joysti...
Definition: rotaryWingEntityParameters.h:203
virtual bool inheritValues(const DtVrfObjectParameters *benefactor) override
The moving-object-param parameter type is used to configure rotary-wing type of entities. Developer Description: Used to hold parameters for the DtVrfMovingObjectStateRepository class.
Definition: rotaryWingEntityParameters.h:36
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const override
DtRwReal myDragReferenceArea
Parameter Name: drag-reference-area Parameter Description: Reference area for drag equation...
Definition: rotaryWingEntityParameters.h:191
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 myMaxClimbRate
Parameter Name: max-climb-rate Parameter Description: Parameter Default Value: 50. Parameter Units: meters/second.
Definition: rotaryWingEntityParameters.h:214
DtRwReal myMaxRollRate
Parameter Name: max-roll-rate Parameter Description: Maximum rate this plane can rotate about its X a...
Definition: rotaryWingEntityParameters.h:234
DtRwReal myMaxYawAcceleration
Parameter Name: max-yaw-acceleration Parameter Description: The maximum rotational acceleration aroun...
Definition: rotaryWingEntityParameters.h:241
DtRwReal myMaxYawRate
Parameter Name: max-yaw-rate Parameter Description: Maximum rate this plane can pitch down or up abou...
Definition: rotaryWingEntityParameters.h:221
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual void inheritValuesFromThisType(const DtMovingObjectParameters *benefactor)
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:23
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwAirSpeedType myAirSpeedType
Parameter Name: air-speed-type Parameter Description: Speed type (Ground Speed, TAS, IAS, Mach) for ordered air speed. Parameter Default Value: &quot;ground-speed&quot; Parameter Units: none.
Definition: rotaryWingEntityParameters.h:284
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
DtRwReal myZeroCollectiveLiftAcceleration
Parameter Name: zero-collective-lift-acceleration Parameter Description: The upward acceleration when...
Definition: rotaryWingEntityParameters.h:262
DtRwReal myMaxPitchAcceleration
Parameter Name: max-pitch-acceleration Parameter Description: Maximum rotational acceleration about t...
Definition: rotaryWingEntityParameters.h:248
DtRwReal myMaxPitchRate
Parameter Name: max-pitch-rate Parameter Description: Parameter Default Value: 0.7854 (45. degrees/second) Parameter Units: radians/second.
Definition: rotaryWingEntityParameters.h:227
File: rwVector.h.
DtRwReal myOrderedAirSpeed
Parameter Name: ordered-air-speed Parameter Description: Ordered speed when in the air...
Definition: rotaryWingEntityParameters.h:278

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)