Class EuclideanClusterExtraction

Inheritance Relationships

Base Type

  • public PCLNodelet

Class Documentation

class EuclideanClusterExtraction : public PCLNodelet

EuclideanClusterExtraction represents a segmentation class for cluster extraction in an Euclidean sense.

Author

Radu Bogdan Rusu

Public Functions

inline EuclideanClusterExtraction()

Empty constructor.

Protected Functions

void onInit()

Nodelet initialization routine.

void subscribe()

LazyNodelet connection routine.

void unsubscribe()
void config_callback(EuclideanClusterExtractionConfig &config, uint32_t level)

Dynamic reconfigure callback.

Parameters:
  • config – the config object

  • level – the dynamic reconfigure level

void input_indices_callback(const PointCloudConstPtr &cloud, const PointIndicesConstPtr &indices)

Input point cloud callback.

Parameters:
  • cloud – the pointer to the input point cloud

  • indices – the pointer to the input point cloud indices

Protected Attributes

bool publish_indices_

Publish indices or convert to PointCloud clusters. Default: false.

int max_clusters_

Maximum number of clusters to publish.

boost::shared_ptr<dynamic_reconfigure::Server<EuclideanClusterExtractionConfig>> srv_

Pointer to a dynamic reconfigure service.