A set of keyframes. This class provides a set of keyframes.
More...
#include <KeyframeCollection.h>
|
class | boost::serialization::access |
|
A set of keyframes. This class provides a set of keyframes.
◆ addKeyframe() [1/2]
This method allow to add a frame to the key frame manager component.
- Parameters
-
[in] | frame | the frame to add to the set of persistent keyframes |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ addKeyframe() [2/2]
This method allow to add a frame to the keyframe manager component.
- Parameters
-
[in] | frame | the frame to add to the set of persistent keyframes |
- Returns
- FrameworkReturnCode::SUCCESS if the addition succeed, else FrameworkReturnCode::_ERROR.
◆ getAllKeyframes()
This method allows to get all keyframes.
- Parameters
-
- Returns
- FrameworkReturnCode::SUCCESS if succeed, else FrameworkReturnCode::_ERROR.
◆ getDescriptorType()
DescriptorType SolAR::datastructure::KeyframeCollection::getDescriptorType |
( |
| ) |
const |
This method allows to get the descriptor type used to extract descriptor for each keyframe.
- Returns
- Descriptor type
◆ getKeyframe()
This method allows to get a keyframe by its id.
- Parameters
-
[in] | id | of the keyframe to get |
[out] | a | keyframe stored in the keyframes manager |
- Returns
- FrameworkReturnCode::SUCCESS if succeed, else FrameworkReturnCode::_ERROR.
◆ getKeyframes()
This method allows to get a set of keyframes by their ids.
- Parameters
-
[in] | a | vector of ids of the keyframes to get |
[out] | a | vector of keyframes stored in the keyframe manager |
- Returns
- FrameworkReturnCode::SUCCESS if succeed, else FrameworkReturnCode::_ERROR.
◆ getNbKeyframes()
int SolAR::datastructure::KeyframeCollection::getNbKeyframes |
( |
| ) |
const |
This method allows to get the number of keyframes stored in the point cloud.
- Returns
- The number of keyframes
◆ isExistKeyframe()
bool SolAR::datastructure::KeyframeCollection::isExistKeyframe |
( |
const uint32_t |
id | ) |
const |
This method allows to know if a keyframe is already stored in the component.
- Parameters
-
- Returns
- true if exist, else false
◆ setDescriptorType()
FrameworkReturnCode SolAR::datastructure::KeyframeCollection::setDescriptorType |
( |
const SolAR::datastructure::DescriptorType & |
type | ) |
|
This method allows to set the descriptor type used to extract descriptor for each keyframe.
- Parameters
-
[in] | type | the descriptor type |
- Returns
-
FrameworkReturnCode::SUCCESS if succeed, else FrameworkReturnCode::_ERROR.
◆ suppressKeyframe()
FrameworkReturnCode SolAR::datastructure::KeyframeCollection::suppressKeyframe |
( |
const uint32_t |
id | ) |
|
This method allow to suppress a keyframe by its id.
- Parameters
-
[in] | id | of the keyframe to suppress |
- Returns
- FrameworkReturnCode::SUCCESS if the suppression succeed, else FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following files: