2 #ifndef GRAMODS_GRAPHICS_TRACKEDVIEWPOINT
3 #define GRAMODS_GRAPHICS_TRACKEDVIEWPOINT
5 #include <gmGraphics/Viewpoint.hh>
7 #include <gmTrack/SinglePoseTracker.hh>
9 BEGIN_NAMESPACE_GMGRAPHICS;
25 Eigen::Vector3f getPosition(
Eye eye = Eye::MONO);
30 Eigen::Quaternionf getOrientation(
Eye eye = Eye::MONO);
35 void setSinglePoseTracker(std::shared_ptr<gmTrack::SinglePoseTracker> t);
42 void traverse(
Visitor *visitor)
override;
49 std::unique_ptr<Impl> _impl;
53 END_NAMESPACE_GMGRAPHICS;
The TrackedViewpoint is a Viewpoint that uses a SinglePoseTracker to updates its pose.
Definition: TrackedViewpoint.hh:16
The viewpoint represents a point in space from which the view is to be rendered, and an orientation.
Definition: Viewpoint.hh:28
The visitor of a design pattern for automatic traversal.
Definition: Object.hh:75
An indexed eye that can be rendered.
Definition: Eye.hh:20
Definition: TrackedViewpoint.cpp:12