Public Member Functions | |
void | checkInputsSynchronized () |
void | imageCb (const ImageConstPtr &left, const ImageConstPtr &right, const DisparityImageConstPtr &disparity_msg) |
void | saveImage (const char *prefix, const cv::Mat &image) |
StereoView (const std::string &transport) | |
~StereoView () | |
Static Public Member Functions | |
static void | mouseCb (int event, int x, int y, int flags, void *param) |
Private Types | |
typedef ApproximateTime< Image, Image, DisparityImage > | ApproximatePolicy |
typedef message_filters::Synchronizer < ApproximatePolicy > | ApproximateSync |
typedef ExactTime< Image, Image, DisparityImage > | ExactPolicy |
typedef message_filters::Synchronizer < ExactPolicy > | ExactSync |
Private Attributes | |
int | all_received_ |
boost::shared_ptr < ApproximateSync > | approximate_sync_ |
ros::WallTimer | check_synced_timer_ |
int | disp_received_ |
cv::Mat_< cv::Vec3b > | disparity_color_ |
message_filters::Subscriber < DisparityImage > | disparity_sub_ |
boost::shared_ptr< ExactSync > | exact_sync_ |
boost::format | filename_format_ |
boost::mutex | image_mutex_ |
cv::Mat | last_left_image_ |
ImageConstPtr | last_left_msg_ |
cv::Mat | last_right_image_ |
ImageConstPtr | last_right_msg_ |
CvBridge | left_bridge_ |
int | left_received_ |
image_transport::SubscriberFilter | left_sub_ |
int | queue_size_ |
CvBridge | right_bridge_ |
int | right_received_ |
image_transport::SubscriberFilter | right_sub_ |
int | save_count_ |
Definition at line 336 of file stereo_view.cpp.
typedef ApproximateTime<Image, Image, DisparityImage> StereoView::ApproximatePolicy [private] |
Definition at line 342 of file stereo_view.cpp.
typedef message_filters::Synchronizer<ApproximatePolicy> StereoView::ApproximateSync [private] |
Definition at line 344 of file stereo_view.cpp.
typedef ExactTime<Image, Image, DisparityImage> StereoView::ExactPolicy [private] |
Definition at line 341 of file stereo_view.cpp.
typedef message_filters::Synchronizer<ExactPolicy> StereoView::ExactSync [private] |
Definition at line 343 of file stereo_view.cpp.
StereoView::StereoView | ( | const std::string & | transport | ) | [inline] |
Definition at line 362 of file stereo_view.cpp.
StereoView::~StereoView | ( | ) | [inline] |
Definition at line 433 of file stereo_view.cpp.
void StereoView::checkInputsSynchronized | ( | ) | [inline] |
Definition at line 525 of file stereo_view.cpp.
void StereoView::imageCb | ( | const ImageConstPtr & | left, | |
const ImageConstPtr & | right, | |||
const DisparityImageConstPtr & | disparity_msg | |||
) | [inline] |
Definition at line 438 of file stereo_view.cpp.
static void StereoView::mouseCb | ( | int | event, | |
int | x, | |||
int | y, | |||
int | flags, | |||
void * | param | |||
) | [inline, static] |
Definition at line 506 of file stereo_view.cpp.
void StereoView::saveImage | ( | const char * | prefix, | |
const cv::Mat & | image | |||
) | [inline] |
Definition at line 495 of file stereo_view.cpp.
int StereoView::all_received_ [private] |
Definition at line 359 of file stereo_view.cpp.
boost::shared_ptr<ApproximateSync> StereoView::approximate_sync_ [private] |
Definition at line 346 of file stereo_view.cpp.
ros::WallTimer StereoView::check_synced_timer_ [private] |
Definition at line 358 of file stereo_view.cpp.
int StereoView::disp_received_ [private] |
Definition at line 359 of file stereo_view.cpp.
cv::Mat_<cv::Vec3b> StereoView::disparity_color_ [private] |
Definition at line 352 of file stereo_view.cpp.
message_filters::Subscriber<DisparityImage> StereoView::disparity_sub_ [private] |
Definition at line 340 of file stereo_view.cpp.
boost::shared_ptr<ExactSync> StereoView::exact_sync_ [private] |
Definition at line 345 of file stereo_view.cpp.
boost::format StereoView::filename_format_ [private] |
Definition at line 355 of file stereo_view.cpp.
boost::mutex StereoView::image_mutex_ [private] |
Definition at line 353 of file stereo_view.cpp.
cv::Mat StereoView::last_left_image_ [private] |
Definition at line 350 of file stereo_view.cpp.
ImageConstPtr StereoView::last_left_msg_ [private] |
Definition at line 349 of file stereo_view.cpp.
cv::Mat StereoView::last_right_image_ [private] |
Definition at line 350 of file stereo_view.cpp.
ImageConstPtr StereoView::last_right_msg_ [private] |
Definition at line 349 of file stereo_view.cpp.
CvBridge StereoView::left_bridge_ [private] |
Definition at line 351 of file stereo_view.cpp.
int StereoView::left_received_ [private] |
Definition at line 359 of file stereo_view.cpp.
image_transport::SubscriberFilter StereoView::left_sub_ [private] |
Definition at line 339 of file stereo_view.cpp.
int StereoView::queue_size_ [private] |
Definition at line 347 of file stereo_view.cpp.
CvBridge StereoView::right_bridge_ [private] |
Definition at line 351 of file stereo_view.cpp.
int StereoView::right_received_ [private] |
Definition at line 359 of file stereo_view.cpp.
image_transport::SubscriberFilter StereoView::right_sub_ [private] |
Definition at line 339 of file stereo_view.cpp.
int StereoView::save_count_ [private] |
Definition at line 356 of file stereo_view.cpp.