Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
17 #define SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
29 class RawMultiAxisScaffold;
31 SURGSIM_STATIC_REGISTRATION(RawMultiAxisDevice);
129 #endif // SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISDEVICE_H
static double defaultPositionScale()
Definition: RawMultiAxisDevice.h:99
void setAxisDominance(bool onOff)
Turns on or off the axis dominance setting for this device.
Definition: RawMultiAxisDevice.cpp:119
std::shared_ptr< RawMultiAxisScaffold > m_scaffold
Definition: RawMultiAxisDevice.h:116
bool initialize() override
Fully initialize the device.
Definition: RawMultiAxisDevice.cpp:53
double m_orientationScale
Scale factor for the orientation axes; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:121
double getOrientationScale() const
Gets the orientation scale for this device.
Definition: RawMultiAxisDevice.cpp:113
Definition: CompoundShapeToGraphics.cpp:29
RawMultiAxisDevice(const std::string &uniqueName)
Constructor.
Definition: RawMultiAxisDevice.cpp:29
bool isInitialized() const override
Definition: RawMultiAxisDevice.cpp:81
MultiAxisDevice(const std::string &uniqueName)
Constructor.
Definition: MultiAxisDevice.cpp:31
bool m_useAxisDominance
Controls whether dominance will be enabled; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:123
void setPositionScale(double scale)
Sets the position scale for this device.
Definition: RawMultiAxisDevice.cpp:87
static double defaultOrientationScale()
Definition: RawMultiAxisDevice.h:106
A class implementing the communication with a multi-axis controller input device, for example a 3DCon...
Definition: RawMultiAxisDevice.h:56
SURGSIM_CLASSNAME(SurgSim::Devices::RawMultiAxisDevice)
bool finalize() override
Finalize (de-initialize) the device.
Definition: RawMultiAxisDevice.cpp:72
double m_positionScale
Scale factor for the position axes; stored locally before the device is initialized.
Definition: RawMultiAxisDevice.h:119
void setOrientationScale(double scale)
Sets the orientation scale for this device.
Definition: RawMultiAxisDevice.cpp:103
double getPositionScale() const
Gets the position scale for this device.
Definition: RawMultiAxisDevice.cpp:97
A class that implements the behavior of RawMultiAxisDevice objects.
Definition: RawMultiAxisScaffold.h:37
virtual ~RawMultiAxisDevice()
Destructor.
Definition: RawMultiAxisDevice.cpp:44
bool isUsingAxisDominance() const
Gets the axis dominance setting for this device.
Definition: RawMultiAxisDevice.cpp:129