![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Encapsulating dialog for ccHistogramWindow. More...
#include <ecvHistogramWindow.h>


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... | |
Encapsulating dialog for ccHistogramWindow.
Definition at line 249 of file ecvHistogramWindow.h.
|
explicit |
Default constructor.
Definition at line 842 of file ecvHistogramWindow.cpp.
References m_gui, m_win, onExportToCSV(), and onExportToImage().
|
virtual |
| bool ccHistogramWindowDlg::exportToCSV | ( | QString | filename | ) | const |
Exports histogram to a CSV file.
Definition at line 866 of file ecvHistogramWindow.cpp.
References QtCompat::endl(), filename, ccHistogramWindow::histoValues(), m_win, ccHistogramWindow::maxVal(), ccHistogramWindow::minVal(), CVLog::Print(), s_csvSep(), and CVLog::Warning().
Referenced by onExportToCSV().
|
protected |
When the export to CSV file button is pressed.
Definition at line 915 of file ecvHistogramWindow.cpp.
References ecvPS::CurrentPath(), ecvFileUtils::defaultDocPath(), exportToCSV(), filename, m_win, and ecvPS::SaveFile().
Referenced by ccHistogramWindowDlg().
|
protected |
When the export to Image file button is pressed.
Definition at line 946 of file ecvHistogramWindow.cpp.
References ecvPS::CurrentPath(), ecvFileUtils::defaultDocPath(), CVLog::Error(), ImageFileFilter::GetSaveFilename(), image, m_win, CVLog::Print(), and ecvPS::SaveFile().
Referenced by ccHistogramWindowDlg().
|
inline |
Returns encapsulated ccHistogramWindow.
Definition at line 259 of file ecvHistogramWindow.h.
References m_win.
Referenced by ccEntityAction::computeStatParams(), ccComparisonDlg::showHisto(), and MainWindow::spawnHistogramDialog().
|
protected |
Associated widgets.
Definition at line 276 of file ecvHistogramWindow.h.
Referenced by ccHistogramWindowDlg(), and ~ccHistogramWindowDlg().
|
protected |
Definition at line 273 of file ecvHistogramWindow.h.
Referenced by ccHistogramWindowDlg(), exportToCSV(), onExportToCSV(), onExportToImage(), and window().