ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::FeatureImageViewerWidget Class Reference

#include <ImageViewerWidget.h>

Inheritance diagram for cloudViewer::FeatureImageViewerWidget:
Collaboration diagram for cloudViewer::FeatureImageViewerWidget:

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_
 

Detailed Description

Definition at line 61 of file ImageViewerWidget.h.

Constructor & Destructor Documentation

◆ FeatureImageViewerWidget()

cloudViewer::FeatureImageViewerWidget::FeatureImageViewerWidget ( QWidget *  parent,
const std::string &  switch_text 
)

Member Function Documentation

◆ ReadAndShowWithKeypoints()

void cloudViewer::FeatureImageViewerWidget::ReadAndShowWithKeypoints ( const std::string &  path,
const colmap::FeatureKeypoints &  keypoints,
const std::vector< char > &  tri_mask 
)

◆ ReadAndShowWithMatches()

void cloudViewer::FeatureImageViewerWidget::ReadAndShowWithMatches ( const std::string &  path1,
const std::string &  path2,
const colmap::FeatureKeypoints &  keypoints1,
const colmap::FeatureKeypoints &  keypoints2,
const colmap::FeatureMatches &  matches 
)

◆ ShowOrHide()

void cloudViewer::FeatureImageViewerWidget::ShowOrHide ( )
protected

Member Data Documentation

◆ image1_

QPixmap cloudViewer::FeatureImageViewerWidget::image1_
protected

◆ image2_

QPixmap cloudViewer::FeatureImageViewerWidget::image2_
protected

◆ switch_button_

QPushButton* cloudViewer::FeatureImageViewerWidget::switch_button_
protected

Definition at line 81 of file ImageViewerWidget.h.

Referenced by FeatureImageViewerWidget(), and ShowOrHide().

◆ switch_state_

bool cloudViewer::FeatureImageViewerWidget::switch_state_
protected

◆ switch_text_

const std::string cloudViewer::FeatureImageViewerWidget::switch_text_
protected

Definition at line 82 of file ImageViewerWidget.h.

Referenced by FeatureImageViewerWidget(), and ShowOrHide().


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