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

#include <find_object_on_plane.h>

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

Public Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::CameraInfo, pcl_msgs::ModelCoefficients > SyncPolicy
 

Public Member Functions

 FindObjectOnPlane ()
 
virtual ~FindObjectOnPlane ()
 

Protected Member Functions

virtual double drawAngle (cv::Mat &out_image, const cv::Point2f &test_point, const double angle, const double max_x, const double max_y, const image_geometry::PinholeCameraModel &model, const jsk_recognition_utils::Plane::Ptr &plane, cv::Scalar color)
 
virtual void find (const sensor_msgs::Image::ConstPtr &image_msg, const sensor_msgs::CameraInfo::ConstPtr &info_msg, const pcl_msgs::ModelCoefficients::ConstPtr &polygon_3d_coefficient_msg)
 
virtual void generateAngles (const cv::Mat &blob_image, const cv::Point2f &test_point, std::vector< double > &angles, std::vector< double > &max_x, std::vector< double > &max_y, const image_geometry::PinholeCameraModel &model, const jsk_recognition_utils::Plane::Ptr &plane)
 
virtual void generateStartPoints (const cv::Point2f &point_2d, const image_geometry::PinholeCameraModel &model, const pcl::ModelCoefficients::Ptr &coefficients, std::vector< cv::Point3f > &search_points_3d, std::vector< cv::Point2f > &search_points_2d)
 
virtual cv::Point2d getUyEnd (const cv::Point2d &ux_start, const cv::Point2d &ux_end, const image_geometry::PinholeCameraModel &model, const jsk_recognition_utils::Plane::Ptr &plane)
 
virtual void onInit ()
 
Eigen::Vector3f rayPlaneInteersect (const cv::Point3d &ray, const jsk_recognition_utils::Plane::Ptr &plane)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 

Protected Attributes

ros::Publisher pub_min_area_rect_image_
 
message_filters::Subscriber< pcl_msgs::ModelCoefficients > sub_coefficients_
 
message_filters::Subscriber< sensor_msgs::Image > sub_image_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_info_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 

Detailed Description

Definition at line 86 of file find_object_on_plane.h.

Member Typedef Documentation

◆ SyncPolicy

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::CameraInfo, pcl_msgs::ModelCoefficients > jsk_pcl_ros::FindObjectOnPlane::SyncPolicy

Definition at line 124 of file find_object_on_plane.h.

Constructor & Destructor Documentation

◆ FindObjectOnPlane()

jsk_pcl_ros::FindObjectOnPlane::FindObjectOnPlane ( )
inline

Definition at line 126 of file find_object_on_plane.h.

◆ ~FindObjectOnPlane()

jsk_pcl_ros::FindObjectOnPlane::~FindObjectOnPlane ( )
virtual

Definition at line 51 of file find_object_on_plane_nodelet.cpp.

Member Function Documentation

◆ drawAngle()

double jsk_pcl_ros::FindObjectOnPlane::drawAngle ( cv::Mat &  out_image,
const cv::Point2f &  test_point,
const double  angle,
const double  max_x,
const double  max_y,
const image_geometry::PinholeCameraModel model,
const jsk_recognition_utils::Plane::Ptr plane,
cv::Scalar  color 
)
protectedvirtual

Definition at line 249 of file find_object_on_plane_nodelet.cpp.

◆ find()

void jsk_pcl_ros::FindObjectOnPlane::find ( const sensor_msgs::Image::ConstPtr &  image_msg,
const sensor_msgs::CameraInfo::ConstPtr &  info_msg,
const pcl_msgs::ModelCoefficients::ConstPtr &  polygon_3d_coefficient_msg 
)
protectedvirtual

Definition at line 79 of file find_object_on_plane_nodelet.cpp.

◆ generateAngles()

void jsk_pcl_ros::FindObjectOnPlane::generateAngles ( const cv::Mat &  blob_image,
const cv::Point2f &  test_point,
std::vector< double > &  angles,
std::vector< double > &  max_x,
std::vector< double > &  max_y,
const image_geometry::PinholeCameraModel model,
const jsk_recognition_utils::Plane::Ptr plane 
)
protectedvirtual

Definition at line 162 of file find_object_on_plane_nodelet.cpp.

◆ generateStartPoints()

void jsk_pcl_ros::FindObjectOnPlane::generateStartPoints ( const cv::Point2f &  point_2d,
const image_geometry::PinholeCameraModel model,
const pcl::ModelCoefficients::Ptr &  coefficients,
std::vector< cv::Point3f > &  search_points_3d,
std::vector< cv::Point2f > &  search_points_2d 
)
protectedvirtual

Definition at line 274 of file find_object_on_plane_nodelet.cpp.

◆ getUyEnd()

cv::Point2d jsk_pcl_ros::FindObjectOnPlane::getUyEnd ( const cv::Point2d &  ux_start,
const cv::Point2d &  ux_end,
const image_geometry::PinholeCameraModel model,
const jsk_recognition_utils::Plane::Ptr plane 
)
protectedvirtual

Definition at line 229 of file find_object_on_plane_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::FindObjectOnPlane::onInit ( )
protectedvirtual

Definition at line 43 of file find_object_on_plane_nodelet.cpp.

◆ rayPlaneInteersect()

Eigen::Vector3f jsk_pcl_ros::FindObjectOnPlane::rayPlaneInteersect ( const cv::Point3d &  ray,
const jsk_recognition_utils::Plane::Ptr plane 
)
protected

Definition at line 219 of file find_object_on_plane_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::FindObjectOnPlane::subscribe ( )
protectedvirtual

Definition at line 62 of file find_object_on_plane_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::FindObjectOnPlane::unsubscribe ( )
protectedvirtual

Definition at line 73 of file find_object_on_plane_nodelet.cpp.

Member Data Documentation

◆ pub_min_area_rect_image_

ros::Publisher jsk_pcl_ros::FindObjectOnPlane::pub_min_area_rect_image_
protected

Definition at line 169 of file find_object_on_plane.h.

◆ sub_coefficients_

message_filters::Subscriber<pcl_msgs::ModelCoefficients> jsk_pcl_ros::FindObjectOnPlane::sub_coefficients_
protected

Definition at line 168 of file find_object_on_plane.h.

◆ sub_image_

message_filters::Subscriber<sensor_msgs::Image> jsk_pcl_ros::FindObjectOnPlane::sub_image_
protected

Definition at line 166 of file find_object_on_plane.h.

◆ sub_info_

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_pcl_ros::FindObjectOnPlane::sub_info_
protected

Definition at line 167 of file find_object_on_plane.h.

◆ sync_

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::FindObjectOnPlane::sync_
protected

Definition at line 165 of file find_object_on_plane.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:46