gramods
Loading...
Searching...
No Matches
TrackedViewpoint.hh
1
2#ifndef GRAMODS_GRAPHICS_TRACKEDVIEWPOINT
3#define GRAMODS_GRAPHICS_TRACKEDVIEWPOINT
4
5#include <gmGraphics/Viewpoint.hh>
6
7#include <gmTrack/SinglePoseTracker.hh>
8
9BEGIN_NAMESPACE_GMGRAPHICS;
10
16 : public gmGraphics::Viewpoint {
17
18public:
19
21
25 Eigen::Vector3f getPosition(Eye eye = Eye::MONO);
26
30 Eigen::Quaternionf getOrientation(Eye eye = Eye::MONO);
31
35 void setSinglePoseTracker(std::shared_ptr<gmTrack::SinglePoseTracker> t);
36
42 void traverse(Visitor *visitor) override;
43
44 GM_OFI_DECLARE;
45
46protected:
47
48 struct Impl;
49 std::unique_ptr<Impl> _impl;
50
51};
52
53END_NAMESPACE_GMGRAPHICS;
54
55#endif
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