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

#include <attention_clipper.h>

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

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

Protected Attributes

jsk_recognition_utils::Vertices dimensions_
 
std::vector< std::stringframe_id_list_
 
std::vector< ros::Publishermultiple_pub_indices_
 
boost::mutex mutex_
 
bool negative_
 
std::vector< Eigen::Affine3f > pose_list_
 
std::vector< std::stringprefixes_
 
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::TransformListenertf_listener_
 
std::vector< Eigen::Affine3f > transformed_pose_list_
 
bool use_multiple_attention_
 
jsk_recognition_utils::Vertices vertices_
 

Detailed Description

Definition at line 85 of file attention_clipper.h.

Constructor & Destructor Documentation

◆ AttentionClipper()

jsk_pcl_ros::AttentionClipper::AttentionClipper ( )
inline

Definition at line 120 of file attention_clipper.h.

Member Function Documentation

◆ boxArrayCallback()

void jsk_pcl_ros::AttentionClipper::boxArrayCallback ( const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &  box)
protectedvirtual

Definition at line 291 of file attention_clipper_nodelet.cpp.

◆ boxCallback()

void jsk_pcl_ros::AttentionClipper::boxCallback ( const jsk_recognition_msgs::BoundingBox::ConstPtr &  box)
protectedvirtual

Definition at line 265 of file attention_clipper_nodelet.cpp.

◆ clip()

void jsk_pcl_ros::AttentionClipper::clip ( const sensor_msgs::CameraInfo::ConstPtr &  msg)
protectedvirtual

Definition at line 473 of file attention_clipper_nodelet.cpp.

◆ clipPointcloud()

void jsk_pcl_ros::AttentionClipper::clipPointcloud ( const sensor_msgs::PointCloud2::ConstPtr &  msg)
protectedvirtual

Definition at line 386 of file attention_clipper_nodelet.cpp.

◆ computeROI()

void jsk_pcl_ros::AttentionClipper::computeROI ( const sensor_msgs::CameraInfo::ConstPtr &  msg,
std::vector< cv::Point2d > &  points,
cv::Mat &  mask 
)
protectedvirtual

Definition at line 323 of file attention_clipper_nodelet.cpp.

◆ cubeVertices()

jsk_recognition_utils::Vertices jsk_pcl_ros::AttentionClipper::cubeVertices ( Eigen::Vector3f dimension)
protectedvirtual

Definition at line 234 of file attention_clipper_nodelet.cpp.

◆ initializePoseList()

void jsk_pcl_ros::AttentionClipper::initializePoseList ( size_t  num)
protectedvirtual

Definition at line 199 of file attention_clipper_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::AttentionClipper::onInit ( )
protectedvirtual

Definition at line 56 of file attention_clipper_nodelet.cpp.

◆ poseArrayCallback()

void jsk_pcl_ros::AttentionClipper::poseArrayCallback ( const geometry_msgs::PoseArray::ConstPtr &  pose)
protectedvirtual

Definition at line 277 of file attention_clipper_nodelet.cpp.

◆ poseCallback()

void jsk_pcl_ros::AttentionClipper::poseCallback ( const geometry_msgs::PoseStamped::ConstPtr &  pose)
protectedvirtual

Definition at line 257 of file attention_clipper_nodelet.cpp.

◆ publishBoundingBox()

void jsk_pcl_ros::AttentionClipper::publishBoundingBox ( const std_msgs::Header header)
protectedvirtual

Definition at line 307 of file attention_clipper_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::AttentionClipper::subscribe ( )
protectedvirtual

Definition at line 207 of file attention_clipper_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::AttentionClipper::unsubscribe ( )
protectedvirtual

Definition at line 226 of file attention_clipper_nodelet.cpp.

Member Data Documentation

◆ dimensions_

jsk_recognition_utils::Vertices jsk_pcl_ros::AttentionClipper::dimensions_
protected

Definition at line 167 of file attention_clipper.h.

◆ frame_id_list_

std::vector<std::string> jsk_pcl_ros::AttentionClipper::frame_id_list_
protected

Definition at line 166 of file attention_clipper.h.

◆ multiple_pub_indices_

std::vector<ros::Publisher> jsk_pcl_ros::AttentionClipper::multiple_pub_indices_
protected

Definition at line 154 of file attention_clipper.h.

◆ mutex_

boost::mutex jsk_pcl_ros::AttentionClipper::mutex_
protected

Definition at line 156 of file attention_clipper.h.

◆ negative_

bool jsk_pcl_ros::AttentionClipper::negative_
protected

Definition at line 171 of file attention_clipper.h.

◆ pose_list_

std::vector<Eigen::Affine3f> jsk_pcl_ros::AttentionClipper::pose_list_
protected

Definition at line 164 of file attention_clipper.h.

◆ prefixes_

std::vector<std::string > jsk_pcl_ros::AttentionClipper::prefixes_
protected

Definition at line 168 of file attention_clipper.h.

◆ pub_bounding_box_array_

ros::Publisher jsk_pcl_ros::AttentionClipper::pub_bounding_box_array_
protected

Definition at line 150 of file attention_clipper.h.

◆ pub_camera_info_

ros::Publisher jsk_pcl_ros::AttentionClipper::pub_camera_info_
protected

Definition at line 149 of file attention_clipper.h.

◆ pub_cluster_indices_

ros::Publisher jsk_pcl_ros::AttentionClipper::pub_cluster_indices_
protected

Definition at line 153 of file attention_clipper.h.

◆ pub_indices_

ros::Publisher jsk_pcl_ros::AttentionClipper::pub_indices_
protected

Definition at line 152 of file attention_clipper.h.

◆ pub_mask_

ros::Publisher jsk_pcl_ros::AttentionClipper::pub_mask_
protected

Definition at line 151 of file attention_clipper.h.

◆ sub_

ros::Subscriber jsk_pcl_ros::AttentionClipper::sub_
protected

Definition at line 145 of file attention_clipper.h.

◆ sub_box_

ros::Subscriber jsk_pcl_ros::AttentionClipper::sub_box_
protected

Definition at line 147 of file attention_clipper.h.

◆ sub_points_

ros::Subscriber jsk_pcl_ros::AttentionClipper::sub_points_
protected

Definition at line 148 of file attention_clipper.h.

◆ sub_pose_

ros::Subscriber jsk_pcl_ros::AttentionClipper::sub_pose_
protected

Definition at line 146 of file attention_clipper.h.

◆ tf_listener_

tf::TransformListener* jsk_pcl_ros::AttentionClipper::tf_listener_
protected

Definition at line 155 of file attention_clipper.h.

◆ transformed_pose_list_

std::vector<Eigen::Affine3f> jsk_pcl_ros::AttentionClipper::transformed_pose_list_
protected

Definition at line 165 of file attention_clipper.h.

◆ use_multiple_attention_

bool jsk_pcl_ros::AttentionClipper::use_multiple_attention_
protected

Definition at line 170 of file attention_clipper.h.

◆ vertices_

jsk_recognition_utils::Vertices jsk_pcl_ros::AttentionClipper::vertices_
protected

Definition at line 162 of file attention_clipper.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:45