Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H
17 #define SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H
30 SURGSIM_STATIC_REGISTRATION(NimbleDevice);
95 #endif // SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H
virtual ~NimbleDevice()
Destructor.
Definition: NimbleDevice.cpp:34
bool initialize() override
Fully initialize the device.
Definition: NimbleDevice.cpp:52
void setupToTrackRightHand()
Set the right hand to be tracked.
Definition: NimbleDevice.cpp:47
A class implementing the communication with the Nimble server.
Definition: NimbleDevice.h:57
Definition: CompoundShapeToGraphics.cpp:29
A class that manages Nimble devices.
Definition: NimbleScaffold.h:36
size_t m_trackedHandDataIndex
Indicate whether the hand tracked is left (0) or right (1).
Definition: NimbleDevice.h:89
void setupToTrackLeftHand()
Set the left hand to be tracked.
Definition: NimbleDevice.cpp:42
std::shared_ptr< NimbleScaffold > m_scaffold
The shared pointer to the NimbleScaffold.
Definition: NimbleDevice.h:86
NimbleDevice(const std::string &uniqueName)
Constructor.
Definition: NimbleDevice.cpp:29
SURGSIM_CLASSNAME(SurgSim::Devices::NimbleDevice)
bool isInitialized() const override
Definition: NimbleDevice.cpp:75
bool finalize() override
Finalize (de-initialize) the device.
Definition: NimbleDevice.cpp:67