7 #include "imstkSceneObjectController.h" 8 #include "imstkCollidingObject.h" 9 #include "imstkDeviceClient.h" 10 #include "imstkGeometry.h" 11 #include "imstkLogger.h" 15 SceneObjectController::SceneObjectController(
const std::string& name) :
16 TrackingDeviceControl(name)
25 LOG(WARNING) <<
"warning: could not update tracking info.";
34 if (!m_deviceClient->getTrackingEnabled())
std::shared_ptr< SceneObject > m_sceneObject
SceneObject controlled by the Tracker.
Base class for events which contain a type, priority, and data priority defaults to 0 and uses a grea...
virtual bool updateTrackingData(const double dt)
Update tracking data.
const Quatd & getOrientation() const
Set/Get the orientation of the tracker.
void update(const double &dt) override
Update controlled scene object using latest tracking information.
const Vec3d & getPosition() const
Set/Get the position of the tracker.
void postEvent(const T &e)
Emits the event Direct observers will be immediately called, in sync Queued observers will receive th...