Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation Class Reference

#include <region_growing_multiple_plane_segmentation.h>

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

Public Types

typedef RegionGrowingMultiplePlaneSegmentationConfig Config
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, sensor_msgs::PointCloud2 > NormalSyncPolicy
 
typedef pcl::PointXYZRGB PointT
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 RegionGrowingMultiplePlaneSegmentation ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Protected Member Functions

virtual void configCallback (Config &config, uint32_t level)
 
virtual void onInit ()
 
virtual void ransacEstimation (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr &cloud, const pcl::PointIndices::Ptr &indices, pcl::PointIndices &inliers, pcl::ModelCoefficients &coefficient)
 
virtual void segment (const sensor_msgs::PointCloud2::ConstPtr &msg, const sensor_msgs::PointCloud2::ConstPtr &normal_msg)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Static Protected Member Functions

static bool regionGrowingFunction (const pcl::PointXYZRGBNormal &a, const pcl::PointXYZRGBNormal &b, float distance)
 
static void setCondifionFunctionParameter (const double angular_threshold, const double distance_threshold)
 

Protected Attributes

double angular_threshold_
 
double cluster_tolerance_
 
double distance_threshold_
 
bool done_initialization_
 
double max_area_
 
double max_curvature_
 
int max_size_
 
double min_area_
 
int min_size_
 
boost::mutex mutex_
 
ros::Publisher pub_average_time_
 
ros::Publisher pub_clustering_result_
 
ros::Publisher pub_coefficients_
 
ros::Publisher pub_inliers_
 
ros::Publisher pub_latest_time_
 
ros::Publisher pub_polygons_
 
int ransac_refine_max_iterations_
 
double ransac_refine_outlier_distance_threshold_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_input_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_normal_
 
boost::shared_ptr< message_filters::Synchronizer< NormalSyncPolicy > > sync_
 
jsk_recognition_utils::WallDurationTimer timer_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Static Protected Attributes

static double global_angular_threshold = 0.0
 
static boost::mutex global_custom_condigion_function_mutex
 
static double global_distance_threshold = 0.0
 

Detailed Description

Definition at line 56 of file region_growing_multiple_plane_segmentation.h.

Member Typedef Documentation

typedef RegionGrowingMultiplePlaneSegmentationConfig jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::Config

Definition at line 62 of file region_growing_multiple_plane_segmentation.h.

Definition at line 65 of file region_growing_multiple_plane_segmentation.h.

Definition at line 60 of file region_growing_multiple_plane_segmentation.h.

Constructor & Destructor Documentation

jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::RegionGrowingMultiplePlaneSegmentation ( )
inline

Definition at line 66 of file region_growing_multiple_plane_segmentation.h.

Member Function Documentation

void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual
void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::onInit ( void  )
protectedvirtual
void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::ransacEstimation ( const pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud,
const pcl::PointIndices::Ptr &  indices,
pcl::PointIndices &  inliers,
pcl::ModelCoefficients &  coefficient 
)
protectedvirtual
static bool jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::regionGrowingFunction ( const pcl::PointXYZRGBNormal &  a,
const pcl::PointXYZRGBNormal &  b,
float  distance 
)
inlinestaticprotected

Definition at line 99 of file region_growing_multiple_plane_segmentation.h.

void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::segment ( const sensor_msgs::PointCloud2::ConstPtr &  msg,
const sensor_msgs::PointCloud2::ConstPtr &  normal_msg 
)
protectedvirtual
static void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::setCondifionFunctionParameter ( const double  angular_threshold,
const double  distance_threshold 
)
inlinestaticprotected

Definition at line 86 of file region_growing_multiple_plane_segmentation.h.

void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::subscribe ( )
protectedvirtual
void jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::unsubscribe ( )
protectedvirtual

Member Data Documentation

double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::angular_threshold_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::cluster_tolerance_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::distance_threshold_
protected
bool jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::done_initialization_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::global_angular_threshold = 0.0
staticprotected
boost::mutex jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::global_custom_condigion_function_mutex
staticprotected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::global_distance_threshold = 0.0
staticprotected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::max_area_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::max_curvature_
protected
int jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::max_size_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::min_area_
protected
int jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::min_size_
protected
boost::mutex jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::mutex_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_average_time_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_clustering_result_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_coefficients_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_inliers_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_latest_time_
protected
ros::Publisher jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::pub_polygons_
protected
int jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::ransac_refine_max_iterations_
protected
double jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::ransac_refine_outlier_distance_threshold_
protected
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::srv_
protected
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::sub_input_
protected
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::sub_normal_
protected
boost::shared_ptr< message_filters::Synchronizer<NormalSyncPolicy> > jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::sync_
protected
jsk_recognition_utils::WallDurationTimer jsk_pcl_ros::RegionGrowingMultiplePlaneSegmentation::timer_
protected

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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:48