Public Types | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros_utils::PolygonArrayTransformer Class Reference

#include <polygon_array_transformer.h>

Inheritance diagram for jsk_pcl_ros_utils::PolygonArrayTransformer:
Inheritance graph
[legend]

Public Types

typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > SyncPolicy
 

Protected Member Functions

virtual void computeCoefficients (const geometry_msgs::PolygonStamped &polygon, PCLModelCoefficientMsg &coefficient)
 
virtual void onInit ()
 
virtual void subscribe ()
 
virtual void transform (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygons, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients)
 
virtual void transformModelCoefficient (const Eigen::Affine3d &transform, const PCLModelCoefficientMsg &coefficient, PCLModelCoefficientMsg &result)
 
virtual void transformPolygon (const Eigen::Affine3d &transform, const geometry_msgs::PolygonStamped &polygon, geometry_msgs::PolygonStamped &result)
 
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::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

ros::Publisher coefficients_pub_
 
std::string frame_id_
 
tf::TransformListenerlistener_
 
ros::Publisher polygons_pub_
 
message_filters::Subscriber< jsk_recognition_msgs::ModelCoefficientsArray > sub_coefficients_
 
message_filters::Subscriber< jsk_recognition_msgs::PolygonArray > sub_polygons_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
- 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 59 of file polygon_array_transformer.h.

Member Typedef Documentation

typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > jsk_pcl_ros_utils::PolygonArrayTransformer::SyncPolicy

Definition at line 64 of file polygon_array_transformer.h.

Member Function Documentation

void jsk_pcl_ros_utils::PolygonArrayTransformer::computeCoefficients ( const geometry_msgs::PolygonStamped &  polygon,
PCLModelCoefficientMsg coefficient 
)
protectedvirtual

Definition at line 73 of file polygon_array_transformer_nodelet.cpp.

void jsk_pcl_ros_utils::PolygonArrayTransformer::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 44 of file polygon_array_transformer_nodelet.cpp.

void jsk_pcl_ros_utils::PolygonArrayTransformer::subscribe ( )
protectedvirtual
void jsk_pcl_ros_utils::PolygonArrayTransformer::transform ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygons,
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients 
)
protectedvirtual

Definition at line 134 of file polygon_array_transformer_nodelet.cpp.

void jsk_pcl_ros_utils::PolygonArrayTransformer::transformModelCoefficient ( const Eigen::Affine3d &  transform,
const PCLModelCoefficientMsg coefficient,
PCLModelCoefficientMsg result 
)
protectedvirtual

Definition at line 99 of file polygon_array_transformer_nodelet.cpp.

void jsk_pcl_ros_utils::PolygonArrayTransformer::transformPolygon ( const Eigen::Affine3d &  transform,
const geometry_msgs::PolygonStamped &  polygon,
geometry_msgs::PolygonStamped &  result 
)
protectedvirtual

Definition at line 113 of file polygon_array_transformer_nodelet.cpp.

void jsk_pcl_ros_utils::PolygonArrayTransformer::unsubscribe ( )
protectedvirtual

Member Data Documentation

ros::Publisher jsk_pcl_ros_utils::PolygonArrayTransformer::coefficients_pub_
protected

Definition at line 79 of file polygon_array_transformer.h.

std::string jsk_pcl_ros_utils::PolygonArrayTransformer::frame_id_
protected

Definition at line 81 of file polygon_array_transformer.h.

tf::TransformListener* jsk_pcl_ros_utils::PolygonArrayTransformer::listener_
protected

Definition at line 80 of file polygon_array_transformer.h.

ros::Publisher jsk_pcl_ros_utils::PolygonArrayTransformer::polygons_pub_
protected

Definition at line 79 of file polygon_array_transformer.h.

message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros_utils::PolygonArrayTransformer::sub_coefficients_
protected

Definition at line 83 of file polygon_array_transformer.h.

message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros_utils::PolygonArrayTransformer::sub_polygons_
protected

Definition at line 82 of file polygon_array_transformer.h.

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros_utils::PolygonArrayTransformer::sync_
protected

Definition at line 84 of file polygon_array_transformer.h.


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


jsk_pcl_ros_utils
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:15