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