#include <PointcloudProcessor.hpp>
Definition at line 19 of file PointcloudProcessor.hpp.
grid_map::grid_map_pcl::PointcloudProcessor::PointcloudProcessor |
( |
| ) |
|
virtual grid_map::grid_map_pcl::PointcloudProcessor::~PointcloudProcessor |
( |
| ) |
|
|
virtualdefault |
Pointcloud::Ptr grid_map::grid_map_pcl::PointcloudProcessor::applyRigidBodyTransformation |
( |
Pointcloud::ConstPtr |
inputCloud | ) |
const |
Applies a rigid body transformation to the input cloud. The transformation is specified in the configuration file
- Parameters
-
[in] | ptr | to the input cloud |
- Returns
- resulting cloud when rigid body transformation has been applied
Definition at line 104 of file PointcloudProcessor.cpp.
Pointcloud::Ptr grid_map::grid_map_pcl::PointcloudProcessor::downsampleInputCloud |
( |
Pointcloud::ConstPtr |
inputCloud | ) |
const |
std::vector< Pointcloud::Ptr > grid_map::grid_map_pcl::PointcloudProcessor::extractClusterCloudsFromPointcloud |
( |
Pointcloud::ConstPtr |
inputCloud | ) |
const |
Finds clusters in the input cloud and returns vector point clouds. Each pointcloud in the vector is a cluster in the input cloud. There can be more than one cluster.
- Parameters
-
[in] | pointer | to the pcl point cloud |
- Returns
- vector of point clouds. Vector will be empty if no clusters are found.
Definition at line 45 of file PointcloudProcessor.cpp.
std::vector< pcl::PointIndices > grid_map::grid_map_pcl::PointcloudProcessor::extractClusterIndicesFromPointcloud |
( |
Pointcloud::ConstPtr |
inputCloud | ) |
const |
Finds clusters in the input cloud and returns vector of sets of indices. Each set of indices corresponds to the points in the input cloud that belong to a cluster. There can be more than one cluster.
- Parameters
-
[in] | pointer | to the pcl point cloud |
- Returns
- vector of sets of indices. Vector will be empty if no clusters are found.
Definition at line 58 of file PointcloudProcessor.cpp.
void grid_map::grid_map_pcl::PointcloudProcessor::loadParameters |
( |
const std::string & |
filename | ) |
|
Load parameters for the point cloud processing.
- Parameters
-
[in] | full | path to the config file with parameters |
Definition at line 31 of file PointcloudProcessor.cpp.
Pointcloud::Ptr grid_map::grid_map_pcl::PointcloudProcessor::makeCloudFromIndices |
( |
const std::vector< int > & |
indices, |
|
|
Pointcloud::ConstPtr |
inputCloud |
|
) |
| |
|
static |
Given a vector of indices and an input point cloud, the function creates a new cloud that contains points from the input point cloud indexed by the vector of indices.
- Parameters
-
[in] | vector | of indices |
[in] | pointer | to the pcl point cloud |
- Returns
- Pointer to the point cloud with points indexed by indices.
Definition at line 74 of file PointcloudProcessor.cpp.
Pointcloud::Ptr grid_map::grid_map_pcl::PointcloudProcessor::removeOutliersFromInputCloud |
( |
Pointcloud::ConstPtr |
inputCloud | ) |
const |
void grid_map::grid_map_pcl::PointcloudProcessor::savePointCloudAsPcdFile |
( |
const std::string & |
filename, |
|
|
const Pointcloud & |
cloud |
|
) |
| |
|
static |
Saves a point cloud to a pcd file.
- Parameters
-
[in] | full | path to the output cloud |
Definition at line 97 of file PointcloudProcessor.cpp.
The documentation for this class was generated from the following files: