49 virtual double closedAngle()
const;
50 virtual void setClosedAngle(
const double& newValue);
55 virtual double openAngle()
const;
56 virtual void setOpenAngle(
const double& newValue);
61 virtual double swingRate()
const;
62 virtual void setSwingRate(
const double& newValue);
116 virtual bool xAxisSpecified()
const;
120 virtual bool yAxisSpecified()
const;
124 virtual bool zAxisSpecified()
const;
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtSwingingPartActuatorAxisInfo myXAxisInfo
Definition: swingingPartActuatorDescriptor.h:132
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
Definition: readerWriter.h:85
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtSwingingPartActuatorDescriptor is the descriptor for DtSwingingPartActuator components. It contains all parameters which can be specified in the OPD file for this component. For an example of using a swinging part actuator and how it is described in an OPD file see fixed-wing-fighter-jet.sysdef in the systems/movement folder.
Definition: swingingPartActuatorDescriptor.h:91
Definition: readerWriterRegistry.h:39
DtRwReal myClosedAngle
Parameter Name: closed-angle Parameter Description: Rotation angle in radians which represents the ro...
Definition: swingingPartActuatorDescriptor.h:74
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwReal myOpenAngle
Parameter Name: open-angle Parameter Description: Rotation angle in radians which represents the rota...
Definition: swingingPartActuatorDescriptor.h:79
DtSwingingPartActuatorAxisInfo myYAxisInfo
Definition: swingingPartActuatorDescriptor.h:133
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtSwingingPartActuatorAxisInfo myZAxisInfo
Definition: swingingPartActuatorDescriptor.h:134
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
Information for a particular axis of swinging.
Definition: swingingPartActuatorDescriptor.h:22
DtRwReal mySwingRate
Parameter Name: swing-rate Parameter Description: Rate at which the part swings in radians per second...
Definition: swingingPartActuatorDescriptor.h:84