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]

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 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::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Definition at line 56 of file pointcloud_screenpoint.h.

Member Typedef Documentation

typedef PointcloudScreenpointConfig jsk_pcl_ros::PointcloudScreenpoint::Config
protected

Definition at line 59 of file pointcloud_screenpoint.h.

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

Definition at line 68 of file pointcloud_screenpoint.h.

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

Definition at line 72 of file pointcloud_screenpoint.h.

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

Definition at line 85 of file pointcloud_screenpoint.h.

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

Definition at line 81 of file pointcloud_screenpoint.h.

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

Definition at line 64 of file pointcloud_screenpoint.h.

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

Definition at line 77 of file pointcloud_screenpoint.h.

Member Function Documentation

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 458 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 157 of file pointcloud_screenpoint_nodelet.cpp.

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 481 of file pointcloud_screenpoint_nodelet.cpp.

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 521 of file pointcloud_screenpoint_nodelet.cpp.

void jsk_pcl_ros::PointcloudScreenpoint::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 47 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 320 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 289 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 280 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 394 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 352 of file pointcloud_screenpoint_nodelet.cpp.

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

Definition at line 187 of file pointcloud_screenpoint_nodelet.cpp.

void jsk_pcl_ros::PointcloudScreenpoint::subscribe ( )
protectedvirtual
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 432 of file pointcloud_screenpoint_nodelet.cpp.

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 423 of file pointcloud_screenpoint_nodelet.cpp.

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 441 of file pointcloud_screenpoint_nodelet.cpp.

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 450 of file pointcloud_screenpoint_nodelet.cpp.

void jsk_pcl_ros::PointcloudScreenpoint::unsubscribe ( )
protectedvirtual

Member Data Documentation

bool jsk_pcl_ros::PointcloudScreenpoint::approximate_sync_
protected

Definition at line 152 of file pointcloud_screenpoint.h.

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

Definition at line 138 of file pointcloud_screenpoint.h.

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

Definition at line 139 of file pointcloud_screenpoint.h.

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

Definition at line 140 of file pointcloud_screenpoint.h.

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

Definition at line 137 of file pointcloud_screenpoint.h.

int jsk_pcl_ros::PointcloudScreenpoint::crop_size_
protected

Definition at line 155 of file pointcloud_screenpoint.h.

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

Definition at line 127 of file pointcloud_screenpoint.h.

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

Definition at line 159 of file pointcloud_screenpoint.h.

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

Definition at line 158 of file pointcloud_screenpoint.h.

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

Definition at line 126 of file pointcloud_screenpoint.h.

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

Definition at line 148 of file pointcloud_screenpoint.h.

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

Definition at line 149 of file pointcloud_screenpoint.h.

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

Definition at line 135 of file pointcloud_screenpoint.h.

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

Definition at line 134 of file pointcloud_screenpoint.h.

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

Definition at line 132 of file pointcloud_screenpoint.h.

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

Definition at line 136 of file pointcloud_screenpoint.h.

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

Definition at line 129 of file pointcloud_screenpoint.h.

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

Definition at line 128 of file pointcloud_screenpoint.h.

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

Definition at line 130 of file pointcloud_screenpoint.h.

int jsk_pcl_ros::PointcloudScreenpoint::queue_size_
protected

Definition at line 153 of file pointcloud_screenpoint.h.

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

Definition at line 133 of file pointcloud_screenpoint.h.

int jsk_pcl_ros::PointcloudScreenpoint::search_size_
protected

Definition at line 154 of file pointcloud_screenpoint.h.

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

Definition at line 131 of file pointcloud_screenpoint.h.

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

Definition at line 143 of file pointcloud_screenpoint.h.

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

Definition at line 144 of file pointcloud_screenpoint.h.

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

Definition at line 145 of file pointcloud_screenpoint.h.

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

Definition at line 142 of file pointcloud_screenpoint.h.

bool jsk_pcl_ros::PointcloudScreenpoint::synchronization_
protected

Definition at line 152 of file pointcloud_screenpoint.h.

double jsk_pcl_ros::PointcloudScreenpoint::timeout_
protected

Definition at line 156 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 Mon May 3 2021 03:03:48