qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
RGBA color structure. More...
#include <ccColorTypes.h>
Public Member Functions | |
constexpr | RgbaTpl () |
Default constructor. More... | |
constexpr | RgbaTpl (Type red, Type green, Type blue, Type alpha) |
Constructor from a triplet of r,g,b values and a transparency value. | |
constexpr | RgbaTpl (const Type col[4]) |
RgbaTpl from an array of 4 values. | |
constexpr | RgbaTpl (const Type col[3], Type alpha) |
RgbaTpl from an array of 3 values and a transparency value. | |
RgbaTpl (const RgbTpl< Type > &c, Type alpha) | |
Copy constructor. | |
operator RgbTpl< Type > () const | |
Cast operator. | |
bool | operator!= (const RgbaTpl< Type > &t) const |
Cast operator (const version) More... | |
Public Attributes | |
union { | |
struct { | |
Type r | |
Type g | |
Type b | |
Type a | |
} | |
Type rgba [4] | |
}; | |
RGBA color structure.
|
inlineconstexpr |
Default constructor.
Inits color to (0,0,0,0).
|
inline |
Cast operator (const version)
Comparison operator