 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
11 #include <ui_colorGradientDlg.h>
32 void getColors(QColor& first, QColor& second)
const;
constexpr Rgb white(MAX, MAX, MAX)
static void SetButtonColor(QAbstractButton *button, const QColor &col)
Sets a button background color.
Definition: ecvQtHelpers.h:17
GradientType
Gradient types.
Definition: ecvColorGradientDlg.h:24
constexpr Rgb black(0, 0, 0)
double getBandingFrequency() const
Returns the frequency of the gradient ('Banding' mode)
Definition: ecvColorGradientDlg.cpp:83
@ Banding
Definition: ecvColorGradientDlg.h:24
static QColor s_firstColor(Qt::black)
static int s_lastDimIndex
Definition: ecvColorGradientDlg.cpp:24
static ccColorGradientDlg::GradientType s_lastType(ccColorGradientDlg::Default)
ccColorGradientDlg(QWidget *parent)
Default constructor.
Definition: ecvColorGradientDlg.cpp:26
#define slots
Definition: PythonPlugin.cpp:25
void setType(GradientType type)
Sets the currently activated type.
Definition: ecvColorGradientDlg.cpp:48
void changeSecondColor()
Definition: ecvColorGradientDlg.cpp:98
unsigned char getDimension() const
Returns the ramp dimension.
Definition: ecvColorGradientDlg.cpp:43
Definition: sfEditDlg.h:16
GradientType getType() const
Returns selected gradient type.
Definition: ecvColorGradientDlg.cpp:64
Dialog to define a color gradient (default, with 2 colors, banding, etc.)
Definition: ecvColorGradientDlg.h:16
static QColor s_secondColor(Qt::white)
@ TwoColors
Definition: ecvColorGradientDlg.h:24
@ Default
Definition: ecvColorGradientDlg.h:24
void getColors(QColor &first, QColor &second) const
Returns the two colors of the gradient ('TwoColors' mode)
Definition: ecvColorGradientDlg.cpp:77
void changeFirstColor()
Definition: ecvColorGradientDlg.cpp:90
char type
Definition: FileIOFactory.cpp:131
static double s_lastFreq
Definition: ecvColorGradientDlg.cpp:23