Package rma.util
Class TwoColorColorContour
java.lang.Object
rma.util.ColorContour
rma.util.TwoColorColorContour
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class rma.util.ColorContour
_bright, _max, _maxClip, _maxMinusMin, _min, _minClip, _sat, _scaleToClipping, _typeToClass, ASPECT_SHADING_TYPE, GRAYSCALE_TYPE, LINEAR_TYPE, mPropertyChangeSupport, PRECIPITATION_TYPE, RED_GREEN_BLUE_TYPE, TERRAIN_TYPE, WATER_DEPTH_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getRGB0
(double[] rgb, double val, double minValue, double maxValue) getRGB0protected double[]
getRGB0
(double val, double minValue, double maxValue) getRGB0void
setMaxColor
(Color maxColor) void
setMinColor
(Color minColor) Methods inherited from class rma.util.ColorContour
addExtras, addPropertyChangeListener, clone, copyInto, createContourFromAttributes, getAttributes, getAttributes, getBrightness, getColor, getColor, getFieldObject, getInstanceForType, getMaxClipping, getMaxValue, getMinClipping, getMinValue, getRGB, getRGB, getSaturation, getScaleToClipping, getType, getTypes, read, read0, removePropertyChangeSupport, setAttributes, setBrightness, setFieldObject, setMaxClipping, setMaxValue, setMinClipping, setMinValue, setSaturation, setScaleToClipping, write
-
Constructor Details
-
TwoColorColorContour
public TwoColorColorContour()
-
-
Method Details
-
setMinColor
-
setMaxColor
-
getMinColor
-
getMaxColor
-
getRGB0
protected void getRGB0(double[] rgb, double val, double minValue, double maxValue) getRGB0- Specified by:
getRGB0
in classColorContour
- Parameters:
rgb
- double[]val
- doubleminValue
- doublemaxValue
- double
-
getRGB0
protected double[] getRGB0(double val, double minValue, double maxValue) getRGB0- Specified by:
getRGB0
in classColorContour
- Parameters:
val
- doubleminValue
- doublemaxValue
- double- Returns:
- double[]
-