A storage component to store a persistent set of keyframes, based on a std::set.
More...
|
| SolARKeyframesManager () |
| SolARKeyframesManager default constructor.
|
|
| ~SolARKeyframesManager ()=default |
| SolARKeyframesManager default destructor.
|
|
FrameworkReturnCode | addKeyframe (const SRef< SolAR::datastructure::Keyframe > keyframe) override |
| This method allow to add a frame to the keyframe manager component. More...
|
|
FrameworkReturnCode | addKeyframe (const SolAR::datastructure::Keyframe &keyframe) override |
| This method allow to add a frame to the key frame manager component. More...
|
|
FrameworkReturnCode | getKeyframe (const uint32_t id, SRef< SolAR::datastructure::Keyframe > &keyframe) const override |
| This method allows to get a keyframe by its id. More...
|
|
FrameworkReturnCode | getKeyframes (const std::vector< uint32_t > &ids, std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes) const override |
| This method allows to get a set of keyframes by their ids. More...
|
|
FrameworkReturnCode | getAllKeyframes (std::vector< SRef< SolAR::datastructure::Keyframe > > &keyframes) const override |
| This method allows to get all keyframes. More...
|
|
FrameworkReturnCode | suppressKeyframe (const uint32_t id) override |
| This method allow to suppress a keyframe by its id. More...
|
|
SolAR::datastructure::DescriptorType | getDescriptorType () const override |
| This method allows to get the descriptor type used to extract descriptor for each keyframe. More...
|
|
FrameworkReturnCode | setDescriptorType (const SolAR::datastructure::DescriptorType &type) override |
| This method allows to set the descriptor type used to extract descriptor for each keyframe. More...
|
|
bool | isExistKeyframe (const uint32_t id) const override |
| This method allows to know if a keyframe is already stored in the component. More...
|
|
int | getNbKeyframes () const override |
| This method allows to get the number of keyframes stored in the point cloud. More...
|
|
FrameworkReturnCode | saveToFile (const std::string &file) const override |
| This method allows to save the keyframes to the external file. More...
|
|
FrameworkReturnCode | loadFromFile (const std::string &file) override |
| This method allows to load the keyframes from the external file. More...
|
|
const SRef< datastructure::KeyframeCollection > & | getConstKeyframeCollection () const override |
| This method returns the keyframe collection. More...
|
|
std::unique_lock< std::mutex > | getKeyframeCollection (SRef< datastructure::KeyframeCollection > &keyframeCollection) override |
| This method returns the keyframe collection. More...
|
|
void | setKeyframeCollection (const SRef< datastructure::KeyframeCollection > keyframeCollection) override |
| This method is to set the keyframe collection. More...
|
|
void | unloadComponent () override final |
|
A storage component to store a persistent set of keyframes, based on a std::set.