gramods
|
The base of RelativeSinglePoseTrackers. More...
#include <RelativeSinglePoseTracker.hh>
Public Member Functions | |
bool | getPose (PoseSample &p) override |
Replaces the contents of p with pose data. More... | |
void | setOriginTracker (std::shared_ptr< SinglePoseTracker > tracker) |
Sets the tracker to be used to read off the origin pose of the target tracker. More... | |
void | setTargetTracker (std::shared_ptr< SinglePoseTracker > tracker) |
Sets the tracker to be used to read off the target pose relative to the pose extracted from the origin tracker. 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 |
The base of RelativeSinglePoseTrackers.
|
overridevirtual |
Replaces the contents of p with pose data.
Implements gramods::gmTrack::SinglePoseTracker.
void gramods::gmTrack::RelativeSinglePoseTracker::setOriginTracker | ( | std::shared_ptr< SinglePoseTracker > | tracker | ) |
Sets the tracker to be used to read off the origin pose of the target tracker.
XML-attribute: originTracker
void gramods::gmTrack::RelativeSinglePoseTracker::setTargetTracker | ( | std::shared_ptr< SinglePoseTracker > | tracker | ) |
Sets the tracker to be used to read off the target pose relative to the pose extracted from the origin tracker.
XML-attribute: targetTracker
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.