|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.renderer.lite.gridcoverage2d.RasterSymbolizerSupport
public final class RasterSymbolizerSupport
A helper class for GridCoverage
objects rendering SLD stylers
support.
Nested Class Summary | |
---|---|
static class |
RasterSymbolizerSupport.RECOLOR_MODE_TYPE
Types for the recoloring process. |
Field Summary | |
---|---|
static RasterSymbolizerSupport.RECOLOR_MODE_TYPE |
RECOLOR_MODE
The way the recoloring is processed. |
Constructor Summary | |
---|---|
RasterSymbolizerSupport(RasterSymbolizer symbolizer)
Constructor |
Method Summary | |
---|---|
static Category |
createNoDataCategory(int value,
double geoValue)
Creates a Category for a NoData-value, which will be displayed transparently. |
Map |
getCategories(int band)
|
Color[] |
getColors(int band)
|
String[] |
getLabels(int band)
|
float |
getOpacity()
HELPER FUNCTIONS |
GridCoverage |
recolorCoverage(GridCoverage grid)
|
static Color |
toColor(Expression exp,
double opacity)
|
static double |
toOpacity(Expression opacity)
|
static double |
toQuantiy(Expression quantity)
Transforms an Expression to a double value. |
GridSampleDimension |
transformColormap(GridSampleDimension dimension,
RasterSymbolizer symbolizer)
|
SampleDimension |
transformColormap(int band,
SampleDimension dimension,
Map[] colorMaps)
Transform the supplied RGB colors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static RasterSymbolizerSupport.RECOLOR_MODE_TYPE RECOLOR_MODE
Constructor Detail |
---|
public RasterSymbolizerSupport(RasterSymbolizer symbolizer)
symbolizer
- Method Detail |
---|
public GridCoverage recolorCoverage(GridCoverage grid) throws IllegalArgumentException
IllegalArgumentException
public float getOpacity()
public Map getCategories(int band)
public String[] getLabels(int band)
public Color[] getColors(int band)
public static Color toColor(Expression exp, double opacity)
public static double toOpacity(Expression opacity)
public static double toQuantiy(Expression quantity)
Expression
to a double value.
public GridSampleDimension transformColormap(GridSampleDimension dimension, RasterSymbolizer symbolizer)
public static Category createNoDataCategory(int value, double geoValue)
Category
for a NoData-value, which will be displayed transparently.
value
- sample valuegeoValue
- geophysics value representing the NoDatapublic SampleDimension transformColormap(int band, SampleDimension dimension, Map[] colorMaps)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |