IMP logo

IMP::display::Color Class Reference


Detailed Description

Represent an RGB color.

Public Types

typedef Color This

Public Member Functions

 Color (float r, float g, float b)
void show (std::ostream &out=std::cout, std::string delim=" ") const
Component access
float get_blue () const
float get_green () const
float get_red () const

Constructor & Destructor Documentation

IMP::display::Color::Color ( float  r,
float  g,
float  b 
)

Components must be between 0 and 1


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

Generated on Mon Mar 8 23:08:59 2010 for IMP by doxygen 1.5.8