Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
StereoView Class Reference

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< ApproximatePolicyApproximateSync
 
typedef ExactTime< Image, Image, DisparityImage > ExactPolicy
 
typedef message_filters::Synchronizer< ExactPolicyExactSync
 

Private Attributes

int all_received_
 
boost::shared_ptr< ApproximateSyncapproximate_sync_
 
ros::WallTimer check_synced_timer_
 
int disp_received_
 
cv::Mat_< cv::Vec3b > disparity_color_
 
message_filters::Subscriber< DisparityImage > disparity_sub_
 
boost::shared_ptr< ExactSyncexact_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_
 

Detailed Description

Definition at line 336 of file stereo_view.cpp.

Member Typedef Documentation

typedef ApproximateTime<Image, Image, DisparityImage> StereoView::ApproximatePolicy
private

Definition at line 342 of file stereo_view.cpp.

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.

Definition at line 343 of file stereo_view.cpp.

Constructor & Destructor Documentation

StereoView::StereoView ( const std::string &  transport)
inline

Definition at line 361 of file stereo_view.cpp.

StereoView::~StereoView ( )
inline

Definition at line 434 of file stereo_view.cpp.

Member Function Documentation

void StereoView::checkInputsSynchronized ( )
inline

Definition at line 531 of file stereo_view.cpp.

void StereoView::imageCb ( const ImageConstPtr &  left,
const ImageConstPtr &  right,
const DisparityImageConstPtr &  disparity_msg 
)
inline

Definition at line 439 of file stereo_view.cpp.

static void StereoView::mouseCb ( int  event,
int  x,
int  y,
int  flags,
void *  param 
)
inlinestatic

Definition at line 512 of file stereo_view.cpp.

void StereoView::saveImage ( const char *  prefix,
const cv::Mat &  image 
)
inline

Definition at line 501 of file stereo_view.cpp.

Member Data Documentation

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.

ros::WallTimer StereoView::check_synced_timer_
private

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.

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.

int StereoView::right_received_
private

Definition at line 358 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 355 of file stereo_view.cpp.


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


image_view
Author(s): Patrick Mihelich
autogenerated on Thu Nov 7 2019 03:45:05