![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Dialog to change the color levels. More...
#include <ecvColorLevelsDlg.h>


Public Member Functions | |
| ccColorLevelsDlg (QWidget *parent, ccGenericPointCloud *pointCloud) | |
| Default constructor. More... | |
Protected Types | |
| enum | CHANNELS { RGB = 0 , RED = 1 , GREEN = 2 , BLUE = 3 } |
| Channels. More... | |
Protected Slots | |
| void | onChannelChanged (int) |
| void | onApply () |
Protected Member Functions | |
| void | updateHistogram () |
| Updates histogram. More... | |
Protected Attributes | |
| ccHistogramWindow * | m_histogram |
| Associated histogram view. More... | |
| ccGenericPointCloud * | m_cloud |
| Associated point cloud (color source) More... | |
Dialog to change the color levels.
Definition at line 19 of file ecvColorLevelsDlg.h.
|
protected |
| ccColorLevelsDlg::ccColorLevelsDlg | ( | QWidget * | parent, |
| ccGenericPointCloud * | pointCloud | ||
| ) |
Default constructor.
Definition at line 31 of file ecvColorLevelsDlg.cpp.
References ecvColor::black(), m_histogram, onApply(), onChannelChanged(), s_inputLevels, s_outputLevels, s_outputLevelsEnabled, ccHistogramWindow::setColorScheme(), ccHistogramWindow::setSolidColor(), updateHistogram(), and ccHistogramWindow::USE_SOLID_COLOR.
|
protectedslot |
Definition at line 142 of file ecvColorLevelsDlg.cpp.
References BLUE, ccGenericPointCloud::getPointColor(), GREEN, m_cloud, ecvColor::MAX, onChannelChanged(), RED, ecvDisplayTools::RedrawDisplay(), RGB, ecvColor::RgbTpl< Type >::rgb, s_inputLevels, s_outputLevels, s_outputLevelsEnabled, ccPointCloud::setPointColor(), cloudViewer::GenericCloud::size(), and ccHObjectCaster::ToPointCloud().
Referenced by ccColorLevelsDlg().
|
protectedslot |
Definition at line 140 of file ecvColorLevelsDlg.cpp.
References updateHistogram().
Referenced by ccColorLevelsDlg(), and onApply().
|
protected |
Updates histogram.
Definition at line 67 of file ecvColorLevelsDlg.cpp.
References ecvColor::RgbTpl< Type >::b, ecvColor::black(), BLUE, ecvColor::blue(), ccHistogramWindow::clear(), ccHistogramWindow::fromBinArray(), ecvColor::RgbTpl< Type >::g, ccGenericPointCloud::getPointColor(), GREEN, ecvColor::green(), m_cloud, m_histogram, ecvColor::RgbTpl< Type >::r, RED, ecvColor::red(), ccHistogramWindow::refresh(), RGB, ccHistogramWindow::setAxisLabels(), ccHistogramWindow::setSolidColor(), and cloudViewer::GenericCloud::size().
Referenced by ccColorLevelsDlg(), and onChannelChanged().
|
protected |
Associated point cloud (color source)
Definition at line 42 of file ecvColorLevelsDlg.h.
Referenced by onApply(), and updateHistogram().
|
protected |
Associated histogram view.
Definition at line 39 of file ecvColorLevelsDlg.h.
Referenced by ccColorLevelsDlg(), and updateHistogram().