org.deegree.graphics.sld
Class Interpolate
java.lang.Object
  
org.deegree.graphics.sld.Interpolate
public class Interpolate
- extends Object
 
Interpolate encapsulates data from the Symbology Encoding Schema
 (InterpolateType).
- Version:
 
  - $Revision:$, $Date:$
 
- Author:
 
  - Andreas Schmitz, last edited by: $Author:$
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Interpolate
public Interpolate(String fallbackValue)
- Parameters:
 fallbackValue - 
setLookupValue
public void setLookupValue(ParameterValueType lookupValue)
- Parameters:
 lookupValue - 
 
getFallbackValue
public String getFallbackValue()
- Returns:
 - the fallbackValue
 
 
getLookupValue
public ParameterValueType getLookupValue()
- Returns:
 - the lookupValue
 
 
getMethod
public SLDFactory.Method getMethod()
- Returns:
 - the method
 
 
getMode
public SLDFactory.Mode getMode()
- Returns:
 - the mode
 
 
setMode
public void setMode(SLDFactory.Mode mode)
- Parameters:
 mode - 
 
setMethod
public void setMethod(SLDFactory.Method method)
- Parameters:
 method - 
 
interpolate
public int interpolate(float d,
                       int opac)
- Parameters:
 d - opac - the default opacity if none has been set
- Returns:
 - the color value as int
 
 
setInterpolationPoints
public void setInterpolationPoints(List<InterpolationPoint> points)
- Parameters:
 points - 
 
				an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net