|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.AbstractSymbolizer
org.geotools.styling.RasterSymbolizerImpl
public class RasterSymbolizerImpl
Default implementation of RasterSymbolizer.
Field Summary |
---|
Fields inherited from class org.geotools.styling.AbstractSymbolizer |
---|
description, geometry, name, unitOfMeasure |
Constructor Summary | |
---|---|
RasterSymbolizerImpl()
|
|
RasterSymbolizerImpl(org.opengis.filter.FilterFactory factory)
|
|
RasterSymbolizerImpl(org.opengis.filter.FilterFactory factory,
Description desc,
java.lang.String name,
javax.measure.unit.Unit<javax.measure.quantity.Length> uom,
org.opengis.style.OverlapBehavior behavior)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object data)
|
java.lang.Object |
clone()
Creates a deep copy clone. |
boolean |
equals(java.lang.Object obj)
|
ChannelSelection |
getChannelSelection()
The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). |
ColorMapImpl |
getColorMap()
The ColorMap element defines either the colors of a palette-type raster source or the mapping of fixed-numeric pixel values to colors. |
ContrastEnhancementImpl |
getContrastEnhancement()
The ContrastEnhancement element defines contrast enhancement for a channel of a false-color image or for a color image. |
Symbolizer |
getImageOutline()
The ImageOutline element specifies that individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined with either a LineStringSymbol or PolygonSymbol. |
org.opengis.filter.expression.Expression |
getOpacity()
fetch the expresion which evaluates to the opacity fo rthis coverage |
org.opengis.filter.expression.Expression |
getOverlap()
Deprecated. |
org.opengis.style.OverlapBehavior |
getOverlapBehavior()
|
ShadedReliefImpl |
getShadedRelief()
The ShadedRelief element selects the application of relief shading (or ?hill shading?) to an image for a three-dimensional visual effect. |
int |
hashCode()
|
void |
setChannelSelection(org.opengis.style.ChannelSelection channel)
The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). |
void |
setColorMap(org.opengis.style.ColorMap colorMap)
The ColorMap element defines either the colors of a palette-type raster source or the mapping of fixed-numeric pixel values to colors. |
void |
setContrastEnhancement(org.opengis.style.ContrastEnhancement contrastEnhancement)
The ContrastEnhancement element defines contrast enhancement for a channel of a false-color image or for a color image. |
void |
setImageOutline(org.opengis.style.Symbolizer symbolizer)
The ImageOutline element specifies that individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined with either a LineStringSymbol or PolygonSymbol. |
void |
setOpacity(org.opengis.filter.expression.Expression opacity)
sets the opacity for the coverage, it has the usual meaning. |
void |
setOverlap(org.opengis.filter.expression.Expression overlap)
Deprecated. |
void |
setOverlapBehavior(org.opengis.style.OverlapBehavior overlapBehavior)
Set the overlap behavior. |
void |
setShadedRelief(org.opengis.style.ShadedRelief shadedRelief)
The ShadedRelief element selects the application of relief shading (or ?hill shading?) to an image for a three-dimensional visual effect. |
Methods inherited from class org.geotools.styling.AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getUnitOfMeasure, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.styling.Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface org.opengis.style.Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
public RasterSymbolizerImpl()
public RasterSymbolizerImpl(org.opengis.filter.FilterFactory factory)
public RasterSymbolizerImpl(org.opengis.filter.FilterFactory factory, Description desc, java.lang.String name, javax.measure.unit.Unit<javax.measure.quantity.Length> uom, org.opengis.style.OverlapBehavior behavior)
Method Detail |
---|
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(java.lang.Object obj)
equals
in class AbstractSymbolizer
public ChannelSelection getChannelSelection()
getChannelSelection
in interface org.opengis.style.RasterSymbolizer
public ColorMapImpl getColorMap()
getColorMap
in interface org.opengis.style.RasterSymbolizer
public ContrastEnhancementImpl getContrastEnhancement()
getContrastEnhancement
in interface org.opengis.style.RasterSymbolizer
public Symbolizer getImageOutline()
<xs:element name="ImageOutline"> <xs:complexType> <xs:choice> <xs:element ref="sld:LineSymbolizer"/> <xs:element ref="sld:PolygonSymbolizer"/> </xs:choice> </xs:complexType> </xs:element>An Opacity of 0.0 can be selected for the main raster to avoid rendering the main-raster pixels, or an opacity can be used for a PolygonSymbolizer Fill to allow the main-raster data be visible through the fill.
getImageOutline
in interface org.opengis.style.RasterSymbolizer
public org.opengis.filter.expression.Expression getOpacity()
getOpacity
in interface org.opengis.style.RasterSymbolizer
@Deprecated public org.opengis.filter.expression.Expression getOverlap()
public org.opengis.style.OverlapBehavior getOverlapBehavior()
getOverlapBehavior
in interface org.opengis.style.RasterSymbolizer
public void setOverlapBehavior(org.opengis.style.OverlapBehavior overlapBehavior)
RasterSymbolizer
public ShadedReliefImpl getShadedRelief()
getShadedRelief
in interface org.opengis.style.RasterSymbolizer
public void setChannelSelection(org.opengis.style.ChannelSelection channel)
channel
- the channel selectedpublic void setColorMap(org.opengis.style.ColorMap colorMap)
colorMap
- the ColorMap for the rasterpublic void setContrastEnhancement(org.opengis.style.ContrastEnhancement contrastEnhancement)
contrastEnhancement
- the contrastEnhancementpublic void setImageOutline(org.opengis.style.Symbolizer symbolizer)
<xs:element name="ImageOutline"> <xs:complexType> <xs:choice> <xs:element ref="sld:LineSymbolizer"/> <xs:element ref="sld:PolygonSymbolizer"/> </xs:choice> </xs:complexType> </xs:element>An Opacity of 0.0 can be selected for the main raster to avoid rendering the main-raster pixels, or an opacity can be used for a PolygonSymbolizer Fill to allow the main-raster data be visible through the fill.
symbolizer
- the symbolizer to be used. If this is not a
polygon or a line symbolizer an unexpected argument exception
may be thrown by an implementing class.
java.lang.IllegalArgumentException
- DOCUMENT ME!public void setOpacity(org.opengis.filter.expression.Expression opacity)
opacity
- An expression which evaluates to the the opacity (0-1)@Deprecated public void setOverlap(org.opengis.filter.expression.Expression overlap)
overlap
- the expression which evaluates to LATEST_ON_TOP,
EARLIEST_ON_TOP, AVERAGE or RANDOMpublic void setShadedRelief(org.opengis.style.ShadedRelief shadedRelief)
shadedRelief
- the shadedrelief objectpublic java.lang.Object accept(org.opengis.style.StyleVisitor visitor, java.lang.Object data)
accept
in interface org.opengis.style.RasterSymbolizer
accept
in interface org.opengis.style.Symbolizer
public void accept(StyleVisitor visitor)
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.RuntimeException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |