Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
jsk_pcl_ros::ConvexConnectedVoxels Class Reference

#include <convex_connected_voxels.h>

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

Public Types

typedef pcl::PointXYZRGB PointT
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 ConvexConnectedVoxels ()
 
- 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

void cloud_cb (const sensor_msgs::PointCloud2::ConstPtr &)
 
void estimatePointCloudNormals (const pcl::PointCloud< PointT >::Ptr, pcl::PointCloud< pcl::Normal >::Ptr, const int=8, const double=0.02, bool=true)
 
void getConvexLabelCloudIndices (const std::vector< pcl::PointCloud< PointT >::Ptr > &, pcl::PointCloud< PointT >::Ptr, const std::vector< int > &, std::map< int, pcl::PointIndices > &)
 
void indices_cb (const jsk_recognition_msgs::ClusterPointIndices &)
 
void nearestNeigborSearch (pcl::PointCloud< pcl::PointXYZ >::Ptr, std::vector< std::vector< int > > &, const int=8, const double=0.02, bool=true)
 
virtual void onInit ()
 
void segmentCloud (const pcl::PointCloud< PointT >::Ptr, const std::vector< pcl::PointIndices > &, std::vector< pcl::PointCloud< PointT >::Ptr > &, std::vector< pcl::PointCloud< pcl::Normal >::Ptr > &, pcl::PointCloud< pcl::PointXYZ >::Ptr)
 
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
 

Protected Attributes

boost::mutex mutex_
 
ros::NodeHandle nh_
 
ros::Publisher pub_indices_
 
ros::Subscriber sub_cloud_
 
ros::Subscriber sub_indices_
 
- 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_
 

Private Attributes

std::vector< pcl::PointIndices > indices_
 

Detailed Description

Definition at line 82 of file convex_connected_voxels.h.

Member Typedef Documentation

Definition at line 86 of file convex_connected_voxels.h.

Constructor & Destructor Documentation

jsk_pcl_ros::ConvexConnectedVoxels::ConvexConnectedVoxels ( )
inline

Definition at line 85 of file convex_connected_voxels.h.

Member Function Documentation

void jsk_pcl_ros::ConvexConnectedVoxels::cloud_cb ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_msg)
protected

Definition at line 65 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::estimatePointCloudNormals ( const pcl::PointCloud< PointT >::Ptr  cloud,
pcl::PointCloud< pcl::Normal >::Ptr  s_normal,
const int  k = 8,
const double  radius = 0.02,
bool  ksearch = true 
)
protected

Definition at line 163 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::getConvexLabelCloudIndices ( const std::vector< pcl::PointCloud< PointT >::Ptr > &  cloud_clusters,
pcl::PointCloud< PointT >::Ptr  cloud,
const std::vector< int > &  labelMD,
std::map< int, pcl::PointIndices > &  all_indices 
)
protected

Definition at line 206 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::indices_cb ( const jsk_recognition_msgs::ClusterPointIndices &  indices_msg)
protected

Definition at line 111 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::nearestNeigborSearch ( pcl::PointCloud< pcl::PointXYZ >::Ptr  cloud,
std::vector< std::vector< int > > &  pointIndices,
const int  k = 8,
const double  radius = 0.02,
bool  isneigbour = true 
)
protected

Definition at line 182 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 40 of file convex_connected_voxels_nodelet.cpp.

void jsk_pcl_ros::ConvexConnectedVoxels::segmentCloud ( const pcl::PointCloud< PointT >::Ptr  cloud,
const std::vector< pcl::PointIndices > &  indices,
std::vector< pcl::PointCloud< PointT >::Ptr > &  cloud_clusters,
std::vector< pcl::PointCloud< pcl::Normal >::Ptr > &  normal_clusters,
pcl::PointCloud< pcl::PointXYZ >::Ptr  centroids 
)
protected

Definition at line 126 of file convex_connected_voxels_nodelet.cpp.

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

Member Data Documentation

std::vector<pcl::PointIndices> jsk_pcl_ros::ConvexConnectedVoxels::indices_
private

Definition at line 127 of file convex_connected_voxels.h.

boost::mutex jsk_pcl_ros::ConvexConnectedVoxels::mutex_
protected

Definition at line 116 of file convex_connected_voxels.h.

ros::NodeHandle jsk_pcl_ros::ConvexConnectedVoxels::nh_
protected

Definition at line 120 of file convex_connected_voxels.h.

ros::Publisher jsk_pcl_ros::ConvexConnectedVoxels::pub_indices_
protected

Definition at line 119 of file convex_connected_voxels.h.

ros::Subscriber jsk_pcl_ros::ConvexConnectedVoxels::sub_cloud_
protected

Definition at line 117 of file convex_connected_voxels.h.

ros::Subscriber jsk_pcl_ros::ConvexConnectedVoxels::sub_indices_
protected

Definition at line 118 of file convex_connected_voxels.h.


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:47