|
| RGBA () |
| Empty constructor. More...
|
|
| RGBA (T x) |
| Constructor with constant value. More...
|
|
| RGBA (T r, T g, T b, T a) |
| Constructor with r,g,b,a values Constructs a RGBA of type T. More...
|
|
| RGBA (T r, T g, T b) |
| Constructor with r,g,b values Constructs a RGBA of type T. More...
|
|
| RGBA (const T t[4]) |
| Constructor from C array. More...
|
|
| RGBA (const Base &x) |
| Copy constructor. More...
|
|
template<typename T2 > |
| RGBA (const FArray< T2, 4 > &x) |
| Constructor from other value type Constructs from RGBA with different type. More...
|
|
template<typename T2 > |
| RGBA (const FArray< T2, 3 > &x) |
| Constructor from RGB. More...
|
|
const T & | a () const |
| Read alpha alias. More...
|
|
T & | a () |
| Write alpha alias. More...
|
|
const T & | b () const |
| Read BLUE alias. More...
|
|
T & | b () |
| Write BLUE alias. More...
|
|
const T & | g () const |
| Read GREEN alias. More...
|
|
T & | g () |
| Write GREEN alias. More...
|
|
| operator T () const |
| To greyscale. More...
|
|
const T & | r () const |
| Read RED alias. More...
|
|
T & | r () |
| Write RED alias. More...
|
|
| FVector () |
| Empty constructor. More...
|
|
| FVector (const T &v) |
| Constructor with constant value. More...
|
|
| FVector (const T2 t[dim]) |
| Constructor from C array. More...
|
|
| FVector (const FArray< T2, dim > &a) |
| Copy constructor. More...
|
|
| FVector (T x, T y) |
| 2D alias. More...
|
|
| FVector (T x, T y, T z) |
| 3D alias. More...
|
|
FVector & | fill (const T &v) |
| Filling. More...
|
|
FVector & | normalize () |
| Euclidean in-place normalization. More...
|
|
T | operator* (const FVector &v) const |
| Scalar product. More...
|
|
FVector | operator* (T s) const |
| Scalar multiplication. More...
|
|
FVector & | operator*= (T s) |
| Scalar in place multiplication. More...
|
|
FVector | operator+ (const FVector &v) const |
| Addition. More...
|
|
FVector | operator+ (T s) const |
| Scalar Addition. More...
|
|
FVector & | operator+= (const FVector &v) |
| In place Addition. More...
|
|
FVector & | operator+= (T s) |
| Scalar in place Addition. More...
|
|
FVector | operator- (const FVector &v) const |
| Substraction. More...
|
|
FVector | operator- (T s) const |
| Scalar Substraction. More...
|
|
FVector | operator- () const |
| Opposite. More...
|
|
FVector & | operator-= (const FVector &v) |
| In place Substraction. More...
|
|
FVector & | operator-= (T s) |
| Scalar in place substractrion. More...
|
|
FVector | operator/ (T s) const |
| Scalar division. More...
|
|
FVector & | operator/= (T s) |
| Scalar in place division. More...
|
|
FVector & | operator= (const FArray< T2, dim > &b) |
| Assignment. More...
|
|
T | operator^ (const FVector< T, 2 > &v) const |
| 2D cross product. More...
|
|
FVector< T, 3 > | operator^ (const FVector< T, 3 > &v) const |
| 3D cross product. More...
|
|
const T & | x () const |
| Read alias. More...
|
|
T & | x () |
| Write alias. More...
|
|
const T & | y () const |
| Read alias. More...
|
|
T & | y () |
| Write alias. More...
|
|
const T & | z () const |
| Read alias. More...
|
|
T & | z () |
| Write alias. More...
|
|
| FArray () |
| Empty constructor. More...
|
|
| FArray (const T &v) |
| Constructor with constant value. More...
|
|
| FArray (const T2 t[S]) |
| Constructor from C array. More...
|
|
| FArray (const FArray< T2, S > &a) |
| Copy constructor. More...
|
|
| FArray (T v0, T v1) |
| 2D alias. More...
|
|
| FArray (T v0, T v1, T v2) |
| 3D alias. More...
|
|
| FArray (T v0, T v1, T v2, T v3) |
| 4D alias. More...
|
|
iterator | begin () |
| Begin iterator. More...
|
|
const_iterator | begin () const |
| Begin const iterator. More...
|
|
FArray & | copy (const T2 t[S]) |
| C array of different type copy. More...
|
|
FArray & | copy (const FArray< T2, S > &b) |
| Copy. More...
|
|
const T * | data () const |
| Data pointer (read). More...
|
|
T * | data () |
| Data pointer (write). More...
|
|
bool | empty () const |
| Is empty. More...
|
|
iterator | end () |
| End iterator. More...
|
|
const_iterator | end () const |
| End const iterator. More...
|
|
FArray & | fill (const T &v) |
| Filling. More...
|
|
bool | operator!= (const FArray &b) const |
| Inequality test. More...
|
|
FArray & | operator= (const FArray< T2, S > &b) |
| Assignment. More...
|
|
bool | operator== (const FArray &b) const |
| Equality test. More...
|
|
const T & | operator[] (int i) const |
| Read access. More...
|
|
T & | operator[] (int i) |
| Write access. More...
|
|
int | size () const |
| Size. More...
|
|
template<typename T>
class Imagine::RGBA< T >
RED GREEN BLUE Alpha color
- Parameters
-
- Examples:
- Common/test/test.cpp, and Graphics/test/test.cpp.