gramods
|
Provides the pose from another multi pose tracker in a registered coordinate system. More...
#include <RegisteredMultiPoseTracker.hh>
Classes | |
struct | Impl |
Public Member Functions | |
void | setMultiPoseTracker (std::shared_ptr< MultiPoseTracker > tracker) |
Sets the MultiPoseTracker to register data from. More... | |
void | setRegistrationMatrix (Eigen::Matrix4f m) |
Sets the matrix that describes the transform from the tracker space to the registered space. More... | |
void | setBiasMatrix (Eigen::Matrix4f m) |
Sets the matrix that describes the transform from the tracker space to the registered space. More... | |
void | setPositionBias (Eigen::Vector3f p) |
Sets a position bias to the registration. More... | |
void | setOrientationBias (Eigen::Quaternionf q) |
Sets an orientation bias to the registration. More... | |
bool | getPose (std::map< int, 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 from another multi pose tracker in a registered coordinate system.
|
overridevirtual |
Replaces the contents of p with pose data.
Returns true if data could be read, false otherwise. Use sample time to check if data are fresh.
Implements gramods::gmTrack::MultiPoseTracker.
void gramods::gmTrack::RegisteredMultiPoseTracker::setBiasMatrix | ( | Eigen::Matrix4f | m | ) |
Sets the matrix that describes the transform from the tracker space to the registered space.
XML-attribute: registrationMatrix
void gramods::gmTrack::RegisteredMultiPoseTracker::setMultiPoseTracker | ( | std::shared_ptr< MultiPoseTracker > | tracker | ) |
Sets the MultiPoseTracker to register data from.
void gramods::gmTrack::RegisteredMultiPoseTracker::setOrientationBias | ( | Eigen::Quaternionf | q | ) |
Sets an orientation bias to the registration.
This is typically not needed.
XML-attribute: orientationBias
void gramods::gmTrack::RegisteredMultiPoseTracker::setPositionBias | ( | Eigen::Vector3f | p | ) |
void gramods::gmTrack::RegisteredMultiPoseTracker::setRegistrationMatrix | ( | Eigen::Matrix4f | m | ) |
Sets the matrix that describes the transform from the tracker space to the registered space.
XML-attribute: registrationMatrix
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.