|
gramods
|
The RelativeTrackerPoseRegistrationEstimator is a utility for estimating the relative pose of fixed trackers. More...
#include <RelativeTrackerPoseRegistrationEstimator.hh>
Classes | |
| struct | Impl |
| struct | Pose |
| Type combining position and orientation. More... | |
Public Member Functions | |
| void | addSinglePoseTracker (std::shared_ptr< SinglePoseTracker > tracker) |
| Adds a SinglePoseTracker to register. | |
| void | addMultiPoseTracker (std::shared_ptr< MultiPoseTracker > tracker) |
| Adds a MultiPoseTracker to register. | |
| void | setSamplesPerSecond (float n) |
| Sets the frequency at which samples are collected. | |
| void | setWarningThreshold (float d) |
| Sets the data offset required to trigger a warning. | |
| void | setInlierThreshold (float r) |
| Set the maximum positional distance from the average allowed for a sample to be included in the average. | |
| void | setOrientationWarningThreshold (float d) |
| Sets the data offset required to trigger a warning. | |
| void | setOrientationInlierThreshold (float r) |
| Set the maximum orientational distance (in radians) from the average allowed for a sample to be included in the average. | |
| size_t | getSinglePoseTrackerCount () const |
| Returns the number of SinglePoseTracker associated with the estimator. | |
| Pose | getSinglePoseTrackerPose (size_t idx) const |
| Returns the pose of the specified SinglePoseTracker. | |
| size_t | getMultiPoseTrackerCount () const |
| Returns the number of MultiPoseTracker associated with the estimator. | |
| std::map< int, Pose > | getMultiPoseTrackerPose (size_t idx) const |
| Returns the poses of the trackeres in the specified MultiPoseTracker. | |
| void | traverse (Visitor *visitor) override |
| Propagates the specified visitor. | |
Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data. | |
| virtual | ~Object () |
| Cleaning up internal data. | |
| virtual void | initialize () |
| Called to initialize the Object. | |
| virtual void | accept (Visitor *visitor) |
| Calls the visitors apply method with this as argument. | |
| virtual std::string | getDefaultKey () |
| Returns the default key for the Object when automatically instantiated in a Configuration, i.e. | |
| bool | isInitialized () |
| Returns true if the Object is initialized. | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
The RelativeTrackerPoseRegistrationEstimator is a utility for estimating the relative pose of fixed trackers.
These trackers may, for example, be attached to a frame that is moving during capturing. At least two different trackers are required for this to make sense.
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::addMultiPoseTracker | ( | std::shared_ptr< MultiPoseTracker > | tracker | ) |
Adds a MultiPoseTracker to register.
XML-attribute: multiPoseTracker
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::addSinglePoseTracker | ( | std::shared_ptr< SinglePoseTracker > | tracker | ) |
Adds a SinglePoseTracker to register.
XML-attribute: singlePoseTracker
| size_t gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::getMultiPoseTrackerCount | ( | ) | const |
Returns the number of MultiPoseTracker associated with the estimator.
| std::map< int, RelativeTrackerPoseRegistrationEstimator::Pose > gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::getMultiPoseTrackerPose | ( | size_t | idx | ) | const |
Returns the poses of the trackeres in the specified MultiPoseTracker.
| size_t gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::getSinglePoseTrackerCount | ( | ) | const |
Returns the number of SinglePoseTracker associated with the estimator.
| RelativeTrackerPoseRegistrationEstimator::Pose gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::getSinglePoseTrackerPose | ( | size_t | idx | ) | const |
Returns the pose of the specified SinglePoseTracker.
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::setInlierThreshold | ( | float | r | ) |
Set the maximum positional distance from the average allowed for a sample to be included in the average.
Default is -1 meaning that all samples are included.
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::setOrientationInlierThreshold | ( | float | r | ) |
Set the maximum orientational distance (in radians) from the average allowed for a sample to be included in the average.
Default is -1 meaning that all samples are included.
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::setOrientationWarningThreshold | ( | float | d | ) |
Sets the data offset required to trigger a warning.
Default is π/4 radians.
XML-attribute: orientationWarningThreshold
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::setSamplesPerSecond | ( | float | n | ) |
Sets the frequency at which samples are collected.
Default is
XML-attribute: samplesPerSecond
| void gramods::gmTrack::RelativeTrackerPoseRegistrationEstimator::setWarningThreshold | ( | float | d | ) |
Sets the data offset required to trigger a warning.
Default is 0.01, i.e. one cm.
XML-attribute: warningThreshold
|
overridevirtual |
Propagates the specified visitor.
Reimplemented from gramods::gmCore::Object.