#include <colorize_distance_from_plane.h>
Public Types | |
typedef ColorizeDistanceFromPlaneConfig | Config |
typedef pcl::PointXYZRGB | PointT |
typedef boost::shared_ptr < ColorizeDistanceFromPlane > | Ptr |
typedef message_filters::sync_policies::ExactTime < sensor_msgs::PointCloud2, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray > | SyncPolicy |
Protected Member Functions | |
virtual uint32_t | colorForDistance (const double d) |
virtual void | colorize (const sensor_msgs::PointCloud2::ConstPtr &cloud, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients, const jsk_recognition_msgs::PolygonArray::ConstPtr &polygons) |
virtual void | configCallback (Config &config, uint32_t level) |
virtual double | distanceToConvexes (const PointT &p, const std::vector< ConvexPolygon::Ptr > &convexes) |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
double | max_distance_ |
double | min_distance_ |
boost::mutex | mutex_ |
bool | only_projectable_ |
ros::Publisher | pub_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
message_filters::Subscriber < jsk_recognition_msgs::ModelCoefficientsArray > | sub_coefficients_ |
message_filters::Subscriber < sensor_msgs::PointCloud2 > | sub_input_ |
message_filters::Subscriber < jsk_recognition_msgs::PolygonArray > | sub_polygons_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
Definition at line 56 of file colorize_distance_from_plane.h.
typedef ColorizeDistanceFromPlaneConfig jsk_pcl_ros::ColorizeDistanceFromPlane::Config |
Definition at line 66 of file colorize_distance_from_plane.h.
typedef pcl::PointXYZRGB jsk_pcl_ros::ColorizeDistanceFromPlane::PointT |
Definition at line 59 of file colorize_distance_from_plane.h.
typedef boost::shared_ptr<ColorizeDistanceFromPlane> jsk_pcl_ros::ColorizeDistanceFromPlane::Ptr |
Definition at line 60 of file colorize_distance_from_plane.h.
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray > jsk_pcl_ros::ColorizeDistanceFromPlane::SyncPolicy |
Definition at line 65 of file colorize_distance_from_plane.h.
uint32_t jsk_pcl_ros::ColorizeDistanceFromPlane::colorForDistance | ( | const double | d | ) | [protected, virtual] |
Definition at line 101 of file colorize_distance_from_plane_nodelet.cpp.
void jsk_pcl_ros::ColorizeDistanceFromPlane::colorize | ( | const sensor_msgs::PointCloud2::ConstPtr & | cloud, |
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr & | coefficients, | ||
const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygons | ||
) | [protected, virtual] |
Definition at line 123 of file colorize_distance_from_plane_nodelet.cpp.
void jsk_pcl_ros::ColorizeDistanceFromPlane::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 176 of file colorize_distance_from_plane_nodelet.cpp.
double jsk_pcl_ros::ColorizeDistanceFromPlane::distanceToConvexes | ( | const PointT & | p, |
const std::vector< ConvexPolygon::Ptr > & | convexes | ||
) | [protected, virtual] |
Definition at line 83 of file colorize_distance_from_plane_nodelet.cpp.
void jsk_pcl_ros::ColorizeDistanceFromPlane::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 41 of file colorize_distance_from_plane_nodelet.cpp.
void jsk_pcl_ros::ColorizeDistanceFromPlane::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 60 of file colorize_distance_from_plane_nodelet.cpp.
void jsk_pcl_ros::ColorizeDistanceFromPlane::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 76 of file colorize_distance_from_plane_nodelet.cpp.
double jsk_pcl_ros::ColorizeDistanceFromPlane::max_distance_ [protected] |
Definition at line 101 of file colorize_distance_from_plane.h.
double jsk_pcl_ros::ColorizeDistanceFromPlane::min_distance_ [protected] |
Definition at line 102 of file colorize_distance_from_plane.h.
Definition at line 96 of file colorize_distance_from_plane.h.
bool jsk_pcl_ros::ColorizeDistanceFromPlane::only_projectable_ [protected] |
Definition at line 103 of file colorize_distance_from_plane.h.
Definition at line 90 of file colorize_distance_from_plane.h.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::ColorizeDistanceFromPlane::srv_ [protected] |
Definition at line 95 of file colorize_distance_from_plane.h.
message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::ColorizeDistanceFromPlane::sub_coefficients_ [protected] |
Definition at line 93 of file colorize_distance_from_plane.h.
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::ColorizeDistanceFromPlane::sub_input_ [protected] |
Definition at line 92 of file colorize_distance_from_plane.h.
message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::ColorizeDistanceFromPlane::sub_polygons_ [protected] |
Definition at line 94 of file colorize_distance_from_plane.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::ColorizeDistanceFromPlane::sync_ [protected] |
Definition at line 91 of file colorize_distance_from_plane.h.