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

#include <roi_clipper.h>

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

Public Types

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > SyncPolicy
 

Public Member Functions

 ROIClipper ()
 
virtual ~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 ()
 

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_
 

Detailed Description

Definition at line 83 of file roi_clipper.h.

Member Typedef Documentation

◆ SyncPolicy

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > jsk_pcl_ros::ROIClipper::SyncPolicy

Definition at line 120 of file roi_clipper.h.

Constructor & Destructor Documentation

◆ ROIClipper()

jsk_pcl_ros::ROIClipper::ROIClipper ( )
inline

Definition at line 121 of file roi_clipper.h.

◆ ~ROIClipper()

jsk_pcl_ros::ROIClipper::~ROIClipper ( )
virtual

Definition at line 61 of file roi_clipper_nodelet.cpp.

Member Function Documentation

◆ clip()

void jsk_pcl_ros::ROIClipper::clip ( const sensor_msgs::Image::ConstPtr &  image_msg,
const sensor_msgs::CameraInfo::ConstPtr &  camera_info_msg 
)
protectedvirtual

Definition at line 106 of file roi_clipper_nodelet.cpp.

◆ cloudCallback()

void jsk_pcl_ros::ROIClipper::cloudCallback ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_msg)
protectedvirtual

Definition at line 147 of file roi_clipper_nodelet.cpp.

◆ imageCallback()

void jsk_pcl_ros::ROIClipper::imageCallback ( const sensor_msgs::Image::ConstPtr &  image_msg)
protectedvirtual

Definition at line 138 of file roi_clipper_nodelet.cpp.

◆ infoCallback()

void jsk_pcl_ros::ROIClipper::infoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info_msg)
protectedvirtual

Definition at line 131 of file roi_clipper_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::ROIClipper::onInit ( )
protectedvirtual

Definition at line 47 of file roi_clipper_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::ROIClipper::subscribe ( )
protectedvirtual

Definition at line 72 of file roi_clipper_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::ROIClipper::unsubscribe ( )
protectedvirtual

Definition at line 94 of file roi_clipper_nodelet.cpp.

Member Data Documentation

◆ keep_organized_

bool jsk_pcl_ros::ROIClipper::keep_organized_
protected

Definition at line 138 of file roi_clipper.h.

◆ latest_camera_info_

sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::ROIClipper::latest_camera_info_
protected

Definition at line 148 of file roi_clipper.h.

◆ mutex_

boost::mutex jsk_pcl_ros::ROIClipper::mutex_
protected

Definition at line 136 of file roi_clipper.h.

◆ not_sync_

bool jsk_pcl_ros::ROIClipper::not_sync_
protected

Definition at line 137 of file roi_clipper.h.

◆ pub_cloud_

ros::Publisher jsk_pcl_ros::ROIClipper::pub_cloud_
protected

Definition at line 140 of file roi_clipper.h.

◆ pub_cloud_indices_

ros::Publisher jsk_pcl_ros::ROIClipper::pub_cloud_indices_
protected

Definition at line 141 of file roi_clipper.h.

◆ pub_image_

ros::Publisher jsk_pcl_ros::ROIClipper::pub_image_
protected

Definition at line 139 of file roi_clipper.h.

◆ sub_cloud_no_sync_

ros::Subscriber jsk_pcl_ros::ROIClipper::sub_cloud_no_sync_
protected

Definition at line 147 of file roi_clipper.h.

◆ sub_image_

message_filters::Subscriber<sensor_msgs::Image> jsk_pcl_ros::ROIClipper::sub_image_
protected

Definition at line 142 of file roi_clipper.h.

◆ sub_image_no_sync_

ros::Subscriber jsk_pcl_ros::ROIClipper::sub_image_no_sync_
protected

Definition at line 145 of file roi_clipper.h.

◆ sub_info_

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_pcl_ros::ROIClipper::sub_info_
protected

Definition at line 143 of file roi_clipper.h.

◆ sub_info_no_sync_

ros::Subscriber jsk_pcl_ros::ROIClipper::sub_info_no_sync_
protected

Definition at line 146 of file roi_clipper.h.

◆ sync_

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::ROIClipper::sync_
protected

Definition at line 144 of file roi_clipper.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:46