Public Member Functions | Private Attributes
VirtualCameraMono Class Reference

List of all members.

Public Member Functions

void connectCb (const image_transport::SingleSubscriberPublisher &)
void disconnectCb (const image_transport::SingleSubscriberPublisher &)
void imageCb (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info_msg)
void polyCb (const geometry_msgs::PolygonStampedConstPtr &poly)
void subscribe ()
void transCb (const geometry_msgs::TransformStampedConstPtr &tf)
bool TransformImage (cv::Mat src, cv::Mat dest, tf::StampedTransform &trans, geometry_msgs::PolygonStamped &poly, image_geometry::PinholeCameraModel &cam_model_)
void unsubscribe ()
 VirtualCameraMono ()

Private Attributes

image_geometry::PinholeCameraModel cam_model_
image_transport::ImageTransport it_
image_transport::ImageTransport it_priv_
ros::NodeHandle nh_
geometry_msgs::PolygonStamped poly_
ros::NodeHandle private_nh_
image_transport::CameraPublisher pub_
image_transport::CameraSubscriber sub_
ros::Subscriber sub_poly_
ros::Subscriber sub_trans_
int subscriber_count_
tf::TransformBroadcaster tf_broadcaster_
tf::TransformListener tf_listener_
tf::StampedTransform trans_

Detailed Description

Definition at line 17 of file virtual_camera_mono.cpp.


Constructor & Destructor Documentation

Definition at line 33 of file virtual_camera_mono.cpp.


Member Function Documentation

Definition at line 58 of file virtual_camera_mono.cpp.

Definition at line 67 of file virtual_camera_mono.cpp.

void VirtualCameraMono::imageCb ( const sensor_msgs::ImageConstPtr &  image_msg,
const sensor_msgs::CameraInfoConstPtr &  info_msg 
) [inline]

Definition at line 90 of file virtual_camera_mono.cpp.

void VirtualCameraMono::polyCb ( const geometry_msgs::PolygonStampedConstPtr &  poly) [inline]

Definition at line 132 of file virtual_camera_mono.cpp.

void VirtualCameraMono::subscribe ( ) [inline]

Definition at line 76 of file virtual_camera_mono.cpp.

void VirtualCameraMono::transCb ( const geometry_msgs::TransformStampedConstPtr &  tf) [inline]

Definition at line 134 of file virtual_camera_mono.cpp.

bool VirtualCameraMono::TransformImage ( cv::Mat  src,
cv::Mat  dest,
tf::StampedTransform trans,
geometry_msgs::PolygonStamped &  poly,
image_geometry::PinholeCameraModel cam_model_ 
) [inline]

Definition at line 145 of file virtual_camera_mono.cpp.

void VirtualCameraMono::unsubscribe ( ) [inline]

Definition at line 84 of file virtual_camera_mono.cpp.


Member Data Documentation

Definition at line 25 of file virtual_camera_mono.cpp.

Definition at line 20 of file virtual_camera_mono.cpp.

Definition at line 20 of file virtual_camera_mono.cpp.

Definition at line 19 of file virtual_camera_mono.cpp.

geometry_msgs::PolygonStamped VirtualCameraMono::poly_ [private]

Definition at line 30 of file virtual_camera_mono.cpp.

Definition at line 19 of file virtual_camera_mono.cpp.

Definition at line 22 of file virtual_camera_mono.cpp.

Definition at line 21 of file virtual_camera_mono.cpp.

Definition at line 27 of file virtual_camera_mono.cpp.

Definition at line 27 of file virtual_camera_mono.cpp.

Definition at line 23 of file virtual_camera_mono.cpp.

Definition at line 26 of file virtual_camera_mono.cpp.

Definition at line 24 of file virtual_camera_mono.cpp.

Definition at line 29 of file virtual_camera_mono.cpp.


The documentation for this class was generated from the following file:


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Tue Jul 2 2019 19:41:08