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 ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- 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 ()
 

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 Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- 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

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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- 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 Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Detailed Description

Definition at line 53 of file attention_clipper.h.

Constructor & Destructor Documentation

jsk_pcl_ros::AttentionClipper::AttentionClipper ( )
inline

Definition at line 56 of file attention_clipper.h.

Member Function Documentation

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

Definition at line 291 of file attention_clipper_nodelet.cpp.

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

Definition at line 265 of file attention_clipper_nodelet.cpp.

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

Definition at line 468 of file attention_clipper_nodelet.cpp.

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

Definition at line 381 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 
)
protectedvirtual

Definition at line 323 of file attention_clipper_nodelet.cpp.

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

Definition at line 234 of file attention_clipper_nodelet.cpp.

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

Definition at line 199 of file attention_clipper_nodelet.cpp.

void jsk_pcl_ros::AttentionClipper::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 56 of file attention_clipper_nodelet.cpp.

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

Definition at line 277 of file attention_clipper_nodelet.cpp.

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

Definition at line 257 of file attention_clipper_nodelet.cpp.

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

Definition at line 307 of file attention_clipper_nodelet.cpp.

void jsk_pcl_ros::AttentionClipper::subscribe ( )
protectedvirtual
void jsk_pcl_ros::AttentionClipper::unsubscribe ( )
protectedvirtual

Member Data Documentation

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

Definition at line 103 of file attention_clipper.h.

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

Definition at line 102 of file attention_clipper.h.

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

Definition at line 90 of file attention_clipper.h.

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

Definition at line 92 of file attention_clipper.h.

bool jsk_pcl_ros::AttentionClipper::negative_
protected

Definition at line 107 of file attention_clipper.h.

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

Definition at line 100 of file attention_clipper.h.

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

Definition at line 104 of file attention_clipper.h.

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

Definition at line 86 of file attention_clipper.h.

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

Definition at line 85 of file attention_clipper.h.

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

Definition at line 89 of file attention_clipper.h.

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

Definition at line 88 of file attention_clipper.h.

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

Definition at line 87 of file attention_clipper.h.

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

Definition at line 81 of file attention_clipper.h.

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

Definition at line 83 of file attention_clipper.h.

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

Definition at line 84 of file attention_clipper.h.

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

Definition at line 82 of file attention_clipper.h.

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

Definition at line 91 of file attention_clipper.h.

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

Definition at line 101 of file attention_clipper.h.

bool jsk_pcl_ros::AttentionClipper::use_multiple_attention_
protected

Definition at line 106 of file attention_clipper.h.

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

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