Solar
|
Allows to store a set of keyframes. UUID: 2c147595-6c74-4f69-b63d-91e162c311ed
More...
#include <IKeyframesManager.h>
Public Member Functions | |
IKeyframesManager ()=default | |
IKeyframesStorage default constructor. | |
virtual | ~IKeyframesManager ()=default |
IKeyframesStorage default destructor. | |
virtual FrameworkReturnCode | addKeyframe (const SRef< SolAR::datastructure::Keyframe > keyframe)=0 |
This method allow to add a frame to the keyframe manager component. More... | |
virtual FrameworkReturnCode | addKeyframe (const SolAR::datastructure::Keyframe &keyframe)=0 |
This method allow to add a frame to the key frame manager component. More... | |
virtual FrameworkReturnCode | getKeyframe (const uint32_t id, SRef< SolAR::datastructure::Keyframe > &keyframe) const =0 |
This method allows to get a keyframe by its id. More... | |
virtual FrameworkReturnCode | getKeyframes (const std::vector< uint32_t > &ids, std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes) const =0 |
This method allows to get a set of keyframes by their ids. More... | |
virtual FrameworkReturnCode | getAllKeyframes (std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes) const =0 |
This method allows to get all keyframes. More... | |
virtual FrameworkReturnCode | suppressKeyframe (const uint32_t id)=0 |
This method allow to suppress a keyframe by its id. More... | |
virtual SolAR::datastructure::DescriptorType | getDescriptorType () const =0 |
This method allows to get the descriptor type used to extract descriptor for each keyframe. More... | |
virtual FrameworkReturnCode | setDescriptorType (const SolAR::datastructure::DescriptorType &type)=0 |
This method allows to set the descriptor type used to extract descriptor for each keyframe. More... | |
virtual bool | isExistKeyframe (const uint32_t id) const =0 |
This method allows to know if a keyframe is already stored in the component. More... | |
virtual int | getNbKeyframes () const =0 |
This method allows to get the number of keyframes stored in the point cloud. More... | |
virtual FrameworkReturnCode | saveToFile (const std::string &file) const =0 |
This method allows to save the keyframes to the external file. More... | |
virtual FrameworkReturnCode | loadFromFile (const std::string &file)=0 |
This method allows to load the keyframes from the external file. More... | |
virtual const SRef< SolAR::datastructure::KeyframeCollection > & | getConstKeyframeCollection () const =0 |
This method returns the keyframe collection. More... | |
virtual std::unique_lock< std::mutex > | getKeyframeCollection (SRef< SolAR::datastructure::KeyframeCollection > &keyframeCollection)=0 |
This method returns the keyframe collection. More... | |
virtual void | setKeyframeCollection (const SRef< SolAR::datastructure::KeyframeCollection > keyframeCollection)=0 |
This method is to set the keyframe collection. More... | |
Allows to store a set of keyframes. UUID: 2c147595-6c74-4f69-b63d-91e162c311ed
This storage component can be accessed by processing components to share persistent data.
|
pure virtual |
This method allow to add a frame to the key frame manager component.
[in] | frame | the frame to add to the set of persistent keyframes |
|
pure virtual |
This method allow to add a frame to the keyframe manager component.
[in] | frame | the frame to add to the set of persistent keyframes |
|
pure virtual |
This method allows to get all keyframes.
[out] | keyframes | the set of keyframes |
|
pure virtual |
This method returns the keyframe collection.
|
pure virtual |
This method allows to get the descriptor type used to extract descriptor for each keyframe.
|
pure virtual |
This method allows to get a keyframe by its id.
[in] | id | id of the keyframe to get |
[out] | keyframe | a keyframe stored in the keyframes manager |
|
pure virtual |
This method returns the keyframe collection.
[out] | keyframeCollection | the keyframe collection of map |
|
pure virtual |
This method allows to get a set of keyframes by their ids.
[in] | ids | a vector of ids of the keyframes to get |
[out] | keyframes | a vector of keyframes stored in the keyframe manager |
|
pure virtual |
This method allows to get the number of keyframes stored in the point cloud.
|
pure virtual |
This method allows to know if a keyframe is already stored in the component.
[in] | id | id of this keyframe |
|
pure virtual |
This method allows to load the keyframes from the external file.
[in] | file | the file name |
|
pure virtual |
This method allows to save the keyframes to the external file.
[in] | file | the file name |
|
pure virtual |
This method allows to set the descriptor type used to extract descriptor for each keyframe.
[in] | type | the descriptor type |
|
pure virtual |
This method is to set the keyframe collection.
[in] | keyframeCollection | the keyframe collection of map |
|
pure virtual |
This method allow to suppress a keyframe by its id.
[in] | id | id of the keyframe to suppress |