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
Modifier and TypeClassDescriptionstatic enum
The interpolation method.static enum
The interpolation mode. -
Constructor Summary
ConstructorDescriptionDefault ConstructorTLcdSLDInterpolate
(TLcdDataType aType) Default Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theInterpolationPoint
element.Returns the value of the property that maps to theLookupValue
element.Returns the value of the property that maps to themethod
attribute.getMode()
Returns the value of the property that maps to themode
attribute.void
setLookupValue
(TLcdSLDParameterValue aValue) Sets the value of the property that maps to theLookupValue
element.void
setMethod
(TLcdSLDInterpolate.Method aValue) Sets the value of the property that maps to themethod
attribute.void
setMode
(TLcdSLDInterpolate.Mode aValue) Sets the value of the property that maps to themode
attribute.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 themethod
attribute.The interpolation method which can be either
numeric
orcolor
.- Returns:
- the value of the
METHOD_PROPERTY
property.
-
setMethod
Sets the value of the property that maps to themethod
attribute.The interpolation method which can be either
numeric
orcolor
.- Parameters:
aValue
- the value to set for theMETHOD_PROPERTY
property.
-
getMode
Returns the value of the property that maps to themode
attribute.- Returns:
- the value of the
MODE_PROPERTY
property.
-
setMode
Sets the value of the property that maps to themode
attribute.- Parameters:
aValue
- the value to set for theMODE_PROPERTY
property.
-
getLookupValue
Returns the value of the property that maps to theLookupValue
element.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_PROPERTY
property.
-
setLookupValue
Sets the value of the property that maps to theLookupValue
element.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_PROPERTY
property.
-
getInterpolationPoint
Returns the value of the property that maps to theInterpolationPoint
element.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_PROPERTY
property.
-