color.hpp File Reference
+ Include dependency graph for color.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cpe::color
 Container class for (r,g,b) color. Each component is between [0,1]. More...
 
class  cpe::exception_color
 Exception class for color. More...
 

Namespaces

namespace  cpe
 Namespace for CPE classes.
 

Typedefs

typedef float cpe::color_component
 

Functions

color & cpe::operator+= (color &c0, const color &c1)
 
color & cpe::operator-= (color &c0, const color &c1)
 
color cpe::operator+ (const color &c0, const color &c1)
 
color cpe::operator- (const color &c0, const color &c1)
 
color & cpe::operator*= (color &c0, float alpha)
 
color & cpe::operator*= (color &c0, const color &c1)
 
color & cpe::operator/= (color &c0, float alpha)
 
color cpe::operator* (const color &c0, float alpha)
 
color cpe::operator* (const color &c0, const color &c1)
 
color cpe::operator* (float alpha, const color &c0)
 
color cpe::operator/ (const color &c0, float alpha)
 
std::ostream & cpe::operator<< (std::ostream &stream, const color &c)
 standard output More...