Solar
Public Member Functions | List of all members
SolAR::api::solver::map::IMapUpdate Class Referenceabstract

Allow to update the global map after merging a local map into the global map. UUID: 943dd9a0-4889-489a-80a7-84be1a6c1650 More...

#include <IMapUpdate.h>

Inheritance diagram for SolAR::api::solver::map::IMapUpdate:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::solver::map::IMapUpdate:
Collaboration graph
[legend]

Public Member Functions

 IMapUpdate ()=default
 IMapUpdate default constructor.
 
virtual ~IMapUpdate ()=default
 IMapUpdate default destructor.
 
virtual void setCameraParameters (const SolAR::datastructure::CameraParameters &camParams)=0
 this method is used to set intrinsic parameters and distorsion of the camera More...
 
virtual FrameworkReturnCode update (SRef< SolAR::datastructure::Map > globalMap, const std::vector< uint32_t > &newKeyframeIds)=0
 Update the global map. More...
 

Detailed Description

Allow to update the global map after merging a local map into the global map. UUID: 943dd9a0-4889-489a-80a7-84be1a6c1650

Member Function Documentation

◆ setCameraParameters()

virtual void SolAR::api::solver::map::IMapUpdate::setCameraParameters ( const SolAR::datastructure::CameraParameters camParams)
pure virtual

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

Parameters
[in]camParamsCamera parameters.

◆ update()

virtual FrameworkReturnCode SolAR::api::solver::map::IMapUpdate::update ( SRef< SolAR::datastructure::Map globalMap,
const std::vector< uint32_t > &  newKeyframeIds 
)
pure virtual

Update the global map.

Parameters
[in,out]globalMapthe global map
[in]newKeyframeIdsthe ids of new keyframes.
Returns
FrameworkReturnCode::SUCCESS if the fusion succeed, else FrameworkReturnCode::_ERROR.

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