Free Electron
Public Member Functions | List of all members
fe::Color Class Reference

Special vector for color (RGBA) More...

#include <Color.h>

Inheritance diagram for fe::Color:
Inheritance graph
[legend]

Public Member Functions

 Color (Real r, Real g, Real b=(Real) 0, Real a=(Real) 1)
 
 Color (const Vector< 3, Real > &other)
 
 Color (const Vector< 4, Real > &other)
 
template<typename U >
 Color (const Vector< 3, U > &other)
 
template<typename U >
 Color (const Vector< 4, U > &other)
 
 Color (const Real *array)
 
- Public Member Functions inherited from fe::Vector< 4, Real >
 Vector (const Vector< N, Real > &other)
 
 Vector (const Vector< N, U > &other)
 
 Vector (const Vector< N+1, U > &other)
 
 Vector (const Vector< N+2, U > &other)
 
 Vector (const Vector< N-1, U > &other)
 
 Vector (const Vector< N-2, U > &other)
 
 Vector (const Real *array)
 
 Vector (Real x, Real y, Real z, Real w, Real v, Real u)
 
 Vector (Real x, Real y, Real z, Real w, Real v)
 
 Vector (Real x, Real y, Real z, Real w)
 
 Vector (Real x, Real y, Real z)
 
 Vector (Real x, Real y)
 
 Vector (Real x)
 
 Vector (const Vector< 2, U > &other)
 
const Real & operator[] (unsigned int index) const
 
Real & operator[] (unsigned int index)
 
Real * raw (void)
 
const Real * raw (void) const
 
const Real * temp (void) const
 
Vector< N, Real > & operator= (const Real *array)
 
Vector< N, Real > & operator= (const Vector< N, Real > &other)
 
Vector< N, Real > & operator= (const Vector< N, U > &other)
 
Vector< N, Real > & operator= (const Vector< N+1, Real > &other)
 
Vector< N, Real > & operator= (const Vector< N+1, U > &other)
 
Vector< N, Real > & operator= (const Vector< N+2, U > &other)
 
Vector< N, Real > & operator= (const Vector< N-1, U > &other)
 
Vector< N, Real > & operator= (const Vector< N-2, U > &other)
 
bool operator== (const Vector< N, Real > &other)
 
bool operator!= (const Vector< N, Real > &other)
 

Additional Inherited Members

- Public Attributes inherited from fe::Vector< 4, Real >
Real m_data [N]
 

Detailed Description

Special vector for color (RGBA)


The documentation for this class was generated from the following file: