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