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 AbstractColorMap
direction, spaceTransformer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractColorMap
colorComponentAbsolute, colorComponentRelative, colorComponentRelativeNoLeftBorder, colorComponentRelativeNoRightBorder, getColor, getColor, getDirection, getSpaceTransformer, processRelativeZValue, setDirection, setSpaceTransformerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IColorMap
colorComponentAbsolute, colorComponentRelative, getColor, getColor, getDirection, getSpaceTransformer, setDirection, setSpaceTransformer
-
Constructor Details
-
ColorMapRainbow
public ColorMapRainbow()
-
-
Method Details
-
getColor
- Specified by:
getColorin interfaceIColorMap- Specified by:
getColorin classAbstractColorMap
-