Solar
Public Member Functions | List of all members
SolAR::api::slam::ITracking Class Referenceabstract

SLAM tracking task. UUID: c2182b8e-03e9-43a3-a5b9-326e80554cf8 More...

#include <ITracking.h>

Inheritance diagram for SolAR::api::slam::ITracking:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::slam::ITracking:
Collaboration graph
[legend]

Public Member Functions

 ITracking ()=default
 ITracking default constructor.
 
virtual ~ITracking ()=default
 IBootstrapper 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 void setNewKeyframe (const SRef< SolAR::datastructure::Keyframe > newKeyframe)=0
 this method is used to set new keyframe for tracking process More...
 
virtual bool checkNeedNewKeyframe ()=0
 check need to create a new keyframe More...
 
virtual FrameworkReturnCode process (const SRef< SolAR::datastructure::Frame > frame, SRef< SolAR::datastructure::Image > &displayImage)=0
 this method is used to process tracking More...
 

Detailed Description

SLAM tracking task. UUID: c2182b8e-03e9-43a3-a5b9-326e80554cf8

Member Function Documentation

◆ checkNeedNewKeyframe()

virtual bool SolAR::api::slam::ITracking::checkNeedNewKeyframe ( )
pure virtual

check need to create a new keyframe

Returns
true if need to create a new keyframe, else false

◆ process()

virtual FrameworkReturnCode SolAR::api::slam::ITracking::process ( const SRef< SolAR::datastructure::Frame frame,
SRef< SolAR::datastructure::Image > &  displayImage 
)
pure virtual

this method is used to process tracking

Parameters
[in]framethe input frame.
[out]displayImagethe image to display.
Returns
FrameworkReturnCode::SUCCESS if tracking succeed, else FrameworkReturnCode::_ERROR

◆ setCameraParameters()

virtual void SolAR::api::slam::ITracking::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.

◆ setNewKeyframe()

virtual void SolAR::api::slam::ITracking::setNewKeyframe ( const SRef< SolAR::datastructure::Keyframe newKeyframe)
pure virtual

this method is used to set new keyframe for tracking process

Parameters
[in]newKeyframmethe new keyframe

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