Public Member Functions | |
void | imageCb (const sensor_msgs::ImageConstPtr &image_msg, const sensor_msgs::CameraInfoConstPtr &info_msg) |
void | polyCb (const geometry_msgs::PolygonStampedConstPtr &poly) |
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_) |
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_ |
tf::TransformBroadcaster | tf_broadcaster_ |
tf::TransformListener | tf_listener_ |
tf::StampedTransform | trans_ |
Definition at line 15 of file virtual_camera_mono.cpp.
VirtualCameraMono::VirtualCameraMono | ( | ) | [inline] |
Definition at line 30 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 55 of file virtual_camera_mono.cpp.
void VirtualCameraMono::polyCb | ( | const geometry_msgs::PolygonStampedConstPtr & | poly | ) | [inline] |
Definition at line 101 of file virtual_camera_mono.cpp.
void VirtualCameraMono::transCb | ( | const geometry_msgs::TransformStampedConstPtr & | tf | ) | [inline] |
Definition at line 103 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 114 of file virtual_camera_mono.cpp.
Definition at line 22 of file virtual_camera_mono.cpp.
Definition at line 18 of file virtual_camera_mono.cpp.
Definition at line 18 of file virtual_camera_mono.cpp.
ros::NodeHandle VirtualCameraMono::nh_ [private] |
Definition at line 17 of file virtual_camera_mono.cpp.
geometry_msgs::PolygonStamped VirtualCameraMono::poly_ [private] |
Definition at line 27 of file virtual_camera_mono.cpp.
Definition at line 17 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.
ros::Subscriber VirtualCameraMono::sub_poly_ [private] |
Definition at line 24 of file virtual_camera_mono.cpp.
ros::Subscriber VirtualCameraMono::sub_trans_ [private] |
Definition at line 24 of file virtual_camera_mono.cpp.
Definition at line 23 of file virtual_camera_mono.cpp.
Definition at line 21 of file virtual_camera_mono.cpp.
Definition at line 26 of file virtual_camera_mono.cpp.