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

#include <boundingbox_occlusion_rejector.h>

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

Public Types

typedef boost::shared_ptr< BoundingBoxOcclusionRejectorPtr
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 BoundingBoxOcclusionRejector ()
 
- 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 std::vector< cv::Point3d > getVertices (const jsk_recognition_msgs::BoundingBox &box)
 
virtual void infoCallback (const sensor_msgs::CameraInfo::ConstPtr &info_msg)
 
virtual void onInit ()
 
virtual std::vector< cv::Point2i > projectVertices (const std::vector< cv::Point3d > &vertices, const image_geometry::PinholeCameraModel &model)
 
virtual void reject (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &candidate_boxes_msg)
 
virtual std::vector< std::vector< cv::Point2i > > separateIntoFaces (const std::vector< cv::Point2i > &vertices)
 
virtual void subscribe ()
 
virtual void targetBoxesCallback (const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &target_boxes_msg)
 
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

sensor_msgs::CameraInfo::ConstPtr latest_info_msg_
 
jsk_recognition_msgs::BoundingBoxArray::ConstPtr latest_target_boxes_msg_
 
boost::mutex mutex_
 
ros::Publisher pub_
 
ros::Publisher pub_candidate_image_
 
ros::Publisher pub_target_image_
 
ros::Subscriber sub_camera_info_
 
ros::Subscriber sub_candidate_boxes_
 
ros::Subscriber sub_target_boxes_
 
tf::TransformListenertf_listener_
 
- 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_
 

Detailed Description

Definition at line 50 of file boundingbox_occlusion_rejector.h.

Member Typedef Documentation

Definition at line 53 of file boundingbox_occlusion_rejector.h.

Constructor & Destructor Documentation

jsk_pcl_ros::BoundingBoxOcclusionRejector::BoundingBoxOcclusionRejector ( )
inline

Definition at line 54 of file boundingbox_occlusion_rejector.h.

Member Function Documentation

std::vector< cv::Point3d > jsk_pcl_ros::BoundingBoxOcclusionRejector::getVertices ( const jsk_recognition_msgs::BoundingBox &  box)
protectedvirtual

Definition at line 202 of file boundingbox_occlusion_rejector_nodelet.cpp.

void jsk_pcl_ros::BoundingBoxOcclusionRejector::infoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info_msg)
protectedvirtual

Definition at line 68 of file boundingbox_occlusion_rejector_nodelet.cpp.

void jsk_pcl_ros::BoundingBoxOcclusionRejector::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 44 of file boundingbox_occlusion_rejector_nodelet.cpp.

std::vector< cv::Point2i > jsk_pcl_ros::BoundingBoxOcclusionRejector::projectVertices ( const std::vector< cv::Point3d > &  vertices,
const image_geometry::PinholeCameraModel model 
)
protectedvirtual

Definition at line 192 of file boundingbox_occlusion_rejector_nodelet.cpp.

void jsk_pcl_ros::BoundingBoxOcclusionRejector::reject ( const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &  candidate_boxes_msg)
protectedvirtual

Definition at line 83 of file boundingbox_occlusion_rejector_nodelet.cpp.

std::vector< std::vector< cv::Point2i > > jsk_pcl_ros::BoundingBoxOcclusionRejector::separateIntoFaces ( const std::vector< cv::Point2i > &  vertices)
protectedvirtual

Definition at line 162 of file boundingbox_occlusion_rejector_nodelet.cpp.

void jsk_pcl_ros::BoundingBoxOcclusionRejector::subscribe ( )
protectedvirtual
void jsk_pcl_ros::BoundingBoxOcclusionRejector::targetBoxesCallback ( const jsk_recognition_msgs::BoundingBoxArray::ConstPtr &  target_boxes_msg)
protectedvirtual

Definition at line 75 of file boundingbox_occlusion_rejector_nodelet.cpp.

void jsk_pcl_ros::BoundingBoxOcclusionRejector::unsubscribe ( )
protectedvirtual

Member Data Documentation

sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_info_msg_
protected

Definition at line 79 of file boundingbox_occlusion_rejector.h.

jsk_recognition_msgs::BoundingBoxArray::ConstPtr jsk_pcl_ros::BoundingBoxOcclusionRejector::latest_target_boxes_msg_
protected

Definition at line 80 of file boundingbox_occlusion_rejector.h.

boost::mutex jsk_pcl_ros::BoundingBoxOcclusionRejector::mutex_
protected

Definition at line 71 of file boundingbox_occlusion_rejector.h.

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_
protected

Definition at line 72 of file boundingbox_occlusion_rejector.h.

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_candidate_image_
protected

Definition at line 74 of file boundingbox_occlusion_rejector.h.

ros::Publisher jsk_pcl_ros::BoundingBoxOcclusionRejector::pub_target_image_
protected

Definition at line 73 of file boundingbox_occlusion_rejector.h.

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_camera_info_
protected

Definition at line 76 of file boundingbox_occlusion_rejector.h.

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_candidate_boxes_
protected

Definition at line 78 of file boundingbox_occlusion_rejector.h.

ros::Subscriber jsk_pcl_ros::BoundingBoxOcclusionRejector::sub_target_boxes_
protected

Definition at line 77 of file boundingbox_occlusion_rejector.h.

tf::TransformListener* jsk_pcl_ros::BoundingBoxOcclusionRejector::tf_listener_
protected

Definition at line 75 of file boundingbox_occlusion_rejector.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