#include <roi_clipper.h>
Public Types | |
typedef message_filters::sync_policies::ExactTime < sensor_msgs::Image, sensor_msgs::CameraInfo > | SyncPolicy |
Public Member Functions | |
ROIClipper () | |
Protected Member Functions | |
virtual void | clip (const sensor_msgs::Image::ConstPtr &image_msg, const sensor_msgs::CameraInfo::ConstPtr &camera_info_msg) |
virtual void | cloudCallback (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg) |
virtual void | imageCallback (const sensor_msgs::Image::ConstPtr &image_msg) |
virtual void | infoCallback (const sensor_msgs::CameraInfo::ConstPtr &info_msg) |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Protected Attributes | |
bool | keep_organized_ |
sensor_msgs::CameraInfo::ConstPtr | latest_camera_info_ |
boost::mutex | mutex_ |
bool | not_sync_ |
ros::Publisher | pub_cloud_ |
ros::Publisher | pub_cloud_indices_ |
ros::Publisher | pub_image_ |
ros::Subscriber | sub_cloud_no_sync_ |
message_filters::Subscriber < sensor_msgs::Image > | sub_image_ |
ros::Subscriber | sub_image_no_sync_ |
message_filters::Subscriber < sensor_msgs::CameraInfo > | sub_info_ |
ros::Subscriber | sub_info_no_sync_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
Definition at line 51 of file roi_clipper.h.
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > jsk_pcl_ros::ROIClipper::SyncPolicy |
Definition at line 56 of file roi_clipper.h.
jsk_pcl_ros::ROIClipper::ROIClipper | ( | ) | [inline] |
Definition at line 57 of file roi_clipper.h.
void jsk_pcl_ros::ROIClipper::clip | ( | const sensor_msgs::Image::ConstPtr & | image_msg, |
const sensor_msgs::CameraInfo::ConstPtr & | camera_info_msg | ||
) | [protected, virtual] |
Definition at line 95 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::cloudCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | cloud_msg | ) | [protected, virtual] |
Definition at line 136 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::imageCallback | ( | const sensor_msgs::Image::ConstPtr & | image_msg | ) | [protected, virtual] |
Definition at line 127 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::infoCallback | ( | const sensor_msgs::CameraInfo::ConstPtr & | info_msg | ) | [protected, virtual] |
Definition at line 120 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 47 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 61 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 83 of file roi_clipper_nodelet.cpp.
void jsk_pcl_ros::ROIClipper::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 183 of file roi_clipper_nodelet.cpp.
bool jsk_pcl_ros::ROIClipper::keep_organized_ [protected] |
Definition at line 76 of file roi_clipper.h.
sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::ROIClipper::latest_camera_info_ [protected] |
Definition at line 86 of file roi_clipper.h.
boost::mutex jsk_pcl_ros::ROIClipper::mutex_ [protected] |
Definition at line 74 of file roi_clipper.h.
bool jsk_pcl_ros::ROIClipper::not_sync_ [protected] |
Definition at line 75 of file roi_clipper.h.
ros::Publisher jsk_pcl_ros::ROIClipper::pub_cloud_ [protected] |
Definition at line 78 of file roi_clipper.h.
Definition at line 79 of file roi_clipper.h.
ros::Publisher jsk_pcl_ros::ROIClipper::pub_image_ [protected] |
Definition at line 77 of file roi_clipper.h.
Definition at line 85 of file roi_clipper.h.
message_filters::Subscriber<sensor_msgs::Image> jsk_pcl_ros::ROIClipper::sub_image_ [protected] |
Definition at line 80 of file roi_clipper.h.
Definition at line 83 of file roi_clipper.h.
message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_pcl_ros::ROIClipper::sub_info_ [protected] |
Definition at line 81 of file roi_clipper.h.
Definition at line 84 of file roi_clipper.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::ROIClipper::sync_ [protected] |
Definition at line 82 of file roi_clipper.h.