#include <polygon_array_transformer.h>
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 Attributes | |
ros::Publisher | coefficients_pub_ |
std::string | frame_id_ |
tf::TransformListener * | listener_ |
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_ |
Definition at line 59 of file polygon_array_transformer.h.
typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > jsk_pcl_ros::PolygonArrayTransformer::SyncPolicy |
Definition at line 64 of file polygon_array_transformer.h.
void jsk_pcl_ros::PolygonArrayTransformer::computeCoefficients | ( | const geometry_msgs::PolygonStamped & | polygon, |
PCLModelCoefficientMsg & | coefficient | ||
) | [protected, virtual] |
Definition at line 73 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 44 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 58 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::transform | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygons, |
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr & | coefficients | ||
) | [protected, virtual] |
Definition at line 134 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::transformModelCoefficient | ( | const Eigen::Affine3d & | transform, |
const PCLModelCoefficientMsg & | coefficient, | ||
PCLModelCoefficientMsg & | result | ||
) | [protected, virtual] |
Definition at line 99 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::transformPolygon | ( | const Eigen::Affine3d & | transform, |
const geometry_msgs::PolygonStamped & | polygon, | ||
geometry_msgs::PolygonStamped & | result | ||
) | [protected, virtual] |
Definition at line 113 of file polygon_array_transformer_nodelet.cpp.
void jsk_pcl_ros::PolygonArrayTransformer::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 67 of file polygon_array_transformer_nodelet.cpp.
Definition at line 79 of file polygon_array_transformer.h.
Definition at line 81 of file polygon_array_transformer.h.
Definition at line 80 of file polygon_array_transformer.h.
Definition at line 79 of file polygon_array_transformer.h.
message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::PolygonArrayTransformer::sub_coefficients_ [protected] |
Definition at line 83 of file polygon_array_transformer.h.
message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::PolygonArrayTransformer::sub_polygons_ [protected] |
Definition at line 82 of file polygon_array_transformer.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::PolygonArrayTransformer::sync_ [protected] |
Definition at line 84 of file polygon_array_transformer.h.