|
gramods
|
The TrackedViewpoint is a Viewpoint that uses a SinglePoseTracker to updates its pose. More...
#include <TrackedViewpoint.hh>


Classes | |
| struct | Impl |
Public Member Functions | |
| Eigen::Vector3f | getPosition (Eye eye=Eye::MONO) |
| Returns the position of the Viewpoint. More... | |
| Eigen::Quaternionf | getOrientation (Eye eye=Eye::MONO) |
| Returns the orientation of the TrackedViewpoint. More... | |
| void | setSinglePoseTracker (std::shared_ptr< gmTrack::SinglePoseTracker > t) |
| Sets the tracker to read pose data from. More... | |
| void | traverse (Visitor *visitor) override |
| Propagates the specified visitor. More... | |
Public Member Functions inherited from gramods::gmGraphics::Viewpoint | |
| virtual void | setPosition (Eigen::Vector3f p) |
| Explicitly sets the position of the Viewpoint. More... | |
| void | setEyeSeparation (float e) |
| Sets the distance between the eyes for stereoscopic (or multiscopic) rendering, in internal units, typically meters. More... | |
| virtual void | setOrientation (Eigen::Quaternionf q) |
| Explicitly sets the orientation of the Viewpoint. More... | |
| virtual void | setUpDirection (Eigen::Vector3f up) |
| Set the up direction to be used in a later call to setLookAt. More... | |
| virtual void | setLookAt (Eigen::Vector3f p) |
| Sets a point that the viewpoint should be rotated towards. More... | |
| virtual void | unsetLookAt () |
| Unsets the look-at point so that the viewpoint orientation is no longer automatically rotated. More... | |
| virtual std::string | getDefaultKey () override |
| Returns the default key, in Configuration, for the Object. More... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data. More... | |
| virtual | ~Object () |
| Cleaning up internal data. More... | |
| virtual void | initialize () |
| Called to initialize the Object. More... | |
| virtual void | accept (Visitor *visitor) |
| Calls the visitors apply method with this as argument. More... | |
| bool | isInitialized () |
| Returns true if the Object is initialized. More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Static Public Attributes inherited from gramods::gmGraphics::Viewpoint | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Protected Attributes | |
| std::unique_ptr< Impl > | _impl |
Protected Attributes inherited from gramods::gmGraphics::Viewpoint | |
| Eigen::Vector3f | position = Eigen::Vector3f::Zero() |
| Eigen::Quaternionf | orientation = Eigen::Quaternionf::Identity() |
| Eigen::Vector3f | up_direction = Eigen::Vector3f(0, 1, 0) |
| std::optional< Eigen::Vector3f > | look_at |
| float | eye_separation = 0.06f |
The TrackedViewpoint is a Viewpoint that uses a SinglePoseTracker to updates its pose.
|
virtual |
Returns the orientation of the TrackedViewpoint.
Reimplemented from gramods::gmGraphics::Viewpoint.
Returns the position of the Viewpoint.
Reimplemented from gramods::gmGraphics::Viewpoint.
| void gramods::gmGraphics::TrackedViewpoint::setSinglePoseTracker | ( | std::shared_ptr< gmTrack::SinglePoseTracker > | t | ) |
Sets the tracker to read pose data from.
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.