9 #include "imstkTrackingDeviceControl.h" 27 std::shared_ptr<Camera> getCamera()
const {
return m_camera; }
28 void setCamera(std::shared_ptr<Camera> cam) {
m_camera = cam; }
38 void update(
const double& dt)
override;
std::shared_ptr< Camera > m_camera
Camera controlled by the external device.
void update(const double &dt) override
Updates the view of the provided camera.
Directly controls a camera given the device client pose, could be unsmooth depending on device...
Base class for all DeviceControls that track something in space (position and orientation) ...
void setOffsetUsingCurrentCameraPose()
Set the offsets based on the current camera pose.