![]() |
VR-Forces 4.0.4 Class Documentation
|
Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can send information values from a device such as a joystick that has two axes of motion. More...

Public Member Functions | |
| DtConstrainedDualAxisAnalogOutputPort (const DtString &portName) | |
| virtual | ~DtConstrainedDualAxisAnalogOutputPort () |
| virtual void | setMinXValue (double minVal) |
| virtual double | minXValue () const |
| virtual void | setMaxXValue (double maxVal) |
| virtual double | maxXValue () const |
| virtual void | setMinYValue (double minVal) |
| virtual double | minYValue () const |
| virtual void | setMaxYValue (double maxVal) |
| virtual double | maxYValue () const |
| void | setXValue (double value) |
| Sets x value to the port, and sends the data if it is different from the current value. | |
| void | setYValue (double value) |
| Sets y value to the port, and sends the data if it is different from the current value. | |
Protected Attributes | |
| double | myMaxXValue |
| double | myMinXValue |
| double | myMaxYValue |
| double | myMinYValue |
Instances of DtConstrainedDualAxisAnalogOutputPort are output ports through which data producers can send information values from a device such as a joystick that has two axes of motion.
It represents this by creating two DtConstrainedAnalogPorts called myXValue and myYValue. Both are constrained to the range -1.0 to 1.0 by default.
| DtConstrainedDualAxisAnalogOutputPort::DtConstrainedDualAxisAnalogOutputPort | ( | const DtString & | portName | ) |
| virtual DtConstrainedDualAxisAnalogOutputPort::~DtConstrainedDualAxisAnalogOutputPort | ( | ) | [virtual] |
| virtual void DtConstrainedDualAxisAnalogOutputPort::setMinXValue | ( | double | minVal | ) | [virtual] |
| virtual double DtConstrainedDualAxisAnalogOutputPort::minXValue | ( | ) | const [virtual] |
| virtual void DtConstrainedDualAxisAnalogOutputPort::setMaxXValue | ( | double | maxVal | ) | [virtual] |
| virtual double DtConstrainedDualAxisAnalogOutputPort::maxXValue | ( | ) | const [virtual] |
| virtual void DtConstrainedDualAxisAnalogOutputPort::setMinYValue | ( | double | minVal | ) | [virtual] |
| virtual double DtConstrainedDualAxisAnalogOutputPort::minYValue | ( | ) | const [virtual] |
| virtual void DtConstrainedDualAxisAnalogOutputPort::setMaxYValue | ( | double | maxVal | ) | [virtual] |
| virtual double DtConstrainedDualAxisAnalogOutputPort::maxYValue | ( | ) | const [virtual] |
| void DtConstrainedDualAxisAnalogOutputPort::setXValue | ( | double | value | ) | [virtual] |
Sets x value to the port, and sends the data if it is different from the current value.
Reimplemented from DtDualAxisAnalogOutputPort.
| void DtConstrainedDualAxisAnalogOutputPort::setYValue | ( | double | value | ) | [virtual] |
Sets y value to the port, and sends the data if it is different from the current value.
Reimplemented from DtDualAxisAnalogOutputPort.
double DtConstrainedDualAxisAnalogOutputPort::myMaxXValue [protected] |
double DtConstrainedDualAxisAnalogOutputPort::myMinXValue [protected] |
double DtConstrainedDualAxisAnalogOutputPort::myMaxYValue [protected] |
double DtConstrainedDualAxisAnalogOutputPort::myMinYValue [protected] |