IMP  2.3.1
The Integrative Modeling Platform
Color.h File Reference

Represent a color. More...

#include <IMP/display/display_config.h>
#include <IMP/base/Value.h>
#include <IMP/base/showable_macros.h>
#include <IMP/base/comparison_macros.h>
#include <IMP/base/check_macros.h>
#include <IMP/base/value_macros.h>
#include <boost/array.hpp>
+ Include dependency graph for Color.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::display::Color
 Represent an RGB color. More...
 

Namespaces

 IMP
 Synonym for IMP::kernel.
 
 IMP::display
 Output IMP model data in various file formats.
 

Typedefs

typedef IMP::base::Vector< Color > IMP::display::Colors
 

Functions

Color IMP::display::get_display_color (unsigned int i)
 
Color IMP::display::get_interpolated_rgb (const Color &a, const Color &b, double f)
 Return a color interpolated between a and b in RGB space. More...
 
double IMP::display::get_linear_color_map_value (double min, double max, double value)
 

Colormaps

These functions map a number in the interval [0,1] to a color using some color map.

Color IMP::display::get_jet_color (double f)
 Return the color for f from the jet color map. More...
 
Color IMP::display::get_hot_color (double f)
 Return the color for f from the hot color map. More...
 
Color IMP::display::get_rgb_color (double f)
 Return the color for f from the RGB color map. More...
 
Color IMP::display::get_gray_color (double f)
 Return the a grayscale value for f. More...
 
Color IMP::display::get_gnuplot_color (double f)
 Return colors using the gnuplot default color map. More...
 

Detailed Description

Represent a color.

Copyright 2007-2014 IMP Inventors. All rights reserved.

Definition in file Color.h.