qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Types | Public Member Functions | Protected Member Functions | List of all members
ccColorGradientDlg Class Reference

Dialog to define a color gradient (default, with 2 colors, banding, etc.) More...

#include <ccColorGradientDlg.h>

Inheritance diagram for ccColorGradientDlg:
Inheritance graph
[legend]
Collaboration diagram for ccColorGradientDlg:
Collaboration graph
[legend]

Public Types

enum  GradientType { Default , TwoColors , Banding }
 Gradient types.
 

Public Member Functions

 ccColorGradientDlg (QWidget *parent)
 Default constructor.
 
GradientType getType () const
 Returns selected gradient type.
 
void setType (GradientType type)
 Sets the currently activated type.
 
void getColors (QColor &first, QColor &second) const
 Returns the two colors of the gradient ('TwoColors' mode)
 
double getBandingFrequency () const
 Returns the frequency of the gradient ('Banding' mode)
 
unsigned char getDimension () const
 Returns the ramp dimension.
 

Protected Member Functions

void changeFirstColor ()
 
void changeSecondColor ()
 

Detailed Description

Dialog to define a color gradient (default, with 2 colors, banding, etc.)


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