Solar
|
Allow to manage all components of a map. UUID: 90075c1b-915b-469d-b92d-41c5d575bf15
More...
#include <IMapManager.h>
Public Member Functions | |
IMapManager ()=default | |
IMapManager default constructor. | |
virtual | ~IMapManager () |
IMapManager default destructor. | |
virtual FrameworkReturnCode | setMap (const SRef< SolAR::datastructure::Map > map)=0 |
Set the map. More... | |
virtual FrameworkReturnCode | getMap (SRef< SolAR::datastructure::Map > &map)=0 |
Get the map. More... | |
virtual FrameworkReturnCode | getSubmap (uint32_t idCenteredKeyframe, uint32_t nbKeyframes, SRef< SolAR::datastructure::Map > &submap)=0 |
Get the submap around a centered keyframe. More... | |
virtual FrameworkReturnCode | getLocalPointCloud (const std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes, std::vector< SRef< SolAR::datastructure::CloudPoint > > &localPointCloud) const =0 |
Get local point cloud seen from the keyframes. More... | |
virtual FrameworkReturnCode | getLocalPointCloud (const SRef< SolAR::datastructure::Keyframe > keyframe, const float minWeightNeighbor, std::vector< SRef< SolAR::datastructure::CloudPoint > > &localPointCloud) const =0 |
Get local point cloud seen from the keyframe and its neighbors. More... | |
virtual FrameworkReturnCode | addCloudPoint (const SRef< SolAR::datastructure::CloudPoint > cloudPoint)=0 |
Add a point cloud to map manager and update visibility of keyframes and covisibility graph. More... | |
virtual FrameworkReturnCode | removeCloudPoint (const SRef< SolAR::datastructure::CloudPoint > cloudPoint)=0 |
Remove a point cloud from map manager and update visibility of keyframes and covisibility graph. More... | |
virtual FrameworkReturnCode | addKeyframe (const SRef< SolAR::datastructure::Keyframe > keyframe)=0 |
Add a keyframe to map manager. More... | |
virtual FrameworkReturnCode | removeKeyframe (const SRef< SolAR::datastructure::Keyframe > keyframe)=0 |
Remove a keyframe from map manager and update visibility of point cloud and covisibility graph. More... | |
virtual int | pointCloudPruning (const std::vector< SRef< SolAR::datastructure::CloudPoint > > &cloudPoints={})=0 |
Prune cloud points of a map. More... | |
virtual int | keyframePruning (const std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes={})=0 |
Prune keyframes of a map. More... | |
virtual FrameworkReturnCode | saveToFile () const =0 |
Save the map to the external file. More... | |
virtual FrameworkReturnCode | loadFromFile ()=0 |
Load the map from the external file. More... | |
virtual FrameworkReturnCode | deleteFile ()=0 |
Delete the map in external file. More... | |
Allow to manage all components of a map. UUID: 90075c1b-915b-469d-b92d-41c5d575bf15
|
pure virtual |
Add a point cloud to map manager and update visibility of keyframes and covisibility graph.
[in] | cloudPoint | the cloud point to add to the map manager |
|
pure virtual |
Add a keyframe to map manager.
[in] | keyframe | the keyframe to add to the map manager |
|
pure virtual |
Delete the map in external file.
|
pure virtual |
Get local point cloud seen from the keyframe and its neighbors.
[in] | keyframe | the keyframe to get local point cloud |
[in] | minWeightNeighbor | the weight to get keyframe neighbors |
[out] | localPointCloud | the local point cloud |
|
pure virtual |
Get local point cloud seen from the keyframes.
[in] | keyframes | the keyframes to get local point cloud |
[out] | localPointCloud | the local point cloud seen by the keyframes |
|
pure virtual |
Get the map.
[out] | map | the data of map |
|
pure virtual |
Get the submap around a centered keyframe.
[in] | idCenteredKeyframe | the id of the centered keyframe |
[in] | nbKeyframes | the maximum number of keyframes of the submap |
[out] | submap | the submap |
|
pure virtual |
Prune keyframes of a map.
[in] | keyframes | the keyframes are checked to prune |
|
pure virtual |
Load the map from the external file.
|
pure virtual |
Prune cloud points of a map.
[in] | cloudPoints | the cloud points are checked to prune |
|
pure virtual |
Remove a point cloud from map manager and update visibility of keyframes and covisibility graph.
[in] | cloudPoint | the cloud point to remove to the map manager |
|
pure virtual |
Remove a keyframe from map manager and update visibility of point cloud and covisibility graph.
[in] | keyframe | the keyframe to remove from the map manager |
|
pure virtual |
Save the map to the external file.
|
pure virtual |
Set the map.
[in] | map | the data of map |