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);
112 virtual bool xAxisSpecified()
const;
116 virtual bool yAxisSpecified()
const;
120 virtual bool zAxisSpecified()
const;
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
Definition: symbolString.h:20
DtSwingingPartActuatorAxisInfo myXAxisInfo
Definition: swingingPartActuatorDescriptor.h:127
#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:87
Definition: readerWriterRegistry.h:39
DtRwReal myClosedAngle
Definition: swingingPartActuatorDescriptor.h:70
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwReal myOpenAngle
Parameter Name: open-angle Parameter Description: Rotation angle in radians which represents the rota...
Definition: swingingPartActuatorDescriptor.h:75
DtSwingingPartActuatorAxisInfo myYAxisInfo
Definition: swingingPartActuatorDescriptor.h:128
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtSwingingPartActuatorAxisInfo myZAxisInfo
Definition: swingingPartActuatorDescriptor.h:129
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:80