16 #ifndef SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
17 #define SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
29 class RawMultiAxisScaffold;
127 #endif // SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
Definition: DriveElementFromInputBehavior.cpp:27
virtual bool initialize() override
Fully initialize the device.
Definition: RawMultiAxisDevice.cpp:47
bool m_useAxisDominance
Controls whether dominance will be enabled; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:121
double m_orientationScale
Scale factor for the orientation axes; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:119
bool isUsingAxisDominance() const
Gets the axis dominance setting for this device.
Definition: RawMultiAxisDevice.cpp:125
static double defaultPositionScale()
Definition: RawMultiAxisDevice.h:97
double m_positionScale
Scale factor for the position axes; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:117
A class implementing the communication with a multi-axis controller input device, for example a 3DCon...
Definition: RawMultiAxisDevice.h:55
static double defaultOrientationScale()
Definition: RawMultiAxisDevice.h:104
bool isInitialized() const
Check whether this device is initialized.
Definition: RawMultiAxisDevice.cpp:77
MultiAxisDevice(const std::string &uniqueName)
Constructor.
Definition: MultiAxisDevice.cpp:30
double getPositionScale() const
Gets the position scale for this device.
Definition: RawMultiAxisDevice.cpp:93
RawMultiAxisDevice(const std::string &uniqueName)
Constructor.
Definition: RawMultiAxisDevice.cpp:29
A class that implements the behavior of RawMultiAxisDevice objects.
Definition: RawMultiAxisScaffold.h:37
void setOrientationScale(double scale)
Sets the orientation scale for this device.
Definition: RawMultiAxisDevice.cpp:99
virtual ~RawMultiAxisDevice()
Destructor.
Definition: RawMultiAxisDevice.cpp:38
virtual bool finalize() override
Finalize (de-initialize) the device.
Definition: RawMultiAxisDevice.cpp:67
void setAxisDominance(bool onOff)
Turns on or off the axis dominance setting for this device.
Definition: RawMultiAxisDevice.cpp:115
void setPositionScale(double scale)
Sets the position scale for this device.
Definition: RawMultiAxisDevice.cpp:83
double getOrientationScale() const
Gets the orientation scale for this device.
Definition: RawMultiAxisDevice.cpp:109
std::shared_ptr< RawMultiAxisScaffold > m_scaffold
Definition: RawMultiAxisDevice.h:114