cpe Namespace Reference

Namespace for CPE classes. More...

Classes

class  color
 Container class for (r,g,b) color. Each component is an integer (in [0,255]) More...
class  exception_color
 Exception class for color. More...
class  exception_cpe
 General exception class. More...
class  fonction_transfert
class  Texture
class  Volume

Functions

std::ostream & operator<< (std::ostream &stream, const color &c)
color operator+ (const color &c0, const color &c1)
color operator* (const double &alpha, const color &c)
color operator* (const color &c, const double &alpha)

Detailed Description

Namespace for CPE classes.


Function Documentation

color cpe::operator* ( const double &  alpha,
const color &  c 
)
color cpe::operator* ( const color &  c,
const double &  alpha 
)
color cpe::operator+ ( const color &  c0,
const color &  c1 
)
std::ostream& cpe::operator<< ( std::ostream &  stream,
const color &  c 
)

References cpe::color::b(), cpe::color::g(), and cpe::color::r().

+ Here is the call graph for this function: