Public Member Functions | Private Attributes | List of all members
VirtualCameraMono Class Reference

Public Member Functions

void configCb (const jsk_perception::VirtualCameraMonoConfig &config, uint32_t level)
 
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_
 
int interpolation_method_
 
image_transport::ImageTransport it_
 
image_transport::ImageTransport it_priv_
 
ros::NodeHandle nh_
 
geometry_msgs::PolygonStamped poly_
 
ros::NodeHandle private_nh_
 
image_transport::CameraPublisher pub_
 
boost::shared_ptr< dynamic_reconfigure::Server< jsk_perception::VirtualCameraMonoConfig > > srv_
 
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 27 of file virtual_camera_mono.cpp.

Constructor & Destructor Documentation

VirtualCameraMono::VirtualCameraMono ( )
inline

Definition at line 45 of file virtual_camera_mono.cpp.

Member Function Documentation

void VirtualCameraMono::configCb ( const jsk_perception::VirtualCameraMonoConfig &  config,
uint32_t  level 
)
inline

Definition at line 89 of file virtual_camera_mono.cpp.

void VirtualCameraMono::connectCb ( const image_transport::SingleSubscriberPublisher )
inline

Definition at line 114 of file virtual_camera_mono.cpp.

void VirtualCameraMono::disconnectCb ( const image_transport::SingleSubscriberPublisher )
inline

Definition at line 123 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 146 of file virtual_camera_mono.cpp.

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

Definition at line 182 of file virtual_camera_mono.cpp.

void VirtualCameraMono::subscribe ( )
inline

Definition at line 132 of file virtual_camera_mono.cpp.

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

Definition at line 185 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 197 of file virtual_camera_mono.cpp.

void VirtualCameraMono::unsubscribe ( )
inline

Definition at line 140 of file virtual_camera_mono.cpp.

Member Data Documentation

image_geometry::PinholeCameraModel VirtualCameraMono::cam_model_
private

Definition at line 36 of file virtual_camera_mono.cpp.

int VirtualCameraMono::interpolation_method_
private

Definition at line 42 of file virtual_camera_mono.cpp.

image_transport::ImageTransport VirtualCameraMono::it_
private

Definition at line 31 of file virtual_camera_mono.cpp.

image_transport::ImageTransport VirtualCameraMono::it_priv_
private

Definition at line 31 of file virtual_camera_mono.cpp.

ros::NodeHandle VirtualCameraMono::nh_
private

Definition at line 29 of file virtual_camera_mono.cpp.

geometry_msgs::PolygonStamped VirtualCameraMono::poly_
private

Definition at line 41 of file virtual_camera_mono.cpp.

ros::NodeHandle VirtualCameraMono::private_nh_
private

Definition at line 29 of file virtual_camera_mono.cpp.

image_transport::CameraPublisher VirtualCameraMono::pub_
private

Definition at line 33 of file virtual_camera_mono.cpp.

boost::shared_ptr<dynamic_reconfigure::Server<jsk_perception::VirtualCameraMonoConfig> > VirtualCameraMono::srv_
private

Definition at line 30 of file virtual_camera_mono.cpp.

image_transport::CameraSubscriber VirtualCameraMono::sub_
private

Definition at line 32 of file virtual_camera_mono.cpp.

ros::Subscriber VirtualCameraMono::sub_poly_
private

Definition at line 38 of file virtual_camera_mono.cpp.

ros::Subscriber VirtualCameraMono::sub_trans_
private

Definition at line 38 of file virtual_camera_mono.cpp.

int VirtualCameraMono::subscriber_count_
private

Definition at line 34 of file virtual_camera_mono.cpp.

tf::TransformBroadcaster VirtualCameraMono::tf_broadcaster_
private

Definition at line 37 of file virtual_camera_mono.cpp.

tf::TransformListener VirtualCameraMono::tf_listener_
private

Definition at line 35 of file virtual_camera_mono.cpp.

tf::StampedTransform VirtualCameraMono::trans_
private

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