ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccHistogramWindowDlg Class Reference

Encapsulating dialog for ccHistogramWindow. More...

#include <ecvHistogramWindow.h>

Inheritance diagram for ccHistogramWindowDlg:
[legend]
Collaboration diagram for ccHistogramWindowDlg:
[legend]

Public Member Functions

 ccHistogramWindowDlg (QWidget *parent=0)
 Default constructor. More...
 
virtual ~ccHistogramWindowDlg ()
 Destructor. More...
 
ccHistogramWindow * window ()
 Returns encapsulated ccHistogramWindow. More...
 
bool exportToCSV (QString filename) const
 Exports histogram to a CSV file. More...
 

Protected Member Functions

void onExportToCSV ()
 When the export to CSV file button is pressed. More...
 
void onExportToImage ()
 When the export to Image file button is pressed. More...
 

Protected Attributes

ccHistogramWindow * m_win
 
Ui_HistogramDialog * m_gui
 Associated widgets. More...
 

Detailed Description

Encapsulating dialog for ccHistogramWindow.

Constructor & Destructor Documentation

◆ ccHistogramWindowDlg()

ccHistogramWindowDlg::ccHistogramWindowDlg ( QWidget *  parent = 0)
explicit

Default constructor.

References m_gui, m_win, onExportToCSV(), and onExportToImage().

◆ ~ccHistogramWindowDlg()

ccHistogramWindowDlg::~ccHistogramWindowDlg ( )
virtual

Destructor.

References m_gui.

Member Function Documentation

◆ exportToCSV()

bool ccHistogramWindowDlg::exportToCSV ( QString  filename) const

◆ onExportToCSV()

void ccHistogramWindowDlg::onExportToCSV ( )
protected

When the export to CSV file button is pressed.

References ecvPS::CurrentPath(), ecvFileUtils::defaultDocPath(), exportToCSV(), filename, m_win, and ecvPS::SaveFile().

Referenced by ccHistogramWindowDlg().

◆ onExportToImage()

void ccHistogramWindowDlg::onExportToImage ( )
protected

◆ window()

ccHistogramWindow* ccHistogramWindowDlg::window ( )
inline

Member Data Documentation

◆ m_gui

Ui_HistogramDialog* ccHistogramWindowDlg::m_gui
protected

Associated widgets.

Referenced by ccHistogramWindowDlg(), and ~ccHistogramWindowDlg().

◆ m_win

ccHistogramWindow* ccHistogramWindowDlg::m_win
protected

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