Class TLcdSLDInterpolate
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDInterpolate
- All Implemented Interfaces:
ILcdDataObject,ILcdGenericExpression,ILcdOGCExpression,ILcdCloneable,ILcdDeepCloneable,Cloneable
Interpolate allows to transform continuous values by a function defined on a
number of interpolation points. This is used to adjust a value distribution to a desired distribution of a
continuous symbolization control variable (like size, width, color, etc).
- Since:
- 2012.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe interpolation method.static enumThe interpolation mode. -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorTLcdSLDInterpolate(TLcdDataType aType) Default Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theInterpolationPointelement.Returns the value of the property that maps to theLookupValueelement.Returns the value of the property that maps to themethodattribute.getMode()Returns the value of the property that maps to themodeattribute.voidsetLookupValue(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLookupValueelement.voidsetMethod(TLcdSLDInterpolate.Method aValue) Sets the value of the property that maps to themethodattribute.voidsetMode(TLcdSLDInterpolate.Mode aValue) Sets the value of the property that maps to themodeattribute.Methods inherited from class com.luciad.ogc.sld.model.functions.TLcdSLDFunction
getFallbackValue, setFallbackValue
-
Constructor Details
-
TLcdSLDInterpolate
public TLcdSLDInterpolate()Default Constructor -
TLcdSLDInterpolate
Default Constructor
-
-
Method Details
-
getMethod
Returns the value of the property that maps to themethodattribute.The interpolation method which can be either
numericorcolor.- Returns:
- the value of the
METHOD_PROPERTYproperty.
-
setMethod
Sets the value of the property that maps to themethodattribute.The interpolation method which can be either
numericorcolor.- Parameters:
aValue- the value to set for theMETHOD_PROPERTYproperty.
-
getMode
Returns the value of the property that maps to themodeattribute.- Returns:
- the value of the
MODE_PROPERTYproperty.
-
setMode
Sets the value of the property that maps to themodeattribute.- Parameters:
aValue- the value to set for theMODE_PROPERTYproperty.
-
getLookupValue
Returns the value of the property that maps to theLookupValueelement.The lookup value is the input to the function, and is usually dependent on the object that is being styled.
- Returns:
- the value of the
LOOKUP_VALUE_PROPERTYproperty.
-
setLookupValue
Sets the value of the property that maps to theLookupValueelement.The lookup value is the input to the function, and is usually dependent on the object that is being styled.
- Parameters:
aValue- the value to set for theLOOKUP_VALUE_PROPERTYproperty.
-
getInterpolationPoint
Returns the value of the property that maps to theInterpolationPointelement.An InterpolationPoint defines a correspondence between the LookupValues and the transformed values.
The InterpolationPoints have to be specified in ascending order of Data. They define a graph of points. LookupValues less than the Data value of the first InterpolationPoint are mapped to its corresponding Value. Accordingly, LookupValues greater than the Data value of the last InterpolationPoint are mapped to the Value of this one. LookupValues between two or more InterpolationPoints are interpolated between the corresponding Values according to a given Mode.- Returns:
- the value of the
INTERPOLATION_POINT_PROPERTYproperty.
-