#include <cluster_point_indices_decomposer.h>
Public Types | |
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > | ApproximateSyncAlignPolicy |
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > | ApproximateSyncPolicy |
typedef jsk_pcl_ros::ClusterPointIndicesDecomposerConfig | Config |
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > | SyncAlignPolicy |
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > | SyncPolicy |
Public Types inherited from jsk_topic_tools::DiagnosticNodelet | |
typedef boost::shared_ptr< DiagnosticNodelet > | Ptr |
Public Member Functions | |
ClusterPointIndicesDecomposer () | |
virtual void | extract (const sensor_msgs::PointCloud2ConstPtr &point, const jsk_recognition_msgs::ClusterPointIndicesConstPtr &indices, const jsk_recognition_msgs::PolygonArrayConstPtr &planes, const jsk_recognition_msgs::ModelCoefficientsArrayConstPtr &coefficients) |
virtual void | extract (const sensor_msgs::PointCloud2ConstPtr &point, const jsk_recognition_msgs::ClusterPointIndicesConstPtr &indices) |
virtual void | onInit () |
virtual void | sortIndicesOrder (const pcl::PointCloud< pcl::PointXYZ >::Ptr input, const std::vector< pcl::IndicesPtr > indices_array, std::vector< size_t > *argsort) |
void | sortIndicesOrderByCloudSize (const pcl::PointCloud< pcl::PointXYZ >::Ptr input, const std::vector< pcl::IndicesPtr > indices_array, std::vector< size_t > *argsort) |
void | sortIndicesOrderByIndices (const pcl::PointCloud< pcl::PointXYZ >::Ptr input, const std::vector< pcl::IndicesPtr > indices_array, std::vector< size_t > *argsort) |
void | sortIndicesOrderByZAxis (const pcl::PointCloud< pcl::PointXYZ >::Ptr input, const std::vector< pcl::IndicesPtr > indices_array, std::vector< size_t > *argsort) |
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 | addToDebugPointCloud (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr segmented_cloud, size_t i, pcl::PointCloud< pcl::PointXYZRGB > &debug_output) |
virtual void | allocatePublishers (size_t num) |
virtual bool | computeCenterAndBoundingBox (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr segmented_cloud, const std_msgs::Header header, const jsk_recognition_msgs::PolygonArrayConstPtr &planes, const jsk_recognition_msgs::ModelCoefficientsArrayConstPtr &coefficients, geometry_msgs::Pose ¢er_pose_msg, jsk_recognition_msgs::BoundingBox &bounding_box) |
virtual void | configCallback (Config &config, uint32_t level) |
virtual int | findNearestPlane (const Eigen::Vector4f ¢er, const jsk_recognition_msgs::PolygonArrayConstPtr &planes, const jsk_recognition_msgs::ModelCoefficientsArrayConstPtr &coefficients) |
virtual void | publishNegativeIndices (const sensor_msgs::PointCloud2ConstPtr &input, const jsk_recognition_msgs::ClusterPointIndicesConstPtr &indices_input) |
virtual void | subscribe () |
virtual bool | transformPointCloudToAlignWithPlane (const pcl::PointCloud< pcl::PointXYZRGB >::Ptr segmented_cloud, pcl::PointCloud< pcl::PointXYZRGB >::Ptr segmented_cloud_transformed, const Eigen::Vector4f center, const jsk_recognition_msgs::PolygonArrayConstPtr &planes, const jsk_recognition_msgs::ModelCoefficientsArrayConstPtr &coefficients, Eigen::Matrix4f &m4, Eigen::Quaternionf &q, int &nearest_plane_index) |
virtual void | unsubscribe () |
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::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
Static Protected Member Functions | |
static uint32_t | colorRGBAToUInt32 (std_msgs::ColorRGBA c) |
Definition at line 68 of file cluster_point_indices_decomposer.h.
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::ClusterPointIndicesDecomposer::ApproximateSyncAlignPolicy |
Definition at line 88 of file cluster_point_indices_decomposer.h.
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > jsk_pcl_ros::ClusterPointIndicesDecomposer::ApproximateSyncPolicy |
Definition at line 78 of file cluster_point_indices_decomposer.h.
typedef jsk_pcl_ros::ClusterPointIndicesDecomposerConfig jsk_pcl_ros::ClusterPointIndicesDecomposer::Config |
Definition at line 72 of file cluster_point_indices_decomposer.h.
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::ClusterPointIndicesDecomposer::SyncAlignPolicy |
Definition at line 83 of file cluster_point_indices_decomposer.h.
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > jsk_pcl_ros::ClusterPointIndicesDecomposer::SyncPolicy |
Definition at line 75 of file cluster_point_indices_decomposer.h.
|
inline |
Definition at line 71 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 606 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Definition at line 811 of file cluster_point_indices_decomposer_nodelet.cpp.
|
inlinestaticprotected |
Definition at line 149 of file cluster_point_indices_decomposer.h.
|
protectedvirtual |
Definition at line 422 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Definition at line 123 of file cluster_point_indices_decomposer_nodelet.cpp.
|
virtual |
Definition at line 648 of file cluster_point_indices_decomposer_nodelet.cpp.
|
virtual |
Definition at line 803 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Definition at line 302 of file cluster_point_indices_decomposer_nodelet.cpp.
|
virtual |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Reimplemented in jsk_pcl_ros::ClusterPointIndicesDecomposerZAxis.
Definition at line 66 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Definition at line 621 of file cluster_point_indices_decomposer_nodelet.cpp.
|
virtual |
Definition at line 174 of file cluster_point_indices_decomposer_nodelet.cpp.
void jsk_pcl_ros::ClusterPointIndicesDecomposer::sortIndicesOrderByCloudSize | ( | const pcl::PointCloud< pcl::PointXYZ >::Ptr | input, |
const std::vector< pcl::IndicesPtr > | indices_array, | ||
std::vector< size_t > * | argsort | ||
) |
Definition at line 253 of file cluster_point_indices_decomposer_nodelet.cpp.
void jsk_pcl_ros::ClusterPointIndicesDecomposer::sortIndicesOrderByIndices | ( | const pcl::PointCloud< pcl::PointXYZ >::Ptr | input, |
const std::vector< pcl::IndicesPtr > | indices_array, | ||
std::vector< size_t > * | argsort | ||
) |
Definition at line 211 of file cluster_point_indices_decomposer_nodelet.cpp.
void jsk_pcl_ros::ClusterPointIndicesDecomposer::sortIndicesOrderByZAxis | ( | const pcl::PointCloud< pcl::PointXYZ >::Ptr | input, |
const std::vector< pcl::IndicesPtr > | indices_array, | ||
std::vector< size_t > * | argsort | ||
) |
Definition at line 223 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 132 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Definition at line 329 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 164 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protectedvirtual |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 282 of file cluster_point_indices_decomposer_nodelet.cpp.
|
protected |
Definition at line 176 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 177 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 163 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 165 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 168 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 186 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 181 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 173 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 182 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 183 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 110 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 167 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 174 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 175 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 166 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 172 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 184 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 109 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 161 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 158 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 160 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 159 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 162 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 164 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 178 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 179 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 169 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 171 of file cluster_point_indices_decomposer.h.
|
protected |
Definition at line 180 of file cluster_point_indices_decomposer.h.