Solar
|
Allows to store a point cloud. UUID: 264d4406-b726-4ce9-a430-35d8b5e70331
More...
#include <IPointCloudManager.h>
Public Member Functions | |
IPointCloudManager ()=default | |
IPointCloudStorage default constructor. | |
virtual | ~IPointCloudManager ()=default |
IPointCloudStorage default destructor. | |
virtual FrameworkReturnCode | addPoint (const SRef< SolAR::datastructure::CloudPoint > point)=0 |
This method allow to add a 3D point to the point cloud. More... | |
virtual FrameworkReturnCode | addPoints (const std::vector< SRef< SolAR::datastructure::CloudPoint > > &points)=0 |
This method allow to add a vector of 3D points to the point cloud. More... | |
virtual FrameworkReturnCode | addPoint (const SolAR::datastructure::CloudPoint &point)=0 |
This method allow to add a 3D point to the point cloud. More... | |
virtual FrameworkReturnCode | addPoints (const std::vector< SolAR::datastructure::CloudPoint > &points)=0 |
This method allow to add a vector of 3D points to the point cloud. More... | |
virtual FrameworkReturnCode | getPoint (const uint32_t id, SRef< SolAR::datastructure::CloudPoint > &point) const =0 |
This method allows to get a 3D point stored in the point cloud by its id. More... | |
virtual FrameworkReturnCode | getPoints (const std::vector< uint32_t > &ids, std::vector< SRef< SolAR::datastructure::CloudPoint > > &points) const =0 |
This method allows to get a set of 3D points stored in the point cloud by their ids. More... | |
virtual FrameworkReturnCode | getAllPoints (std::vector< SRef< SolAR::datastructure::CloudPoint > > &points) const =0 |
This method allows to get all 3D points stored in the point cloud. More... | |
virtual FrameworkReturnCode | suppressPoint (const uint32_t id)=0 |
This method allow to suppress a point stored in the point cloud by its id. More... | |
virtual FrameworkReturnCode | suppressPoints (const std::vector< uint32_t > &ids)=0 |
This method allow to suppress a vector of points stored in the point cloud by their ids. More... | |
virtual SolAR::datastructure::DescriptorType | getDescriptorType () const =0 |
This method allows to get the descriptor type used to extract descriptor for each cloud point. More... | |
virtual FrameworkReturnCode | setDescriptorType (const SolAR::datastructure::DescriptorType &type)=0 |
This method allows to set the descriptor type used to extract descriptor for each cloud point. More... | |
virtual bool | isExistPoint (const uint32_t id) const =0 |
This method allows to know if a point is already stored in the component. More... | |
virtual int | getNbPoints () const =0 |
This method allows to get the number of points stored in the point cloud. More... | |
virtual FrameworkReturnCode | saveToFile (const std::string &file) const =0 |
This method allows to save the point cloud to the external file. More... | |
virtual FrameworkReturnCode | loadFromFile (const std::string &file)=0 |
This method allows to load the point cloud from the external file. More... | |
virtual const SRef< SolAR::datastructure::PointCloud > & | getConstPointCloud () const =0 |
This method returns the point cloud. More... | |
virtual std::unique_lock< std::mutex > | getPointCloud (SRef< SolAR::datastructure::PointCloud > &pointCloud)=0 |
This method returns the point cloud. More... | |
virtual void | setPointCloud (const SRef< SolAR::datastructure::PointCloud > pointCloud)=0 |
This method is to set the point cloud. More... | |
Allows to store a point cloud. UUID: 264d4406-b726-4ce9-a430-35d8b5e70331
This storage component can be accessed by processing components to share persistent data.
|
pure virtual |
This method allow to add a 3D point to the point cloud.
[in] | point | the 3D point to add to the persistent point cloud |
|
pure virtual |
This method allow to add a 3D point to the point cloud.
[in] | point | the 3D point to add to the persistent point cloud |
|
pure virtual |
This method allow to add a vector of 3D points to the point cloud.
[in] | points | a vector of the 3D points to add to the persistent point cloud |
|
pure virtual |
This method allow to add a vector of 3D points to the point cloud.
[in] | points | a vector of the 3D points to add to the persistent point cloud |
|
pure virtual |
This method allows to get all 3D points stored in the point cloud.
[out] | points | the set of 3D point stored in the point cloud |
|
pure virtual |
This method returns the point cloud.
|
pure virtual |
This method allows to get the descriptor type used to extract descriptor for each cloud point.
|
pure virtual |
This method allows to get the number of points stored in the point cloud.
|
pure virtual |
This method allows to get a 3D point stored in the point cloud by its id.
[in] | id | id of the point to get |
[out] | point | a 3D point stored in the point cloud |
|
pure virtual |
This method returns the point cloud.
[out] | pointCloud | the point cloud |
|
pure virtual |
This method allows to get a set of 3D points stored in the point cloud by their ids.
[in] | ids | a vector of ids of the points to get |
[out] | points | a vector of 3D points stored in the point cloud |
|
pure virtual |
This method allows to know if a point is already stored in the component.
[in] | id | id of this point |
|
pure virtual |
This method allows to load the point cloud from the external file.
[in] | file | the file name |
|
pure virtual |
This method allows to save the point cloud 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 cloud point.
[in] | type | Descriptor type |
|
pure virtual |
This method is to set the point cloud.
[in] | pointCloud | the point cloud |
|
pure virtual |
This method allow to suppress a point stored in the point cloud by its id.
[in] | id | of the point to suppress |
|
pure virtual |
This method allow to suppress a vector of points stored in the point cloud by their ids.
[in] | ids | the vector of ids of the point to suppress |