IMP  2.1.1
The Integrative Modeling Platform
IMP::display::Color Class Reference

Represent an RGB color.

#include <IMP/display/Color.h>

+ Inheritance diagram for IMP::display::Color:

Public Member Functions

 Color (double r, double g, double b)
 
template<class It >
 Color (It b, It e)
 
void show (std::ostream &out, std::string delim) const
 
void show (std::ostream &out=std::cout) const
 

Component access

typedef const double * ComponentIterator
 
double get_red () const
 
double get_green () const
 
double get_blue () const
 
ComponentIterator components_begin () const
 
ComponentIterator components_end () const
 

Detailed Description

Definition at line 24 of file Color.h.

Constructor & Destructor Documentation

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

Components must be between 0 and 1

template<class It >
IMP::display::Color::Color ( It  b,
It  e 
)

Components must be between 0 and 1

Definition at line 54 of file Color.h.


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