9 #include "imstkDeviceClient.h" 11 #include <unordered_map> 31 void init(
const unsigned int numButtons = 0);
34 void cleanUp() =
delete;
60 void setButton(
const unsigned int buttonId,
const bool buttonStatus);
63 std::unordered_map<int, bool> m_buttons;
The device client's represents the device and provides an interface to acquire data from a device...
void setPosition(const Vec3d &pos)
Set position.
void init(const unsigned int numButtons=0)
Initialize the client.
void setButton(const unsigned int buttonId, const bool buttonStatus)
Set the button status if it exists.
void setVelocity(const Vec3d &vel)
Set velocity.
void setOrientation(const Quatd &orient)
Set orientation.
Allows setting the pose of the device from external caller without a real device connected.