Package org.jzy3d.colors.colormaps
Class ColorMapRainbow
java.lang.Object
org.jzy3d.colors.colormaps.AbstractColorMap
org.jzy3d.colors.colormaps.ColorMapRainbow
- All Implemented Interfaces:
IColorMap
A rainbow colormap is a progressive transition from blue, to green and then red. The input is
normalized according to the colormap boundaries (through setZmin()/setZmax()). The mix between
these 3 colors, may be expressed by the definition of 3 functions:
blue green red
/-------\/-------\/-------\
/ /\ /\ \
/ / \ / \ \
/ / \ / \ \
|----------------|----------------|
0 0.5 1
-
Field Summary
Fields inherited from class org.jzy3d.colors.colormaps.AbstractColorMap
direction, spaceTransformer
-
Constructor Summary
-
Method Summary
Methods inherited from class org.jzy3d.colors.colormaps.AbstractColorMap
colorComponentAbsolute, colorComponentRelative, colorComponentRelativeNoLeftBorder, colorComponentRelativeNoRightBorder, getColor, getColor, getDirection, getSpaceTransformer, processRelativeZValue, setDirection, setSpaceTransformer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jzy3d.colors.colormaps.IColorMap
colorComponentAbsolute, colorComponentRelative, getColor, getColor, getDirection, getSpaceTransformer, setDirection, setSpaceTransformer
-
Constructor Details
-
ColorMapRainbow
public ColorMapRainbow()
-
-
Method Details
-
getColor
- Specified by:
getColor
in interfaceIColorMap
- Specified by:
getColor
in classAbstractColorMap
-