41 #ifndef H_OGF_IMAGE_TYPES_COLOR_H
42 #define H_OGF_IMAGE_TYPES_COLOR_H
83 T
r=0, T
g=0, T
b=0, T
a=1
93 superclass::operator=(rhs);
vecng< 4, T > superclass
The superclass type.
T a() const
Gets the alpha component (transparency).
T g() const
Gets the green component.
GenColor & operator=(const superclass &rhs)
assignment operator.
GenColor(T r=0, T g=0, T b=0, T a=1)
GenColor constructor from 4 parameters.
void set_r(T r)
Sets the red component.
void set_b(T b)
Sets the blue component.
void set_a(T a)
Sets the alpha component (transparency).
T r() const
Gets the red component.
void set_g(T g)
Sets the green component.
GenColor(const T *rhs)
GenColor constructor from T array.
T b() const
Gets the blue component.
GenColor(const superclass &rhs)
GenColor copy constructor.
Specialization of class vecn3 for DIM == 4.
Common include file, providing basic definitions. Should be included before anything else by all head...
Geometric functions in 2d and 3d.
Global Vorpaline namespace.
GenColor< Numeric::float64 > Color
Default representation of colors.