Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
ImageView2 Class Reference

List of all members.

Public Types

enum  KEY_MODE { MODE_RECTANGLE = 0, MODE_SERIES = 1 }

Public Member Functions

void addPoint (int x, int y)
void clearPointArray ()
void draw_image ()
KEY_MODE getMode ()
void image_cb (const sensor_msgs::ImageConstPtr &msg)
 ImageView2 ()
 ImageView2 (ros::NodeHandle &nh)
void info_cb (const sensor_msgs::CameraInfoConstPtr &msg)
void marker_cb (const image_view2::ImageMarker2ConstPtr &marker)
void publishPointArray ()
void setMode (KEY_MODE mode)
 ~ImageView2 ()

Static Public Member Functions

static void mouse_cb (int event, int x, int y, int flags, void *param)

Private Attributes

bool blurry_mode
image_geometry::PinholeCameraModel cam_model_
int count_
cv::Mat draw_
boost::format filename_format_
int font_
std::vector< std::string > frame_ids_
cv::Mat image_
boost::mutex image_mutex_
image_transport::Publisher image_pub_
image_transport::Subscriber image_sub_
cv_bridge::CvImage img_bridge_
sensor_msgs::CameraInfoConstPtr info_msg_
boost::mutex info_mutex_
ros::Subscriber info_sub_
sensor_msgs::ImageConstPtr last_msg_
V_ImageMarkerMessage marker_queue_
ros::Subscriber marker_sub_
std::string marker_topic_
KEY_MODE mode_
ros::Publisher move_point_pub_
std::vector< cv::Point2d > point_array_
ros::Publisher point_array_pub_
ros::Publisher point_pub_
boost::mutex queue_mutex_
ros::Publisher rectangle_pub_
bool show_info
tf::TransformListener tf_listener_
double tf_timeout
bool use_window
std::string window_name_

Static Private Attributes

static double resize_x_
static double resize_y_
static CvRect window_selection_

Detailed Description

Definition at line 74 of file image_view2.cpp.


Member Enumeration Documentation

Enumerator:
MODE_RECTANGLE 
MODE_SERIES 

Definition at line 116 of file image_view2.cpp.


Constructor & Destructor Documentation

ImageView2::ImageView2 ( ) [inline]

Definition at line 126 of file image_view2.cpp.

Definition at line 129 of file image_view2.cpp.

Definition at line 179 of file image_view2.cpp.


Member Function Documentation

void ImageView2::addPoint ( int  x,
int  y 
) [inline]

Definition at line 986 of file image_view2.cpp.

void ImageView2::clearPointArray ( ) [inline]

Definition at line 994 of file image_view2.cpp.

void ImageView2::draw_image ( ) [inline]

Definition at line 980 of file image_view2.cpp.

Definition at line 1021 of file image_view2.cpp.

void ImageView2::image_cb ( const sensor_msgs::ImageConstPtr &  msg) [inline]

Definition at line 204 of file image_view2.cpp.

void ImageView2::info_cb ( const sensor_msgs::CameraInfoConstPtr &  msg) [inline]

Definition at line 198 of file image_view2.cpp.

void ImageView2::marker_cb ( const image_view2::ImageMarker2ConstPtr &  marker) [inline]

Definition at line 186 of file image_view2.cpp.

static void ImageView2::mouse_cb ( int  event,
int  x,
int  y,
int  flags,
void *  param 
) [inline, static]

Definition at line 1026 of file image_view2.cpp.

void ImageView2::publishPointArray ( ) [inline]

Definition at line 999 of file image_view2.cpp.

void ImageView2::setMode ( KEY_MODE  mode) [inline]

Definition at line 1016 of file image_view2.cpp.


Member Data Documentation

Definition at line 106 of file image_view2.cpp.

Definition at line 94 of file image_view2.cpp.

int ImageView2::count_ [private]

Definition at line 105 of file image_view2.cpp.

cv::Mat ImageView2::draw_ [private]

Definition at line 91 of file image_view2.cpp.

Definition at line 100 of file image_view2.cpp.

int ImageView2::font_ [private]

Definition at line 101 of file image_view2.cpp.

std::vector<std::string> ImageView2::frame_ids_ [private]

Definition at line 95 of file image_view2.cpp.

cv::Mat ImageView2::image_ [private]

Definition at line 91 of file image_view2.cpp.

boost::mutex ImageView2::image_mutex_ [private]

Definition at line 90 of file image_view2.cpp.

Definition at line 82 of file image_view2.cpp.

Definition at line 77 of file image_view2.cpp.

Definition at line 89 of file image_view2.cpp.

sensor_msgs::CameraInfoConstPtr ImageView2::info_msg_ [private]

Definition at line 88 of file image_view2.cpp.

boost::mutex ImageView2::info_mutex_ [private]

Definition at line 97 of file image_view2.cpp.

Definition at line 78 of file image_view2.cpp.

sensor_msgs::ImageConstPtr ImageView2::last_msg_ [private]

Definition at line 87 of file image_view2.cpp.

Definition at line 84 of file image_view2.cpp.

Definition at line 79 of file image_view2.cpp.

std::string ImageView2::marker_topic_ [private]

Definition at line 80 of file image_view2.cpp.

Definition at line 122 of file image_view2.cpp.

Definition at line 113 of file image_view2.cpp.

std::vector<cv::Point2d> ImageView2::point_array_ [private]

Definition at line 96 of file image_view2.cpp.

Definition at line 111 of file image_view2.cpp.

Definition at line 110 of file image_view2.cpp.

boost::mutex ImageView2::queue_mutex_ [private]

Definition at line 85 of file image_view2.cpp.

Definition at line 112 of file image_view2.cpp.

double ImageView2::resize_x_ [static, private]

Definition at line 103 of file image_view2.cpp.

double ImageView2::resize_y_ [static, private]

Definition at line 103 of file image_view2.cpp.

Definition at line 108 of file image_view2.cpp.

Definition at line 93 of file image_view2.cpp.

double ImageView2::tf_timeout [private]

Definition at line 109 of file image_view2.cpp.

Definition at line 107 of file image_view2.cpp.

std::string ImageView2::window_name_ [private]

Definition at line 99 of file image_view2.cpp.

CvRect ImageView2::window_selection_ [static, private]

Definition at line 104 of file image_view2.cpp.


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


image_view2
Author(s): Kei Okada
autogenerated on Mon Oct 6 2014 10:54:45