Merges several labeled or unlabeled point clouds into one labeled point cloud.
More...
#include <VisionX/libraries/PointCloudTools/MergedLabeledPointCloud.h>
|
| using | Label = uint32_t |
| |
| using | PointL = pcl::PointXYZRGBL |
| |
| using | PointT = pcl::PointXYZRGBA |
| |
|
| pcl::PointCloud< PointL >::Ptr | getResultPointCloud () |
| | Get the result point cloud.
|
| |
| | MergedLabeledPointCloud () |
| | Constructor.
|
| |
| void | setInputPointCloud (const std::string &name, pcl::PointCloud< PointL >::ConstPtr inputCloud, bool isLabeled=true) |
| | Set a (new) labeled or unlabeled input point cloud.
|
| |
| void | setInputPointCloud (const std::string &name, pcl::PointCloud< PointL >::ConstPtr inputCloud, visionx::PointContentType originalType) |
| | Set a (new) input point cloud.
|
| |
| void | setInputPointCloud (const std::string &name, pcl::PointCloud< PointT >::ConstPtr inputCloud) |
| | Set a (new) unlabeled input point cloud.
|
| |
Merges several labeled or unlabeled point clouds into one labeled point cloud.
◆ Label
◆ PointL
| using PointL = pcl::PointXYZRGBL |
◆ PointT
| using PointT = pcl::PointXYZRGBA |
◆ MergedLabeledPointCloud()
◆ getResultPointCloud()
| auto getResultPointCloud |
( |
| ) |
|
Get the result point cloud.
It is rebuild if necessary.
- Returns
- The result point cloud.
◆ setInputPointCloud() [1/3]
| void setInputPointCloud |
( |
const std::string & | name, |
|
|
pcl::PointCloud< PointL >::ConstPtr | inputCloud, |
|
|
bool | isLabeled = true ) |
Set a (new) labeled or unlabeled input point cloud.
Stores the given point cloud as latest point cloud with the given name, which will be used when getting the result point cloud. If isLabeled is passed as false, the point cloud will receive a (new) constant label.
- Parameters
-
| name | The point cloud's name. |
| inputCloud | The input point cloud. |
| isLabeld | Whether the point cloud has valid labels. |
◆ setInputPointCloud() [2/3]
| void setInputPointCloud |
( |
const std::string & | name, |
|
|
pcl::PointCloud< PointL >::ConstPtr | inputCloud, |
|
|
visionx::PointContentType | originalType ) |
Set a (new) input point cloud.
- Parameters
-
| name | The point cloud's name |
| inputCloud | The input point cloud. |
| originalType | The providers point type (used to check whether the cloud is labeled or not). |
◆ setInputPointCloud() [3/3]
| void setInputPointCloud |
( |
const std::string & | name, |
|
|
pcl::PointCloud< PointT >::ConstPtr | inputCloud ) |
Set a (new) unlabeled input point cloud.
The point cloud will receive a (new) constant label.
- Parameters
-
| name | The point cloud name. |
| inputCloud | The input point cloud. |
The documentation for this class was generated from the following files: