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

#include <euclidean_cluster_extraction_nodelet.h>

Inheritance diagram for jsk_pcl_ros::EuclideanClustering:
Inheritance graph
[legend]

List of all members.

Public Types

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

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_pcl_ros::EuclideanSegment::Request &req, jsk_pcl_ros::EuclideanSegment::Response &res)
virtual void subscribe ()
virtual void unsubscribe ()
void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)

Protected Attributes

Counter cluster_counter_
ros::Publisher cluster_num_pub_
Vector4fVector cogs_
jsk_pcl_ros::TimeredDiagnosticUpdater::Ptr diagnostic_updater_
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
jsk_topic_tools::VitalChecker::Ptr vital_checker_

Detailed Description

Definition at line 73 of file euclidean_cluster_extraction_nodelet.h.


Member Typedef Documentation

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

Definition at line 76 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 79 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 284 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 345 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 330 of file euclidean_cluster_extraction_nodelet.cpp.

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

Definition at line 264 of file euclidean_cluster_extraction_nodelet.cpp.

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

Definition at line 44 of file euclidean_cluster_extraction_nodelet.cpp.

void jsk_pcl_ros::EuclideanClustering::onInit ( void  ) [protected, virtual]
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 273 of file euclidean_cluster_extraction_nodelet.cpp.

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

Definition at line 134 of file euclidean_cluster_extraction_nodelet.cpp.

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

Definition at line 240 of file euclidean_cluster_extraction_nodelet.cpp.


Member Data Documentation

Definition at line 101 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 88 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 104 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 97 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 100 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 93 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 95 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 94 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 83 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 86 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 99 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 90 of file euclidean_cluster_extraction_nodelet.h.

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

Definition at line 82 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 87 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 92 of file euclidean_cluster_extraction_nodelet.h.

Definition at line 98 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 Wed Sep 16 2015 04:36:49