IMP  2.0.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

namespace  IMP
 All IMP::kernel code is brought into the IMP namespace.
 
namespace  IMP::display
 See IMP.display Overview for more information.
 

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.
 
Color IMP::display::get_hot_color (double f)
 Return the color for f from the hot color map.
 
Color IMP::display::get_rgb_color (double f)
 Return the color for f from the rgb color map.
 
Color IMP::display::get_grey_color (double f)
 Return the a greyscale value for f.
 
Color IMP::display::get_gnuplot_color (double f)
 Return colors using the gnuplot default color map.
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file Color.h.