IMP logo
IMP Reference Guide  2.13.0
The Integrative Modeling Platform
Color.h File Reference

Represent a color. More...

#include <IMP/display/display_config.h>
#include <IMP/Value.h>
#include <IMP/showable_macros.h>
#include <IMP/comparison_macros.h>
#include <IMP/check_macros.h>
#include <IMP/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
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::display
 Output IMP model data in various file formats.
 

Typedefs

typedef IMP::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-2020 IMP Inventors. All rights reserved.

Definition in file Color.h.