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

#include <image_viewer_widget.h>

Inheritance diagram for colmap::ImageViewerWidget:
Collaboration diagram for colmap::ImageViewerWidget:

Public Member Functions

 ImageViewerWidget (QWidget *parent)
 
void ShowBitmap (const Bitmap &bitmap)
 
void ShowPixmap (const QPixmap &pixmap)
 
void ReadAndShow (const std::string &path)
 

Protected Member Functions

void resizeEvent (QResizeEvent *event)
 
void closeEvent (QCloseEvent *event)
 
void ZoomIn ()
 
void ZoomOut ()
 
void Save ()
 

Protected Attributes

QGridLayout * grid_layout_
 
QHBoxLayout * button_layout_
 

Detailed Description

Definition at line 33 of file image_viewer_widget.h.

Constructor & Destructor Documentation

◆ ImageViewerWidget()

colmap::ImageViewerWidget::ImageViewerWidget ( QWidget *  parent)
explicit

Definition at line 51 of file image_viewer_widget.cc.

References button_layout_, grid_layout_, Save(), ZoomIn(), and ZoomOut().

Member Function Documentation

◆ closeEvent()

void colmap::ImageViewerWidget::closeEvent ( QCloseEvent *  event)
protected

◆ ReadAndShow()

void colmap::ImageViewerWidget::ReadAndShow ( const std::string &  path)

◆ resizeEvent()

void colmap::ImageViewerWidget::resizeEvent ( QResizeEvent *  event)
protected

Definition at line 97 of file image_viewer_widget.cc.

References event.

◆ Save()

void colmap::ImageViewerWidget::Save ( )
protected

◆ ShowBitmap()

void colmap::ImageViewerWidget::ShowBitmap ( const Bitmap bitmap)

◆ ShowPixmap()

◆ ZoomIn()

void colmap::ImageViewerWidget::ZoomIn ( )
protected

Definition at line 130 of file image_viewer_widget.cc.

Referenced by ImageViewerWidget().

◆ ZoomOut()

void colmap::ImageViewerWidget::ZoomOut ( )
protected

Definition at line 134 of file image_viewer_widget.cc.

Referenced by ImageViewerWidget().

Member Data Documentation

◆ button_layout_

QHBoxLayout* colmap::ImageViewerWidget::button_layout_
protected

◆ grid_layout_

QGridLayout* colmap::ImageViewerWidget::grid_layout_
protected

Definition at line 54 of file image_viewer_widget.h.

Referenced by ImageViewerWidget().


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