Fluxus::dColour Class Reference

#include <dada.h>


Public Member Functions

 dColour ()
 dColour (float R, float G, float B, float A=1)
 dColour (dColour const &c)
float * arr ()
dColouroperator= (dColour const &rhs)
dColour operator+ (dColour const &rhs) const
dColour operator- (dColour const &rhs) const
dColour operator * (dColour const &rhs) const
dColour operator/ (dColour const &rhs) const
dColour operator+ (float rhs) const
dColour operator- (float rhs) const
dColour operator * (float rhs) const
dColour operator/ (float rhs) const
dColouroperator+= (dColour const &rhs)
dColouroperator-= (dColour const &rhs)
dColouroperator *= (float rhs)
dColouroperator/= (float rhs)
void clamp ()

Data Fields

float r
float g
float b
float a


Detailed Description

Definition at line 91 of file dada.h.


Constructor & Destructor Documentation

Fluxus::dColour::dColour (  )  [inline]

Definition at line 95 of file dada.h.

Fluxus::dColour::dColour ( float  R,
float  G,
float  B,
float  A = 1 
) [inline]

Definition at line 96 of file dada.h.

Fluxus::dColour::dColour ( dColour const &  c  )  [inline]

Definition at line 97 of file dada.h.


Member Function Documentation

float* Fluxus::dColour::arr (  )  [inline]

Definition at line 98 of file dada.h.

dColour & dColour::operator= ( dColour const &  rhs  ) 

Definition at line 237 of file dada.cpp.

dColour dColour::operator+ ( dColour const &  rhs  )  const

Definition at line 243 of file dada.cpp.

dColour dColour::operator- ( dColour const &  rhs  )  const

Definition at line 250 of file dada.cpp.

dColour dColour::operator * ( dColour const &  rhs  )  const

Definition at line 257 of file dada.cpp.

dColour dColour::operator/ ( dColour const &  rhs  )  const

Definition at line 264 of file dada.cpp.

dColour dColour::operator+ ( float  rhs  )  const

Definition at line 271 of file dada.cpp.

dColour dColour::operator- ( float  rhs  )  const

Definition at line 278 of file dada.cpp.

dColour dColour::operator * ( float  rhs  )  const

Definition at line 285 of file dada.cpp.

dColour dColour::operator/ ( float  rhs  )  const

Definition at line 292 of file dada.cpp.

dColour & dColour::operator+= ( dColour const &  rhs  ) 

Definition at line 299 of file dada.cpp.

dColour & dColour::operator-= ( dColour const &  rhs  ) 

Definition at line 305 of file dada.cpp.

dColour & dColour::operator *= ( float  rhs  ) 

Definition at line 311 of file dada.cpp.

dColour & dColour::operator/= ( float  rhs  ) 

Definition at line 317 of file dada.cpp.

void Fluxus::dColour::clamp (  )  [inline]

Definition at line 114 of file dada.h.


Field Documentation

float Fluxus::dColour::r

Definition at line 94 of file dada.h.

float Fluxus::dColour::g

Definition at line 94 of file dada.h.

float Fluxus::dColour::b

Definition at line 94 of file dada.h.

float Fluxus::dColour::a

Definition at line 94 of file dada.h.


The documentation for this class was generated from the following files:
Generated on Mon Feb 11 06:54:47 2008 for The Fluxus Renderer (libfluxus) by  doxygen 1.5.1