Solar
Public Member Functions | List of all members
SolAR::api::solver::pose::ITrackablePose Class Referenceabstract

Estimate camera pose based on a given trackable. UUID: d5247968-b74e-4afb-9abd-546021441ad4 More...

#include <ITrackablePose.h>

Inheritance diagram for SolAR::api::solver::pose::ITrackablePose:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::solver::pose::ITrackablePose:
Collaboration graph
[legend]

Public Member Functions

 ITrackablePose ()=default
 ITrackablePose default constructor.
 
virtual ~ITrackablePose ()=default
 ITrackablePose default destructor.
 
virtual void setCameraParameters (const SolAR::datastructure::CamCalibration &intrinsicParams, const SolAR::datastructure::CamDistortion &distorsionParams)=0
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
virtual FrameworkReturnCode setTrackable (const SRef< SolAR::datastructure::Trackable > trackable)=0
 this method is used to set the trackable used to estimate the pose. More...
 
virtual FrameworkReturnCode estimate (const SRef< SolAR::datastructure::Image > image, SolAR::datastructure::Transform3Df &pose)=0
 Estimates camera pose based on a fiducial marker. More...
 

Detailed Description

Estimate camera pose based on a given trackable. UUID: d5247968-b74e-4afb-9abd-546021441ad4

Member Function Documentation

◆ estimate()

virtual FrameworkReturnCode SolAR::api::solver::pose::ITrackablePose::estimate ( const SRef< SolAR::datastructure::Image image,
SolAR::datastructure::Transform3Df pose 
)
pure virtual

Estimates camera pose based on a fiducial marker.

Parameters
[in]imageinput image.
[out]posecamera pose.
Returns
FrameworkReturnCode::SUCCESS if the estimation succeed, else FrameworkReturnCode::_ERROR

◆ setCameraParameters()

virtual void SolAR::api::solver::pose::ITrackablePose::setCameraParameters ( const SolAR::datastructure::CamCalibration intrinsicParams,
const SolAR::datastructure::CamDistortion distorsionParams 
)
pure virtual

this method is used to set intrinsic parameters and distorsion of the camera

Parameters
[in]intrinsicParamscamera calibration matrix parameters.
[in]distorsionParamscamera distorsion parameters.

◆ setTrackable()

virtual FrameworkReturnCode SolAR::api::solver::pose::ITrackablePose::setTrackable ( const SRef< SolAR::datastructure::Trackable trackable)
pure virtual

this method is used to set the trackable used to estimate the pose.

Parameters
[in]thetrackable used to estimate the pose.

The documentation for this class was generated from the following file: