Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
jsk_pcl_ros::EuclideanClustering Class Reference

#include <euclidean_cluster_extraction_nodelet.h>

List of all members.

Public Types

typedef
jsk_pcl_ros::EuclideanClusteringConfig 
Config
typedef std::vector
< Eigen::Vector4f,
Eigen::aligned_allocator
< Eigen::Vector4f > > 
Vector4fVector

Public Member Functions

 EuclideanClustering ()

Protected Member Functions

virtual std::vector< int > buildLabelTrackingPivotTable (double *D, Vector4fVector cogs, Vector4fVector new_cogs, double label_tracking_tolerance)
virtual void computeCentroidsOfClusters (Vector4fVector &ret, pcl::PointCloud< pcl::PointXYZ >::Ptr cloud, std::vector< pcl::PointIndices > cluster_indices)
virtual void computeDistanceMatrix (double *D, Vector4fVector &old_cogs, Vector4fVector &new_cogs)
void configCallback (Config &config, uint32_t level)
virtual void extract (const sensor_msgs::PointCloud2ConstPtr &input)
virtual void onInit ()
virtual std::vector
< pcl::PointIndices > 
pivotClusterIndices (std::vector< int > &pivot_table, std::vector< pcl::PointIndices > &cluster_indices)
bool serviceCallback (jsk_recognition_msgs::EuclideanSegment::Request &req, jsk_recognition_msgs::EuclideanSegment::Response &res)
virtual void subscribe ()
virtual void unsubscribe ()
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)

Protected Attributes

jsk_recognition_utils::Counter cluster_counter_
ros::Publisher cluster_num_pub_
Vector4fVector cogs_
jsk_topic_tools::TimeAccumulator kdtree_acc_
double label_tracking_tolerance
int maxsize_
int minsize_
boost::mutex mutex_
ros::Publisher result_pub_
jsk_topic_tools::TimeAccumulator segmentation_acc_
ros::ServiceServer service_
boost::shared_ptr
< dynamic_reconfigure::Server
< Config > > 
srv_
ros::Subscriber sub_input_
double tolerance

Detailed Description

Definition at line 70 of file euclidean_cluster_extraction_nodelet.h.


Member Typedef Documentation

typedef jsk_pcl_ros::EuclideanClusteringConfig jsk_pcl_ros::EuclideanClustering::Config

Definition at line 73 of file euclidean_cluster_extraction_nodelet.h.

typedef std::vector<Eigen::Vector4f, Eigen::aligned_allocator<Eigen::Vector4f> > jsk_pcl_ros::EuclideanClustering::Vector4fVector

Definition at line 76 of file euclidean_cluster_extraction_nodelet.h.


Constructor & Destructor Documentation

Definition at line 77 of file euclidean_cluster_extraction_nodelet.h.


Member Function Documentation

std::vector< int > jsk_pcl_ros::EuclideanClustering::buildLabelTrackingPivotTable ( double *  D,
Vector4fVector  cogs,
Vector4fVector  new_cogs,
double  label_tracking_tolerance 
) [protected, virtual]

Definition at line 280 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::computeCentroidsOfClusters ( Vector4fVector ret,
pcl::PointCloud< pcl::PointXYZ >::Ptr  cloud,
std::vector< pcl::PointIndices >  cluster_indices 
) [protected, virtual]

Definition at line 341 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::computeDistanceMatrix ( double *  D,
Vector4fVector old_cogs,
Vector4fVector new_cogs 
) [protected, virtual]

Definition at line 326 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::configCallback ( Config config,
uint32_t  level 
) [protected]

Definition at line 260 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::extract ( const sensor_msgs::PointCloud2ConstPtr &  input) [protected, virtual]

Definition at line 45 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::onInit ( void  ) [protected, virtual]

Definition at line 203 of file euclidean_cluster_extraction_nodelet.cpp.

std::vector< pcl::PointIndices > jsk_pcl_ros::EuclideanClustering::pivotClusterIndices ( std::vector< int > &  pivot_table,
std::vector< pcl::PointIndices > &  cluster_indices 
) [protected, virtual]

Definition at line 269 of file euclidean_cluster_extraction_nodelet.cpp.

bool jsk_pcl_ros::EuclideanClustering::serviceCallback ( jsk_recognition_msgs::EuclideanSegment::Request &  req,
jsk_recognition_msgs::EuclideanSegment::Response &  res 
) [protected]

Definition at line 149 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::subscribe ( ) [protected, virtual]

Definition at line 226 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::unsubscribe ( ) [protected, virtual]

Definition at line 234 of file euclidean_cluster_extraction_nodelet.cpp.

Definition at line 239 of file euclidean_cluster_extraction_nodelet.cpp.


Member Data Documentation

Definition at line 96 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 85 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 99 of file euclidean_cluster_extraction_nodelet.h.

jsk_topic_tools::TimeAccumulator jsk_pcl_ros::EuclideanClustering::kdtree_acc_ [protected]

Definition at line 95 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 90 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 92 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 91 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 80 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 83 of file euclidean_cluster_extraction_nodelet.h.

jsk_topic_tools::TimeAccumulator jsk_pcl_ros::EuclideanClustering::segmentation_acc_ [protected]

Definition at line 94 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 87 of file euclidean_cluster_extraction_nodelet.h.

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::EuclideanClustering::srv_ [protected]

Definition at line 79 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 84 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 89 of file euclidean_cluster_extraction_nodelet.h.


The documentation for this class was generated from the following files:


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jul 2 2019 19:41:46