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

#include <image_viewer_widget.h>

Inheritance diagram for colmap::FeatureImageViewerWidget:
Collaboration diagram for colmap::FeatureImageViewerWidget:

Public Member Functions

 FeatureImageViewerWidget (QWidget *parent, const std::string &switch_text)
 
void ReadAndShowWithKeypoints (const std::string &path, const FeatureKeypoints &keypoints, const std::vector< char > &tri_mask)
 
void ReadAndShowWithMatches (const std::string &path1, const std::string &path2, const FeatureKeypoints &keypoints1, const FeatureKeypoints &keypoints2, const FeatureMatches &matches)
 
- Public Member Functions inherited from colmap::ImageViewerWidget
 ImageViewerWidget (QWidget *parent)
 
void ShowBitmap (const Bitmap &bitmap)
 
void ShowPixmap (const QPixmap &pixmap)
 
void ReadAndShow (const std::string &path)
 

Protected Member Functions

void ShowOrHide ()
 
- Protected Member Functions inherited from colmap::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 colmap::ImageViewerWidget
QGridLayout * grid_layout_
 
QHBoxLayout * button_layout_
 

Detailed Description

Definition at line 58 of file image_viewer_widget.h.

Constructor & Destructor Documentation

◆ FeatureImageViewerWidget()

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

Member Function Documentation

◆ ReadAndShowWithKeypoints()

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

◆ ReadAndShowWithMatches()

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

◆ ShowOrHide()

void colmap::FeatureImageViewerWidget::ShowOrHide ( )
protected

Member Data Documentation

◆ image1_

QPixmap colmap::FeatureImageViewerWidget::image1_
protected

◆ image2_

QPixmap colmap::FeatureImageViewerWidget::image2_
protected

◆ switch_button_

QPushButton* colmap::FeatureImageViewerWidget::switch_button_
protected

Definition at line 78 of file image_viewer_widget.h.

Referenced by FeatureImageViewerWidget(), and ShowOrHide().

◆ switch_state_

bool colmap::FeatureImageViewerWidget::switch_state_
protected

◆ switch_text_

const std::string colmap::FeatureImageViewerWidget::switch_text_
protected

Definition at line 79 of file image_viewer_widget.h.

Referenced by FeatureImageViewerWidget(), and ShowOrHide().


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