21 #ifndef GF_COLOR_RAMP_H 22 #define GF_COLOR_RAMP_H 30 #ifndef DOXYGEN_SHOULD_SKIP_THIS 76 std::map<
float, Color4f> m_map;
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS bool isEmpty() const
Check if the color ramp is empty.
A color ramp.
Definition: ColorRamp.h:41
void addColorStop(float offset, const Color4f &color)
Add a color stop.
The namespace for gf classes.
Definition: Action.h:34
Color4f computeColor(float offset) const
Compute a color from an offset.
#define GF_API
Definition: Portability.h:35
ColorRamp()
Default constructor.