DGtal
1.5.beta
|
Aim: Defines the concept describing a color map. A color map converts a value within a given range into an RGB triple. More...
#include <DGtal/io/colormaps/CColorMap.h>
Public Types | |
typedef CMap::Value | Value |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CLabel< Value >)) | |
BOOST_CONCEPT_USAGE (CColorMap) | |
Private Attributes | |
Color | myColor |
Value | myMin |
Value | myMax |
Value | myValue |
Aim: Defines the concept describing a color map. A color map converts a value within a given range into an RGB triple.
Description of concept 'CColorMap'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Construction | CMap<Value> cmap(min, max); | min and max are of the same Value | |||||
Obtain a color | color = cmap(value) | value is a Value | DGtal::Color | min ≤ value ≤ max | Returns a color computed after the position of value within the range [min,max] |
GradientColorMap HueShadeColorMap ColorBrightnessColorMap GrayScaleColorMap RandomColorMap
Definition at line 93 of file CColorMap.h.
typedef CMap::Value DGtal::concepts::CColorMap< CMap >::Value |
Definition at line 98 of file CColorMap.h.
DGtal::concepts::CColorMap< CMap >::BOOST_CONCEPT_ASSERT | ( | (CLabel< Value >) | ) |
|
inline |
Definition at line 102 of file CColorMap.h.
References DGtal::concepts::CColorMap< CMap >::myColor, DGtal::concepts::CColorMap< CMap >::myMax, DGtal::concepts::CColorMap< CMap >::myMin, DGtal::concepts::CColorMap< CMap >::myValue, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 114 of file CColorMap.h.
Referenced by DGtal::concepts::CColorMap< CMap >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 115 of file CColorMap.h.
Referenced by DGtal::concepts::CColorMap< CMap >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 115 of file CColorMap.h.
Referenced by DGtal::concepts::CColorMap< CMap >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 115 of file CColorMap.h.
Referenced by DGtal::concepts::CColorMap< CMap >::BOOST_CONCEPT_USAGE().