#include <attention_clipper.h>
Public Member Functions | |
AttentionClipper () | |
Protected Member Functions | |
virtual void | boxArrayCallback (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &box) |
virtual void | boxCallback (const jsk_recognition_msgs::BoundingBox::ConstPtr &box) |
virtual void | clip (const sensor_msgs::CameraInfo::ConstPtr &msg) |
virtual void | clipPointcloud (const sensor_msgs::PointCloud2::ConstPtr &msg) |
virtual void | computeROI (const sensor_msgs::CameraInfo::ConstPtr &msg, std::vector< cv::Point2d > &points, cv::Mat &mask) |
virtual Vertices | cubeVertices (Eigen::Vector3f &dimension) |
virtual void | initializePoseList (size_t num) |
virtual void | onInit () |
virtual void | poseArrayCallback (const geometry_msgs::PoseArray::ConstPtr &pose) |
virtual void | poseCallback (const geometry_msgs::PoseStamped::ConstPtr &pose) |
virtual void | publishBoundingBox (const std_msgs::Header &header) |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Protected Attributes | |
Vertices | dimensions_ |
std::vector< std::string > | frame_id_list_ |
std::vector< ros::Publisher > | multiple_pub_indices_ |
boost::mutex | mutex_ |
bool | negative_ |
std::vector< Eigen::Affine3f > | pose_list_ |
std::vector< std::string > | prefixes_ |
ros::Publisher | pub_bounding_box_array_ |
ros::Publisher | pub_camera_info_ |
ros::Publisher | pub_cluster_indices_ |
ros::Publisher | pub_indices_ |
ros::Publisher | pub_mask_ |
ros::Subscriber | sub_ |
ros::Subscriber | sub_box_ |
ros::Subscriber | sub_points_ |
ros::Subscriber | sub_pose_ |
tf::TransformListener * | tf_listener_ |
bool | use_multiple_attention_ |
Vertices | vertices_ |
Definition at line 53 of file attention_clipper.h.
jsk_pcl_ros::AttentionClipper::AttentionClipper | ( | ) | [inline] |
Definition at line 56 of file attention_clipper.h.
void jsk_pcl_ros::AttentionClipper::boxArrayCallback | ( | const jsk_recognition_msgs::BoundingBoxArray::ConstPtr & | box | ) | [protected, virtual] |
Definition at line 284 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::boxCallback | ( | const jsk_recognition_msgs::BoundingBox::ConstPtr & | box | ) | [protected, virtual] |
Definition at line 258 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::clip | ( | const sensor_msgs::CameraInfo::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 475 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::clipPointcloud | ( | const sensor_msgs::PointCloud2::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 375 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::computeROI | ( | const sensor_msgs::CameraInfo::ConstPtr & | msg, |
std::vector< cv::Point2d > & | points, | ||
cv::Mat & | mask | ||
) | [protected, virtual] |
Definition at line 317 of file attention_clipper_nodelet.cpp.
Vertices jsk_pcl_ros::AttentionClipper::cubeVertices | ( | Eigen::Vector3f & | dimension | ) | [protected, virtual] |
Definition at line 227 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::initializePoseList | ( | size_t | num | ) | [protected, virtual] |
Definition at line 192 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 51 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::poseArrayCallback | ( | const geometry_msgs::PoseArray::ConstPtr & | pose | ) | [protected, virtual] |
Definition at line 270 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::poseCallback | ( | const geometry_msgs::PoseStamped::ConstPtr & | pose | ) | [protected, virtual] |
Definition at line 250 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::publishBoundingBox | ( | const std_msgs::Header & | header | ) | [protected, virtual] |
Definition at line 300 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 200 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 219 of file attention_clipper_nodelet.cpp.
void jsk_pcl_ros::AttentionClipper::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 532 of file attention_clipper_nodelet.cpp.
Vertices jsk_pcl_ros::AttentionClipper::dimensions_ [protected] |
Definition at line 104 of file attention_clipper.h.
Definition at line 103 of file attention_clipper.h.
Definition at line 92 of file attention_clipper.h.
boost::mutex jsk_pcl_ros::AttentionClipper::mutex_ [protected] |
Definition at line 94 of file attention_clipper.h.
bool jsk_pcl_ros::AttentionClipper::negative_ [protected] |
Definition at line 108 of file attention_clipper.h.
std::vector<Eigen::Affine3f> jsk_pcl_ros::AttentionClipper::pose_list_ [protected] |
Definition at line 102 of file attention_clipper.h.
std::vector<std::string > jsk_pcl_ros::AttentionClipper::prefixes_ [protected] |
Definition at line 105 of file attention_clipper.h.
Definition at line 88 of file attention_clipper.h.
Definition at line 87 of file attention_clipper.h.
Definition at line 91 of file attention_clipper.h.
Definition at line 90 of file attention_clipper.h.
Definition at line 89 of file attention_clipper.h.
ros::Subscriber jsk_pcl_ros::AttentionClipper::sub_ [protected] |
Definition at line 83 of file attention_clipper.h.
Definition at line 85 of file attention_clipper.h.
Definition at line 86 of file attention_clipper.h.
Definition at line 84 of file attention_clipper.h.
Definition at line 93 of file attention_clipper.h.
bool jsk_pcl_ros::AttentionClipper::use_multiple_attention_ [protected] |
Definition at line 107 of file attention_clipper.h.
Vertices jsk_pcl_ros::AttentionClipper::vertices_ [protected] |
Definition at line 100 of file attention_clipper.h.