18#include <vrfobjparam/actuatorComponentDescriptor.h>
19#include <readerWriter/rwReal.h>
20#include <readerWriter/rwInt.h>
22class DtReaderWriterRegistry;
72 virtual DtString
type()
const override;
79 virtual DtComponentDescriptor*
clone(DtReaderWriterRegistry* parentRegistry = 0)
const override;
85 virtual DtU16
axis()
const;
const char DtVreStabilizedArtPartActuatorDescriptorType[]
Type identifier string for the stabilized articulated part actuator descriptor.
Definition artPartActuatorDescriptor.h:25
virtual void setInvertSlew(bool invert)
Sets whether slew direction is inverted.
DtVreStabilizedArtPartActuatorDescriptor(const DtString &componentName, DtReaderWriterRegistry *parentRegistry=0)
Constructor with component name.
virtual void setPlayerControlRole(DtString role)
Sets the player control role.
DtRwReal myMaxSlewRate
Maximum rotation rate for the articulated part.
Definition artPartActuatorDescriptor.h:196
virtual void setMaxSlewRate(DtReal maxSlewRate)
Sets the maximum slew rate.
virtual ~DtVreStabilizedArtPartActuatorDescriptor() override
Virtual destructor.
DtVreStabilizedArtPartActuatorDescriptor()
Default constructor (not implemented)
DtRwReal myLowerLimit
Lower (counter-clockwise) rotation limit.
Definition artPartActuatorDescriptor.h:216
virtual DtReal upperLimit() const
Gets the upper rotation limit.
DtRwBoolean myHasLimits
Flag indicating whether rotation limits are enabled.
Definition artPartActuatorDescriptor.h:203
DtRwString myPlayerControlRole
Player role required for control of this actuator.
Definition artPartActuatorDescriptor.h:252
virtual DtString playerControlRole() const
Gets the player control role.
virtual void setHasLimits(bool hasLimits)
Sets whether the actuator has rotation limits.
static DtComponentDescriptor * creator()
Factory function to create a new instance of this descriptor.
virtual DtString type() const override
Gets the type identifier for this descriptor.
DtRwInt myAxis
The rotation axis controlled by this actuator.
Definition artPartActuatorDescriptor.h:188
virtual bool hasLimits() const
Checks if the actuator has rotation limits.
DtVreStabilizedArtPartActuatorDescriptor(const DtVreStabilizedArtPartActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=0)
Copy constructor.
DtRwBoolean myStabilizedByDefault
Flag to enable stabilization by default.
Definition artPartActuatorDescriptor.h:243
DtVreStabilizedArtPartActuatorDescriptor & operator=(const DtVreStabilizedArtPartActuatorDescriptor &orig)
Assignment operator.
virtual DtReal maxSlewRate() const
Gets the maximum slew rate.
virtual bool stabilizedByDefault() const
Checks if stabilization is enabled by default.
virtual DtU16 axis() const
Gets the rotation axis for this actuator.
DtRwBoolean myInvertSlew
Flag to invert slew direction.
Definition artPartActuatorDescriptor.h:234
virtual DtReal lowerLimit() const
Gets the lower rotation limit.
virtual bool invertSlew() const
Checks if slew direction is inverted.
virtual void setStabilizedByDefault(bool onOff)
Sets whether stabilization is enabled by default.
DtRwReal myUpperLimit
Upper (clockwise) rotation limit.
Definition artPartActuatorDescriptor.h:227
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
Creates a clone of this descriptor.
Export macros for the VREngage Object Parameter library.
#define VREVRFOBJPARAM_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27