![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ImageViewerWidget.h>


Public Member Functions | |
| FeatureImageViewerWidget (QWidget *parent, const std::string &switch_text) | |
| void | ReadAndShowWithKeypoints (const std::string &path, const colmap::FeatureKeypoints &keypoints, const std::vector< char > &tri_mask) |
| void | ReadAndShowWithMatches (const std::string &path1, const std::string &path2, const colmap::FeatureKeypoints &keypoints1, const colmap::FeatureKeypoints &keypoints2, const colmap::FeatureMatches &matches) |
Public Member Functions inherited from cloudViewer::ImageViewerWidget | |
| ImageViewerWidget (QWidget *parent) | |
| void | ShowBitmap (const colmap::Bitmap &bitmap) |
| void | ShowPixmap (const QPixmap &pixmap) |
| void | ReadAndShow (const std::string &path) |
Protected Member Functions | |
| void | ShowOrHide () |
Protected Member Functions inherited from cloudViewer::ImageViewerWidget | |
| void | resizeEvent (QResizeEvent *event) |
| void | closeEvent (QCloseEvent *event) |
| void | ZoomIn () |
| void | ZoomOut () |
| void | Save () |
Protected Attributes | |
| QPixmap | image1_ |
| QPixmap | image2_ |
| bool | switch_state_ |
| QPushButton * | switch_button_ |
| const std::string | switch_text_ |
Protected Attributes inherited from cloudViewer::ImageViewerWidget | |
| QGridLayout * | grid_layout_ |
| QHBoxLayout * | button_layout_ |
Definition at line 61 of file ImageViewerWidget.h.
| cloudViewer::FeatureImageViewerWidget::FeatureImageViewerWidget | ( | QWidget * | parent, |
| const std::string & | switch_text | ||
| ) |
Definition at line 140 of file ImageViewerWidget.cpp.
References cloudViewer::ImageViewerWidget::button_layout_, ShowOrHide(), switch_button_, and switch_text_.
| void cloudViewer::FeatureImageViewerWidget::ReadAndShowWithKeypoints | ( | const std::string & | path, |
| const colmap::FeatureKeypoints & | keypoints, | ||
| const std::vector< char > & | tri_mask | ||
| ) |
Definition at line 153 of file ImageViewerWidget.cpp.
References QtCompat::endl(), image1_, image2_, ecvColor::magenta(), cloudViewer::t::geometry::path, ecvColor::red(), cloudViewer::ImageViewerWidget::ShowPixmap(), and switch_state_.
Referenced by cloudViewer::DatabaseImageViewerWidget::ShowImageWithId().
| void cloudViewer::FeatureImageViewerWidget::ReadAndShowWithMatches | ( | const std::string & | path1, |
| const std::string & | path2, | ||
| const colmap::FeatureKeypoints & | keypoints1, | ||
| const colmap::FeatureKeypoints & | keypoints2, | ||
| const colmap::FeatureMatches & | matches | ||
| ) |
Definition at line 193 of file ImageViewerWidget.cpp.
References QtCompat::endl(), image1_, image2_, cloudViewer::ImageViewerWidget::ShowPixmap(), and switch_state_.
|
protected |
Definition at line 220 of file ImageViewerWidget.cpp.
References image1_, image2_, cloudViewer::ImageViewerWidget::ShowPixmap(), switch_button_, switch_state_, and switch_text_.
Referenced by FeatureImageViewerWidget().
|
protected |
Definition at line 78 of file ImageViewerWidget.h.
Referenced by ReadAndShowWithKeypoints(), ReadAndShowWithMatches(), and ShowOrHide().
|
protected |
Definition at line 79 of file ImageViewerWidget.h.
Referenced by ReadAndShowWithKeypoints(), ReadAndShowWithMatches(), and ShowOrHide().
|
protected |
Definition at line 81 of file ImageViewerWidget.h.
Referenced by FeatureImageViewerWidget(), and ShowOrHide().
|
protected |
Definition at line 80 of file ImageViewerWidget.h.
Referenced by ReadAndShowWithKeypoints(), ReadAndShowWithMatches(), and ShowOrHide().
|
protected |
Definition at line 82 of file ImageViewerWidget.h.
Referenced by FeatureImageViewerWidget(), and ShowOrHide().