|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoverageProcessingNode
Basic interface for Coverage Processing as used by SLD 1.0. The immediate goal here is to implement RasterSymbolizer support for SLD 1.0 but in future it could be extended/used for an elaborate coverage processing framework.
This interface can be used to chain together CoverageProcessingNode
s
in order to create graphs of operations. A single node can have multiple
sources but only one output in this design.
Method Summary | |
---|---|
void |
addSink(CoverageProcessingNode sink)
Adds a sink CoverageProcessingNode to the list of sinks for this
CoverageProcessingNode . |
boolean |
addSource(CoverageProcessingNode source)
Adds a source CoverageProcessingNode to the list of sources for
this CoverageProcessingNode . |
void |
dispose(boolean force)
Disposes all the resources used by this CoverageProcessingNode . |
GridCoverageFactory |
getCoverageFactory()
The GridCoverageFactory we will internally use for build
intermediate and output GridCoverage2D . |
org.opengis.util.InternationalString |
getDescription()
Retrieves the description for this CoverageProcessingNode |
Hints |
getHints()
Getter for Hints . |
org.opengis.util.InternationalString |
getName()
Retrieves the name for this CoverageProcessingNode |
int |
getNumberOfSinks()
Returns the number of sinks for this CoverageProcessingNode . |
int |
getNumberOfSources()
Returns the number of sources for this CoverageProcessingNode . |
org.opengis.coverage.grid.GridCoverage |
getOutput()
Forces this node to create the output coverage for the operation represented by this node. |
CoverageProcessingNode |
getSink(int index)
Retrieves the sink located at index index in the
List of sinks for this CoverageProcessingNode . |
java.util.List<CoverageProcessingNode> |
getSinks()
Retrieves the List of sinks for this
CoverageProcessingNode . |
CoverageProcessingNode |
getSource(int index)
Retrieves the source located at index index in the
List of sources for this CoverageProcessingNode . |
java.util.List<CoverageProcessingNode> |
getSources()
Retrieves the List of source for this
CoverageProcessingNode . |
boolean |
removeSink(CoverageProcessingNode sink)
Removes a sink CoverageProcessingNode from the list of sinks for
this CoverageProcessingNode . |
CoverageProcessingNode |
removeSink(int index)
Removes a sink CoverageProcessingNode from the list of sinks for
this CoverageProcessingNode . |
boolean |
removeSource(CoverageProcessingNode source)
Removes a source CoverageProcessingNode to the list of sources
for this CoverageProcessingNode . |
CoverageProcessingNode |
removeSource(int index)
Removes a source CoverageProcessingNode to the list of sources
for this CoverageProcessingNode . |
java.lang.String |
toString()
Provides a descriptive description for this CoverageProcessingNode . |
Method Detail |
---|
org.opengis.coverage.grid.GridCoverage getOutput() throws CoverageProcessingException
Coverage
which represents the output for this
CoverageProcessingNode
.
CoverageProcessingException
java.util.List<CoverageProcessingNode> getSources()
List
of source for this
CoverageProcessingNode
. Each source MUST be a
CoverageProcessingNode
.
List
of CoverageProcessingNode
which represents
the sources for this CoverageProcessingNode
.CoverageProcessingNode getSource(int index) throws java.lang.IndexOutOfBoundsException
index
in the
List
of sources for this CoverageProcessingNode
.
index
- is the zero-based index for the sink we want to get.
CoverageProcessingNode
which represents the sink at
index index
for this
CoverageProcessingNode
.
java.lang.IndexOutOfBoundsException
boolean addSource(CoverageProcessingNode source)
CoverageProcessingNode
to the list of sources for
this CoverageProcessingNode
.
source
- the CoverageProcessingNode
to add to the List
of sources for this CoverageProcessingNode
.
true
if everything goes fine, false
otherwise.CoverageProcessingNode removeSource(int index) throws java.lang.IndexOutOfBoundsException
CoverageProcessingNode
to the list of sources
for this CoverageProcessingNode
.
index
- the index at which we want to remove a source from the
List
of sources for this
CoverageProcessingNode
.
CoverageProcessingNode
we actually remove from the
sources list.
java.lang.IndexOutOfBoundsException
boolean removeSource(CoverageProcessingNode source)
CoverageProcessingNode
to the list of sources
for this CoverageProcessingNode
.
sources
- the CoverageProcessingNode
to remove from the
List
of sources for this
CoverageProcessingNode
.
true
in case we remove something,
false
otherwise.java.util.List<CoverageProcessingNode> getSinks()
List
of sinks for this
CoverageProcessingNode
. Each sink MUST be a
CoverageProcessingNode
.
List
of CoverageProcessingNode
which represents
the sinks for this CoverageProcessingNode
.CoverageProcessingNode getSink(int index) throws java.lang.IndexOutOfBoundsException
index
in the
List
of sinks for this CoverageProcessingNode
.
index
- is the zero-based index for the source we want to access.
CoverageProcessingNode
which represents the source at
index index
for this
CoverageProcessingNode
.
java.lang.IndexOutOfBoundsException
void addSink(CoverageProcessingNode sink)
CoverageProcessingNode
to the list of sinks for this
CoverageProcessingNode
.
source
- the CoverageProcessingNode
to add to the List
of sinks for this CoverageProcessingNode
.CoverageProcessingNode removeSink(int index) throws java.lang.IndexOutOfBoundsException
CoverageProcessingNode
from the list of sinks for
this CoverageProcessingNode
.
index
- the index at which we want to remove a sink from the
List
of sinks for this CoverageProcessingNode
.
CoverageProcessingNode
we actually remove from the
sinks list.
java.lang.IndexOutOfBoundsException
boolean removeSink(CoverageProcessingNode sink)
CoverageProcessingNode
from the list of sinks for
this CoverageProcessingNode
.
sink
- the CoverageProcessingNode
to remove from the
List
of sinks for this CoverageProcessingNode
.
true
in case we remove something,
false
otherwise.int getNumberOfSinks()
CoverageProcessingNode
.
CoverageProcessingNode
.int getNumberOfSources()
CoverageProcessingNode
.
CoverageProcessingNode
.void dispose(boolean force)
CoverageProcessingNode
.
force
- true
to force disposal, false
to
suggest disposal.Hints getHints()
Hints
.
Hints
provided at construction time to control
GridCoverageFactory
creation.GridCoverageFactory getCoverageFactory()
GridCoverageFactory
we will internally use for build
intermediate and output GridCoverage2D
.
GridCoverageFactory
we will internally use for build
intermediate and output GridCoverage2D
.org.opengis.util.InternationalString getName()
CoverageProcessingNode
CoverageProcessingNode
org.opengis.util.InternationalString getDescription()
CoverageProcessingNode
CoverageProcessingNode
java.lang.String toString()
CoverageProcessingNode
.
toString
in class java.lang.Object
CoverageProcessingNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |