|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultDomainElement1D
DefaultPiecewiseTransform1DElement
DefaultLinearPiecewiseTransform1DElement
LinearColorMapElement
public class LinearColorMapElement
This LinearColorMapElement
is a special implementation of both PiecewiseTransform1DElement
and ColorMapTransformElement
which can be used to do various types of classifications on raster. Specifically the supported types of classifications are unique values, classified and color ramps.
The supported types of classifications are LinearColorMap.LinearColorMapType.TYPE_RAMP
, LinearColorMap.LinearColorMapType.TYPE_VALUES
and LinearColorMap.LinearColorMapType.TYPE_INTERVALS
.
LinearColorMap
,
LinearColorMap.LinearColorMapType
,
Serialized FormMethod Summary | |
---|---|
static LinearColorMapElement |
create(CharSequence name,
Color[] colors,
NumberRange<? extends Number> valueRange,
NumberRange<? extends Number> sampleRange)
|
static LinearColorMapElement |
create(CharSequence name,
Color color,
double value,
int sample)
|
static LinearColorMapElement |
create(CharSequence name,
Color color,
float value,
int sample)
|
static LinearColorMapElement |
create(CharSequence name,
Color color,
int value,
int sample)
|
static LinearColorMapElement |
create(CharSequence name,
Color color,
NumberRange<? extends Number> inRange,
int outVal)
|
static LinearColorMapElement |
create(CharSequence name,
Color color,
short value,
int sample)
|
boolean |
equals(Object object)
Implementation of Object.equals(Object) for DomainElement1D s. |
Color[] |
getColors()
Returns the set of colors for this category. |
protected Class<?> |
getEquivalenceClass()
|
int |
hashCode()
Returns a hash value for this domain element. |
String |
toString()
|
Methods inherited from class DefaultPiecewiseTransform1DElement |
---|
create, create, create, create, create, create, create, derivative, derivative, getSourceDimensions, getTargetDimensions, getTransform, inverse, isIdentity, setInverse, setTransform, toWKT, transform, transform, transform, transform, transform, transform |
Methods inherited from class DefaultDomainElement1D |
---|
compareTo, contains, contains, contains, getInputMaximum, getInputMinimum, getName, getRange, isInputMaximumInfinite, isInputMaximumNaN, isInputMinimumInfinite, isInputMinimumNaN |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static LinearColorMapElement create(CharSequence name, Color[] colors, NumberRange<? extends Number> valueRange, NumberRange<? extends Number> sampleRange) throws IllegalArgumentException
IllegalArgumentException
public static LinearColorMapElement create(CharSequence name, Color color, NumberRange<? extends Number> inRange, int outVal) throws IllegalArgumentException
IllegalArgumentException
public static LinearColorMapElement create(CharSequence name, Color color, short value, int sample) throws IllegalArgumentException
IllegalArgumentException
LinearColorMapElement#ClassificationCategory(CharSequence,
Color[], NumberRange, NumberRange)
public static LinearColorMapElement create(CharSequence name, Color color, int value, int sample) throws IllegalArgumentException
IllegalArgumentException
LinearColorMapElement#ClassificationCategory(CharSequence,
Color[], NumberRange, NumberRange)
public static LinearColorMapElement create(CharSequence name, Color color, float value, int sample) throws IllegalArgumentException
IllegalArgumentException
LinearColorMapElement#ClassificationCategory(CharSequence,
Color[], NumberRange, NumberRange)
public static LinearColorMapElement create(CharSequence name, Color color, double value, int sample) throws IllegalArgumentException
IllegalArgumentException
LinearColorMapElement#ClassificationCategory(CharSequence,
Color[], NumberRange, NumberRange)
public boolean equals(Object object)
DefaultDomainElement1D
Object.equals(Object)
for DomainElement1D
s.
Two DefaultDomainElement1D
s are considered to be equal if they have
the same inputr range and the same name.
equals
in interface DomainElement1D
equals
in class DefaultLinearPiecewiseTransform1DElement
object
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.equals(Object)
public Color[] getColors()
getColors
in interface ColorMapTransformElement
GridSampleDimension.getColorModel()
public String toString()
toString
in class DefaultLinearPiecewiseTransform1DElement
protected Class<?> getEquivalenceClass()
getEquivalenceClass
in class DefaultLinearPiecewiseTransform1DElement
public int hashCode()
DefaultDomainElement1D
hashCode
in class DefaultLinearPiecewiseTransform1DElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |