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

#include <pointcloud_screenpoint.h>

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

Public Member Functions

virtual ~PointcloudScreenpoint ()
 

Protected Types

typedef PointcloudScreenpointConfig Config
 
typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, geometry_msgs::PointStamped > PointApproxSyncPolicy
 
typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, sensor_msgs::PointCloud2 > PointCloudApproxSyncPolicy
 
typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, sensor_msgs::PointCloud2 > PointCloudExactSyncPolicy
 
typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, geometry_msgs::PointStamped > PointExactSyncPolicy
 
typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, geometry_msgs::PolygonStamped > PolygonApproxSyncPolicy
 
typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, geometry_msgs::PolygonStamped > PolygonExactSyncPolicy
 

Protected Member Functions

bool checkpoint (const pcl::PointCloud< pcl::PointXYZ > &in_pts, int x, int y, float &resx, float &resy, float &resz)
 
virtual void configCallback (Config &config, uint32_t level)
 
bool extract_point (const pcl::PointCloud< pcl::PointXYZ > &in_pts, int reqx, int reqy, float &resx, float &resy, float &resz)
 
void extract_rect (const pcl::PointCloud< pcl::PointXYZ > &in_pts, int st_x, int st_y, int ed_x, int ed_y, sensor_msgs::PointCloud2 &out_pts)
 
virtual void onInit ()
 
void point_array_cb (const sensor_msgs::PointCloud2::ConstPtr &pt_arr_ptr)
 
void point_cb (const geometry_msgs::PointStamped::ConstPtr &pt_ptr)
 
void points_cb (const sensor_msgs::PointCloud2::ConstPtr &msg)
 
void poly_cb (const geometry_msgs::PolygonStamped::ConstPtr &array_ptr)
 
void rect_cb (const geometry_msgs::PolygonStamped::ConstPtr &array_ptr)
 
bool screenpoint_cb (jsk_recognition_msgs::TransformScreenpoint::Request &req, jsk_recognition_msgs::TransformScreenpoint::Response &res)
 
virtual void subscribe ()
 
void sync_point_array_cb (const sensor_msgs::PointCloud2::ConstPtr &points_ptr, const sensor_msgs::PointCloud2::ConstPtr &pt_arr_ptr)
 
void sync_point_cb (const sensor_msgs::PointCloud2::ConstPtr &points_ptr, const geometry_msgs::PointStamped::ConstPtr &pt_ptr)
 
void sync_poly_cb (const sensor_msgs::PointCloud2::ConstPtr &points_ptr, const geometry_msgs::PolygonStamped::ConstPtr &array_ptr)
 
void sync_rect_cb (const sensor_msgs::PointCloud2ConstPtr &points_ptr, const geometry_msgs::PolygonStamped::ConstPtr &array_ptr)
 
virtual void unsubscribe ()
 

Protected Attributes

bool approximate_sync_
 
boost::shared_ptr< mf::Synchronizer< PointApproxSyncPolicy > > async_point_
 
boost::shared_ptr< mf::Synchronizer< PointCloudApproxSyncPolicy > > async_point_array_
 
boost::shared_ptr< mf::Synchronizer< PolygonApproxSyncPolicy > > async_poly_
 
boost::shared_ptr< mf::Synchronizer< PolygonApproxSyncPolicy > > async_rect_
 
int crop_size_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > dyn_srv_
 
pcl::PointCloud< pcl::PointXYZ > latest_cloud_
 
std_msgs::Header latest_cloud_header_
 
boost::mutex mutex_
 
pcl::NormalEstimation< pcl::PointXYZ, pcl::Normal > n3d_
 
pcl::search::KdTree< pcl::PointXYZ >::Ptr normals_tree_
 
mf::Subscriber< sensor_msgs::PointCloud2 > point_array_sub_
 
mf::Subscriber< geometry_msgs::PointStamped > point_sub_
 
mf::Subscriber< sensor_msgs::PointCloud2 > points_sub_
 
mf::Subscriber< geometry_msgs::PolygonStamped > poly_sub_
 
ros::Publisher pub_point_
 
ros::Publisher pub_points_
 
ros::Publisher pub_polygon_
 
int queue_size_
 
mf::Subscriber< geometry_msgs::PolygonStamped > rect_sub_
 
int search_size_
 
ros::ServiceServer srv_
 
boost::shared_ptr< mf::Synchronizer< PointExactSyncPolicy > > sync_point_
 
boost::shared_ptr< mf::Synchronizer< PointCloudExactSyncPolicy > > sync_point_array_
 
boost::shared_ptr< mf::Synchronizer< PolygonExactSyncPolicy > > sync_poly_
 
boost::shared_ptr< mf::Synchronizer< PolygonExactSyncPolicy > > sync_rect_
 
bool synchronization_
 
double timeout_
 

Detailed Description

Definition at line 88 of file pointcloud_screenpoint.h.

Member Typedef Documentation

◆ Config

typedef PointcloudScreenpointConfig jsk_pcl_ros::PointcloudScreenpoint::Config
protected

Definition at line 125 of file pointcloud_screenpoint.h.

◆ PointApproxSyncPolicy

typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, geometry_msgs::PointStamped > jsk_pcl_ros::PointcloudScreenpoint::PointApproxSyncPolicy
protected

Definition at line 134 of file pointcloud_screenpoint.h.

◆ PointCloudApproxSyncPolicy

typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, sensor_msgs::PointCloud2 > jsk_pcl_ros::PointcloudScreenpoint::PointCloudApproxSyncPolicy
protected

Definition at line 138 of file pointcloud_screenpoint.h.

◆ PointCloudExactSyncPolicy

typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, sensor_msgs::PointCloud2 > jsk_pcl_ros::PointcloudScreenpoint::PointCloudExactSyncPolicy
protected

Definition at line 151 of file pointcloud_screenpoint.h.

◆ PointExactSyncPolicy

typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, geometry_msgs::PointStamped > jsk_pcl_ros::PointcloudScreenpoint::PointExactSyncPolicy
protected

Definition at line 147 of file pointcloud_screenpoint.h.

◆ PolygonApproxSyncPolicy

typedef mf::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, geometry_msgs::PolygonStamped > jsk_pcl_ros::PointcloudScreenpoint::PolygonApproxSyncPolicy
protected

Definition at line 130 of file pointcloud_screenpoint.h.

◆ PolygonExactSyncPolicy

typedef mf::sync_policies::ExactTime< sensor_msgs::PointCloud2, geometry_msgs::PolygonStamped > jsk_pcl_ros::PointcloudScreenpoint::PolygonExactSyncPolicy
protected

Definition at line 143 of file pointcloud_screenpoint.h.

Constructor & Destructor Documentation

◆ ~PointcloudScreenpoint()

jsk_pcl_ros::PointcloudScreenpoint::~PointcloudScreenpoint ( )
virtual

Definition at line 102 of file pointcloud_screenpoint_nodelet.cpp.

Member Function Documentation

◆ checkpoint()

bool jsk_pcl_ros::PointcloudScreenpoint::checkpoint ( const pcl::PointCloud< pcl::PointXYZ > &  in_pts,
int  x,
int  y,
float &  resx,
float &  resy,
float &  resz 
)
protected

Definition at line 507 of file pointcloud_screenpoint_nodelet.cpp.

◆ configCallback()

void jsk_pcl_ros::PointcloudScreenpoint::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 207 of file pointcloud_screenpoint_nodelet.cpp.

◆ extract_point()

bool jsk_pcl_ros::PointcloudScreenpoint::extract_point ( const pcl::PointCloud< pcl::PointXYZ > &  in_pts,
int  reqx,
int  reqy,
float &  resx,
float &  resy,
float &  resz 
)
protected

Definition at line 530 of file pointcloud_screenpoint_nodelet.cpp.

◆ extract_rect()

void jsk_pcl_ros::PointcloudScreenpoint::extract_rect ( const pcl::PointCloud< pcl::PointXYZ > &  in_pts,
int  st_x,
int  st_y,
int  ed_x,
int  ed_y,
sensor_msgs::PointCloud2 &  out_pts 
)
protected

Definition at line 570 of file pointcloud_screenpoint_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::PointcloudScreenpoint::onInit ( )
protectedvirtual

Definition at line 79 of file pointcloud_screenpoint_nodelet.cpp.

◆ point_array_cb()

void jsk_pcl_ros::PointcloudScreenpoint::point_array_cb ( const sensor_msgs::PointCloud2::ConstPtr &  pt_arr_ptr)
protected

Definition at line 369 of file pointcloud_screenpoint_nodelet.cpp.

◆ point_cb()

void jsk_pcl_ros::PointcloudScreenpoint::point_cb ( const geometry_msgs::PointStamped::ConstPtr &  pt_ptr)
protected

Definition at line 338 of file pointcloud_screenpoint_nodelet.cpp.

◆ points_cb()

void jsk_pcl_ros::PointcloudScreenpoint::points_cb ( const sensor_msgs::PointCloud2::ConstPtr &  msg)
protected

Definition at line 329 of file pointcloud_screenpoint_nodelet.cpp.

◆ poly_cb()

void jsk_pcl_ros::PointcloudScreenpoint::poly_cb ( const geometry_msgs::PolygonStamped::ConstPtr &  array_ptr)
protected

Definition at line 443 of file pointcloud_screenpoint_nodelet.cpp.

◆ rect_cb()

void jsk_pcl_ros::PointcloudScreenpoint::rect_cb ( const geometry_msgs::PolygonStamped::ConstPtr &  array_ptr)
protected

Definition at line 401 of file pointcloud_screenpoint_nodelet.cpp.

◆ screenpoint_cb()

bool jsk_pcl_ros::PointcloudScreenpoint::screenpoint_cb ( jsk_recognition_msgs::TransformScreenpoint::Request &  req,
jsk_recognition_msgs::TransformScreenpoint::Response &  res 
)
protected

Definition at line 237 of file pointcloud_screenpoint_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::PointcloudScreenpoint::subscribe ( )
protectedvirtual

Definition at line 120 of file pointcloud_screenpoint_nodelet.cpp.

◆ sync_point_array_cb()

void jsk_pcl_ros::PointcloudScreenpoint::sync_point_array_cb ( const sensor_msgs::PointCloud2::ConstPtr &  points_ptr,
const sensor_msgs::PointCloud2::ConstPtr &  pt_arr_ptr 
)
protected

Definition at line 481 of file pointcloud_screenpoint_nodelet.cpp.

◆ sync_point_cb()

void jsk_pcl_ros::PointcloudScreenpoint::sync_point_cb ( const sensor_msgs::PointCloud2::ConstPtr &  points_ptr,
const geometry_msgs::PointStamped::ConstPtr &  pt_ptr 
)
protected

Definition at line 472 of file pointcloud_screenpoint_nodelet.cpp.

◆ sync_poly_cb()

void jsk_pcl_ros::PointcloudScreenpoint::sync_poly_cb ( const sensor_msgs::PointCloud2::ConstPtr &  points_ptr,
const geometry_msgs::PolygonStamped::ConstPtr &  array_ptr 
)
protected

Definition at line 490 of file pointcloud_screenpoint_nodelet.cpp.

◆ sync_rect_cb()

void jsk_pcl_ros::PointcloudScreenpoint::sync_rect_cb ( const sensor_msgs::PointCloud2ConstPtr &  points_ptr,
const geometry_msgs::PolygonStamped::ConstPtr &  array_ptr 
)
protected

Definition at line 499 of file pointcloud_screenpoint_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::PointcloudScreenpoint::unsubscribe ( )
protectedvirtual

Definition at line 198 of file pointcloud_screenpoint_nodelet.cpp.

Member Data Documentation

◆ approximate_sync_

bool jsk_pcl_ros::PointcloudScreenpoint::approximate_sync_
protected

Definition at line 218 of file pointcloud_screenpoint.h.

◆ async_point_

boost::shared_ptr< mf::Synchronizer < PointApproxSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::async_point_
protected

Definition at line 204 of file pointcloud_screenpoint.h.

◆ async_point_array_

boost::shared_ptr< mf::Synchronizer < PointCloudApproxSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::async_point_array_
protected

Definition at line 205 of file pointcloud_screenpoint.h.

◆ async_poly_

boost::shared_ptr< mf::Synchronizer < PolygonApproxSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::async_poly_
protected

Definition at line 206 of file pointcloud_screenpoint.h.

◆ async_rect_

boost::shared_ptr< mf::Synchronizer < PolygonApproxSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::async_rect_
protected

Definition at line 203 of file pointcloud_screenpoint.h.

◆ crop_size_

int jsk_pcl_ros::PointcloudScreenpoint::crop_size_
protected

Definition at line 221 of file pointcloud_screenpoint.h.

◆ dyn_srv_

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::PointcloudScreenpoint::dyn_srv_
protected

Definition at line 193 of file pointcloud_screenpoint.h.

◆ latest_cloud_

pcl::PointCloud<pcl::PointXYZ> jsk_pcl_ros::PointcloudScreenpoint::latest_cloud_
protected

Definition at line 225 of file pointcloud_screenpoint.h.

◆ latest_cloud_header_

std_msgs::Header jsk_pcl_ros::PointcloudScreenpoint::latest_cloud_header_
protected

Definition at line 224 of file pointcloud_screenpoint.h.

◆ mutex_

boost::mutex jsk_pcl_ros::PointcloudScreenpoint::mutex_
protected

Definition at line 192 of file pointcloud_screenpoint.h.

◆ n3d_

pcl::NormalEstimation< pcl::PointXYZ, pcl::Normal > jsk_pcl_ros::PointcloudScreenpoint::n3d_
protected

Definition at line 214 of file pointcloud_screenpoint.h.

◆ normals_tree_

pcl::search::KdTree< pcl::PointXYZ >::Ptr jsk_pcl_ros::PointcloudScreenpoint::normals_tree_
protected

Definition at line 215 of file pointcloud_screenpoint.h.

◆ point_array_sub_

mf::Subscriber< sensor_msgs::PointCloud2 > jsk_pcl_ros::PointcloudScreenpoint::point_array_sub_
protected

Definition at line 201 of file pointcloud_screenpoint.h.

◆ point_sub_

mf::Subscriber< geometry_msgs::PointStamped > jsk_pcl_ros::PointcloudScreenpoint::point_sub_
protected

Definition at line 200 of file pointcloud_screenpoint.h.

◆ points_sub_

mf::Subscriber< sensor_msgs::PointCloud2 > jsk_pcl_ros::PointcloudScreenpoint::points_sub_
protected

Definition at line 198 of file pointcloud_screenpoint.h.

◆ poly_sub_

mf::Subscriber< geometry_msgs::PolygonStamped > jsk_pcl_ros::PointcloudScreenpoint::poly_sub_
protected

Definition at line 202 of file pointcloud_screenpoint.h.

◆ pub_point_

ros::Publisher jsk_pcl_ros::PointcloudScreenpoint::pub_point_
protected

Definition at line 195 of file pointcloud_screenpoint.h.

◆ pub_points_

ros::Publisher jsk_pcl_ros::PointcloudScreenpoint::pub_points_
protected

Definition at line 194 of file pointcloud_screenpoint.h.

◆ pub_polygon_

ros::Publisher jsk_pcl_ros::PointcloudScreenpoint::pub_polygon_
protected

Definition at line 196 of file pointcloud_screenpoint.h.

◆ queue_size_

int jsk_pcl_ros::PointcloudScreenpoint::queue_size_
protected

Definition at line 219 of file pointcloud_screenpoint.h.

◆ rect_sub_

mf::Subscriber< geometry_msgs::PolygonStamped > jsk_pcl_ros::PointcloudScreenpoint::rect_sub_
protected

Definition at line 199 of file pointcloud_screenpoint.h.

◆ search_size_

int jsk_pcl_ros::PointcloudScreenpoint::search_size_
protected

Definition at line 220 of file pointcloud_screenpoint.h.

◆ srv_

ros::ServiceServer jsk_pcl_ros::PointcloudScreenpoint::srv_
protected

Definition at line 197 of file pointcloud_screenpoint.h.

◆ sync_point_

boost::shared_ptr< mf::Synchronizer < PointExactSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::sync_point_
protected

Definition at line 209 of file pointcloud_screenpoint.h.

◆ sync_point_array_

boost::shared_ptr< mf::Synchronizer < PointCloudExactSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::sync_point_array_
protected

Definition at line 210 of file pointcloud_screenpoint.h.

◆ sync_poly_

boost::shared_ptr< mf::Synchronizer < PolygonExactSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::sync_poly_
protected

Definition at line 211 of file pointcloud_screenpoint.h.

◆ sync_rect_

boost::shared_ptr< mf::Synchronizer < PolygonExactSyncPolicy > > jsk_pcl_ros::PointcloudScreenpoint::sync_rect_
protected

Definition at line 208 of file pointcloud_screenpoint.h.

◆ synchronization_

bool jsk_pcl_ros::PointcloudScreenpoint::synchronization_
protected

Definition at line 218 of file pointcloud_screenpoint.h.

◆ timeout_

double jsk_pcl_ros::PointcloudScreenpoint::timeout_
protected

Definition at line 222 of file pointcloud_screenpoint.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