Represent an RGB color.
More...
#include <IMP/display/Color.h>
Represent an RGB color.
Definition at line 25 of file Color.h.
|
|
| Color (const Color &)=default |
| | Color (double r, double g, double b) |
| template<class It> |
| | Color (It b, It e) |
|
Color & | operator= (const Color &)=default |
| void | show (std::ostream &out, std::string delim) const |
|
void | show (std::ostream &out=std::cout) const |
◆ ComponentIterator
| typedef std::array<double,3>::const_iterator IMP::display::Color::ComponentIterator |
◆ Color() [1/2]
| IMP::display::Color::Color |
( |
double | r, |
|
|
double | g, |
|
|
double | b ) |
Components must be between 0 and 1
◆ Color() [2/2]
template<class It>
| IMP::display::Color::Color |
( |
It | b, |
|
|
It | e ) |
Components must be between 0 and 1
Definition at line 62 of file Color.h.
◆ components_begin()
| ComponentIterator IMP::display::Color::components_begin |
( |
| ) |
const |
◆ components_end()
| ComponentIterator IMP::display::Color::components_end |
( |
| ) |
const |
◆ get_blue()
| double IMP::display::Color::get_blue |
( |
| ) |
const |
◆ get_green()
| double IMP::display::Color::get_green |
( |
| ) |
const |
◆ get_red()
| double IMP::display::Color::get_red |
( |
| ) |
const |
◆ get_rgb()
| const std::array< double, 3 > & IMP::display::Color::get_rgb |
( |
| ) |
const |
◆ show()
| void IMP::display::Color::show |
( |
std::ostream & | out, |
|
|
std::string | delim ) const |
The documentation for this class was generated from the following file: