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_ |
int | left_received_ |
image_transport::SubscriberFilter | left_sub_ |
int | queue_size_ |
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 361 of file stereo_view.cpp.
StereoView::~StereoView | ( | ) | [inline] |
Definition at line 432 of file stereo_view.cpp.
void StereoView::checkInputsSynchronized | ( | ) | [inline] |
Definition at line 524 of file stereo_view.cpp.
void StereoView::imageCb | ( | const ImageConstPtr & | left, |
const ImageConstPtr & | right, | ||
const DisparityImageConstPtr & | disparity_msg | ||
) | [inline] |
Definition at line 437 of file stereo_view.cpp.
static void StereoView::mouseCb | ( | int | event, |
int | x, | ||
int | y, | ||
int | flags, | ||
void * | param | ||
) | [inline, static] |
Definition at line 505 of file stereo_view.cpp.
void StereoView::saveImage | ( | const char * | prefix, |
const cv::Mat & | image | ||
) | [inline] |
Definition at line 494 of file stereo_view.cpp.
int StereoView::all_received_ [private] |
Definition at line 358 of file stereo_view.cpp.
boost::shared_ptr<ApproximateSync> StereoView::approximate_sync_ [private] |
Definition at line 346 of file stereo_view.cpp.
Definition at line 357 of file stereo_view.cpp.
int StereoView::disp_received_ [private] |
Definition at line 358 of file stereo_view.cpp.
cv::Mat_<cv::Vec3b> StereoView::disparity_color_ [private] |
Definition at line 351 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 354 of file stereo_view.cpp.
boost::mutex StereoView::image_mutex_ [private] |
Definition at line 352 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.
int StereoView::left_received_ [private] |
Definition at line 358 of file stereo_view.cpp.
Definition at line 339 of file stereo_view.cpp.
int StereoView::queue_size_ [private] |
Definition at line 347 of file stereo_view.cpp.
int StereoView::right_received_ [private] |
Definition at line 358 of file stereo_view.cpp.
Definition at line 339 of file stereo_view.cpp.
int StereoView::save_count_ [private] |
Definition at line 355 of file stereo_view.cpp.