opensurgsim
|
Public Member Functions | |
DeviceData (const std::string &path, RawMultiAxisDevice *device, std::unique_ptr< SystemInputDeviceHandle > &&handle) | |
Initialize the data. | |
DeviceData (DeviceData &&other) | |
Static Public Member Functions | |
static SurgSim::Math::Matrix33d | defaultCoordinateSystemRotation () |
static SystemInputDeviceHandle::AxisStates | initialAxisStates () |
static SystemInputDeviceHandle::ButtonStates | initialButtonStates () |
Public Attributes | |
const std::string | devicePath |
The system device path corresponding to this device. | |
RawMultiAxisDevice *const | deviceObject |
The corresponding device object. | |
std::unique_ptr< RawMultiAxisThread > | thread |
Processing thread. | |
std::unique_ptr< SystemInputDeviceHandle > | deviceHandle |
Device handle to read from. | |
SystemInputDeviceHandle::AxisStates | axisStates |
Persistent axis states. | |
SystemInputDeviceHandle::ButtonStates | buttonStates |
Persistent button states. | |
SurgSim::Math::Matrix33d | coordinateSystemRotation |
The rotation of the coordinate system (used to reorient, e.g. point +Y up) | |
double | positionScale |
Scale factor for the position axes. | |
double | orientationScale |
Scale factor for the orientation axes. | |
bool | useAxisDominance |
Controls whether dominance will be enabled. | |
boost::mutex | parametersMutex |
The mutex that protects the externally modifiable parameters. | |