![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
RGBA color structure. More...
#include <ecvColorTypes.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. More... | |
| constexpr | RgbaTpl (const Type col[4]) |
| RgbaTpl from an array of 4 values. More... | |
| constexpr | RgbaTpl (const Type col[3], Type alpha) |
| RgbaTpl from an array of 3 values and a transparency value. More... | |
| constexpr | RgbaTpl (const RgbTpl< Type > &c, Type alpha) |
| Copy constructor. More... | |
| constexpr | operator RgbTpl< Type > () const |
| Cast operator. More... | |
| 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.
Definition at line 145 of file ecvColorTypes.h.
|
inlineconstexpr |
|
inlineexplicitconstexpr |
Constructor from a triplet of r,g,b values and a transparency value.
Definition at line 161 of file ecvColorTypes.h.
|
inlineexplicitconstexpr |
RgbaTpl from an array of 4 values.
Definition at line 168 of file ecvColorTypes.h.
|
inlineexplicitconstexpr |
RgbaTpl from an array of 3 values and a transparency value.
Definition at line 171 of file ecvColorTypes.h.
|
inlineconstexpr |
Copy constructor.
Definition at line 175 of file ecvColorTypes.h.
|
inlineconstexpr |
Cast operator.
Definition at line 179 of file ecvColorTypes.h.
References ecvColor::RgbaTpl< Type >::rgba.
|
inline |
Cast operator (const version)
Comparison operator
Definition at line 186 of file ecvColorTypes.h.
References ecvColor::RgbaTpl< Type >::a, ecvColor::RgbaTpl< Type >::b, ecvColor::RgbaTpl< Type >::g, and ecvColor::RgbaTpl< Type >::r.
| union { ... } |
| Type ecvColor::RgbaTpl< Type >::a |
Definition at line 150 of file ecvColorTypes.h.
Referenced by define_qcc_db(), ecvColor::RgbaTpl< Type >::operator!=(), and GrainsAsEllipsoids::updateMeshAndLineSet().
| Type ecvColor::RgbaTpl< Type >::b |
Definition at line 150 of file ecvColorTypes.h.
Referenced by define_qcc_db(), ecvColor::RgbaTpl< Type >::operator!=(), and ToFbxMesh().
| Type ecvColor::RgbaTpl< Type >::g |
Definition at line 150 of file ecvColorTypes.h.
Referenced by define_qcc_db(), ecvColor::RgbaTpl< Type >::operator!=(), and ToFbxMesh().
| Type ecvColor::RgbaTpl< Type >::r |
Definition at line 150 of file ecvColorTypes.h.
Referenced by define_qcc_db(), ecvColor::RgbaTpl< Type >::operator!=(), and ToFbxMesh().
| Type ecvColor::RgbaTpl< Type >::rgba[4] |
Definition at line 152 of file ecvColorTypes.h.
Referenced by FromFbxMesh(), and ecvColor::RgbaTpl< Type >::operator RgbTpl< Type >().