12 #ifndef __CODAC_COLORMAP_H__ 13 #define __CODAC_COLORMAP_H__ 62 void add_color_point(
rgb color,
float index);
70 void add_color_point(
hsv color,
float index);
82 void set_opacity(
float alpha);
89 bool is_opaque()
const;
100 rgb color(
double r)
const;
119 void displayColorMap(
const std::string& fig_name =
"Color map")
const;
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition: codac_capd_helpers.h:9
static const ColorMap RAINBOW
a predefined color map
Definition: codac_ColorMap.h:125
One dimensional trajectory , defined as a temporal map of values.
Definition: codac_Trajectory.h:34
std::map< float, rgb > m_colormap
map of colors
Definition: codac_ColorMap.h:131
~ColorMap()
ColorMap destructor.
Definition: codac_ColorMap.h:46
Represents an RGB value.
Definition: codac_colors.h:23
static const ColorMap RED_TUBE
a predefined color map for tubes
Definition: codac_ColorMap.h:124
Associates colors to a range of values.
Definition: codac_ColorMap.h:31
static const ColorMap DEFAULT
a predefined default color map
Definition: codac_ColorMap.h:122
static const ColorMap BLUE_TUBE
a predefined color map for tubes
Definition: codac_ColorMap.h:123
Represents an HSV value.
Definition: codac_colors.h:35
InterpolMode
Defines in which color space (HSV, RGB) the color interpolation will be made.
Definition: codac_ColorMap.h:25
static const ColorMap HAXBY
predefined HAXBY color map (mainly used for DEM)
Definition: codac_ColorMap.h:121