|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.filter.expression.Function
org.deegree.filter.function.se.Interpolate
public class Interpolate
Interpolate
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.filter.Expression |
|---|
Expression.Type |
| Constructor Summary | |
|---|---|
Interpolate()
|
|
| Method Summary | |
|---|---|
(package private) void |
buildLookupArrays()
Create the sorted lookup arrays from the linked lists, so that we can perform binary search. |
Object[] |
evaluate(MatchableObject f)
Determines the values of the expression for the given MatchableObject. |
BufferedImage |
evaluateRaster(AbstractRaster raster,
RasterStyling style)
Construct an image map, as the result of the Interpolate operation |
double |
lookup2(double value)
Looks up a value in the current data values. |
Color |
lookup2Color(double value)
Performs interpolation on a value, and returns a color built from the interpolated value. |
void |
parse(XMLStreamReader in)
|
void |
parseSLD100(XMLStreamReader in)
|
String |
toString()
|
| Methods inherited from class org.deegree.filter.expression.Function |
|---|
getName, getParameters, getParams, getType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Interpolate()
| Method Detail |
|---|
public Object[] evaluate(MatchableObject f)
ExpressionMatchableObject.
Note that this returns an Object[], as an expression may evaluate to multiple values, e.g. a
PropertyName that targets a multi property of a feature.
evaluate in interface Expressionevaluate in class Functionf - object that the expression is evaluated upon
null values), but never
null
public void parse(XMLStreamReader in)
throws XMLStreamException
in -
XMLStreamException
public void parseSLD100(XMLStreamReader in)
throws XMLStreamException
in -
XMLStreamExceptionvoid buildLookupArrays()
public BufferedImage evaluateRaster(AbstractRaster raster,
RasterStyling style)
raster - input rasterstyle - raster style, containing channel mappings (if applicable)
public Color lookup2Color(double value)
value - value
public final double lookup2(double value)
value -
public String toString()
toString in class Object
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||