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 325 of file stereo_view.cpp.

Member Typedef Documentation

◆ ApproximatePolicy

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

Definition at line 331 of file stereo_view.cpp.

◆ ApproximateSync

Definition at line 333 of file stereo_view.cpp.

◆ ExactPolicy

typedef ExactTime<Image, Image, DisparityImage> StereoView::ExactPolicy
private

Definition at line 330 of file stereo_view.cpp.

◆ ExactSync

Definition at line 332 of file stereo_view.cpp.

Constructor & Destructor Documentation

◆ StereoView()

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

Definition at line 350 of file stereo_view.cpp.

◆ ~StereoView()

StereoView::~StereoView ( )
inline

Definition at line 415 of file stereo_view.cpp.

Member Function Documentation

◆ checkInputsSynchronized()

void StereoView::checkInputsSynchronized ( )
inline

Definition at line 512 of file stereo_view.cpp.

◆ imageCb()

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

Definition at line 420 of file stereo_view.cpp.

◆ mouseCb()

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

Definition at line 493 of file stereo_view.cpp.

◆ saveImage()

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

Definition at line 482 of file stereo_view.cpp.

Member Data Documentation

◆ all_received_

int StereoView::all_received_
private

Definition at line 347 of file stereo_view.cpp.

◆ approximate_sync_

boost::shared_ptr<ApproximateSync> StereoView::approximate_sync_
private

Definition at line 335 of file stereo_view.cpp.

◆ check_synced_timer_

ros::WallTimer StereoView::check_synced_timer_
private

Definition at line 346 of file stereo_view.cpp.

◆ disp_received_

int StereoView::disp_received_
private

Definition at line 347 of file stereo_view.cpp.

◆ disparity_color_

cv::Mat_<cv::Vec3b> StereoView::disparity_color_
private

Definition at line 340 of file stereo_view.cpp.

◆ disparity_sub_

message_filters::Subscriber<DisparityImage> StereoView::disparity_sub_
private

Definition at line 329 of file stereo_view.cpp.

◆ exact_sync_

boost::shared_ptr<ExactSync> StereoView::exact_sync_
private

Definition at line 334 of file stereo_view.cpp.

◆ filename_format_

boost::format StereoView::filename_format_
private

Definition at line 343 of file stereo_view.cpp.

◆ image_mutex_

boost::mutex StereoView::image_mutex_
private

Definition at line 341 of file stereo_view.cpp.

◆ last_left_image_

cv::Mat StereoView::last_left_image_
private

Definition at line 339 of file stereo_view.cpp.

◆ last_left_msg_

ImageConstPtr StereoView::last_left_msg_
private

Definition at line 338 of file stereo_view.cpp.

◆ last_right_image_

cv::Mat StereoView::last_right_image_
private

Definition at line 339 of file stereo_view.cpp.

◆ last_right_msg_

ImageConstPtr StereoView::last_right_msg_
private

Definition at line 338 of file stereo_view.cpp.

◆ left_received_

int StereoView::left_received_
private

Definition at line 347 of file stereo_view.cpp.

◆ left_sub_

image_transport::SubscriberFilter StereoView::left_sub_
private

Definition at line 328 of file stereo_view.cpp.

◆ queue_size_

int StereoView::queue_size_
private

Definition at line 336 of file stereo_view.cpp.

◆ right_received_

int StereoView::right_received_
private

Definition at line 347 of file stereo_view.cpp.

◆ right_sub_

image_transport::SubscriberFilter StereoView::right_sub_
private

Definition at line 328 of file stereo_view.cpp.

◆ save_count_

int StereoView::save_count_
private

Definition at line 344 of file stereo_view.cpp.


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


image_view
Author(s): Patrick Mihelich
autogenerated on Wed Jan 24 2024 03:57:22