IMP Reference Guide
develop.36b5e40f34,2024/10/14
The Integrative Modeling Platform
|
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 <array>
#include <cereal/access.hpp>
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... | |