gramods
|
Provides the pose as an offset from another single pose tracker. More...
#include <OffsetSinglePoseTracker.hh>
Public Member Functions | |
void | setSinglePoseTracker (std::shared_ptr< SinglePoseTracker > tracker) |
Sets the SinglePoseTracker to register data from. More... | |
void | setPositionOffset (Eigen::Vector3f p) |
Sets the position offset, in local tracker coordinates, to add to the pose data. More... | |
void | setOrientationOffset (Eigen::Quaternionf q) |
Sets the orientation offset, in local tracker coordinates, to add to the pose data. More... | |
void | setOffsetMatrix (Eigen::Matrix4f m) |
Sets the orientation and position offset by extracting these data from an offset matrix. More... | |
bool | getPose (PoseSample &p) override |
Replaces the contents of p with pose data. More... | |
void | traverse (Visitor *visitor) override |
Propagates the specified visitor. More... | |
![]() | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
typedef std::chrono::steady_clock | clock |
Provides the pose as an offset from another single pose tracker.
|
overridevirtual |
Replaces the contents of p with pose data.
Implements gramods::gmTrack::SinglePoseTracker.
void gramods::gmTrack::OffsetSinglePoseTracker::setOffsetMatrix | ( | Eigen::Matrix4f | m | ) |
Sets the orientation and position offset by extracting these data from an offset matrix.
XML-attribute: offsetMatrix
|
inline |
Sets the orientation offset, in local tracker coordinates, to add to the pose data.
XML-attribute: orientationOffset
|
inline |
Sets the position offset, in local tracker coordinates, to add to the pose data.
XML-attribute: positionOffset
|
inline |
Sets the SinglePoseTracker to register data from.
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.