Package org.jzy3d.colors.colormaps
Class ColorMapRainbow
- java.lang.Object
-
- org.jzy3d.colors.colormaps.AbstractColorMap
-
- org.jzy3d.colors.colormaps.ColorMapRainbow
-
- All Implemented Interfaces:
IColorMap
public class ColorMapRainbow extends AbstractColorMap implements 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
Constructors Constructor Description ColorMapRainbow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor(double x, double y, double z, double zMin, double zMax)
-
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
-
-
-
-
Method Detail
-
getColor
public Color getColor(double x, double y, double z, double zMin, double zMax)
- Specified by:
getColor
in interfaceIColorMap
- Specified by:
getColor
in classAbstractColorMap
-
-