 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
static int s_inputLevels[2]
Definition: ecvColorLevelsDlg.cpp:27
normal_z rgb
Definition: my_point_types.h:168
@ RGB
Definition: ecvColorLevelsDlg.h:33
constexpr Rgb black(0, 0, 0)
static bool s_outputLevelsEnabled
Definition: ecvColorLevelsDlg.cpp:29
virtual unsigned size() const =0
Returns the number of points.
@ GREEN
Definition: ecvColorLevelsDlg.h:33
static ccPointCloud * ToPointCloud(ccHObject *obj, bool *isLockedVertices=nullptr)
Converts current object to 'equivalent' ccPointCloud.
Definition: ecvHObjectCaster.cpp:54
void onChannelChanged(int)
Definition: ecvColorLevelsDlg.cpp:140
@ BLUE
Definition: ecvColorLevelsDlg.h:33
Histogram widget.
Definition: ecvHistogramWindow.h:28
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition: ecvPointCloud.h:146
CHANNELS
Channels.
Definition: ecvColorLevelsDlg.h:33
void setSolidColor(QColor color)
Sets solid color.
Definition: ecvHistogramWindow.h:87
@ RED
Definition: ecvColorLevelsDlg.h:33
Type rgb[3]
Definition: ecvColorTypes.h:56
Dialog to change the color levels.
Definition: ecvColorLevelsDlg.h:19
void setColorScheme(HISTOGRAM_COLOR_SCHEME scheme)
Sets how the gradient bars should be colored.
Definition: ecvHistogramWindow.h:81
#define slots
Definition: PythonPlugin.cpp:25
void refresh()
Updates the display.
Definition: ecvHistogramWindow.cpp:323
A 3D cloud interface with associated features (color, normals, octree, etc.)
Definition: ecvGenericPointCloud.h:45
constexpr ColorCompType MAX
Max value of a single color component (default type)
Definition: ecvColorTypes.h:34
Definition: sfEditDlg.h:16
constexpr Rgb green(0, MAX, 0)
@ USE_SOLID_COLOR
Definition: ecvHistogramWindow.h:76
virtual const ecvColor::Rgb & getPointColor(unsigned pointIndex) const =0
Returns color corresponding to a given point.
static int s_outputLevels[2]
Definition: ecvColorLevelsDlg.cpp:28
void fromBinArray(const std::vector< unsigned > &histoValues, double minVal, double maxVal)
Definition: ecvHistogramWindow.cpp:153
void setAxisLabels(const QString &xLabel, const QString &yLabel)
Sets axis labels.
Definition: ecvHistogramWindow.cpp:108
RGB color structure.
Definition: ecvColorTypes.h:49
ccGenericPointCloud * m_cloud
Associated point cloud (color source)
Definition: ecvColorLevelsDlg.h:42
void onApply()
Definition: ecvColorLevelsDlg.cpp:142
ccColorLevelsDlg(QWidget *parent, ccGenericPointCloud *pointCloud)
Default constructor.
Definition: ecvColorLevelsDlg.cpp:31
constexpr Rgb red(MAX, 0, 0)
constexpr Rgb blue(0, 0, MAX)
void updateHistogram()
Updates histogram.
Definition: ecvColorLevelsDlg.cpp:67
unsigned char ColorCompType
Default color components type (R,G and B)
Definition: ecvColorTypes.h:29
void clear()
Clears the display.
Definition: ecvHistogramWindow.cpp:87
void setPointColor(size_t pointIndex, const ecvColor::Rgb &col)
Sets a particular point color.
Definition: ecvPointCloud.cpp:1649
ccHistogramWindow * m_histogram
Associated histogram view.
Definition: ecvColorLevelsDlg.h:39