Package org.geotools.api.style
Interface ChannelSelection
- All Known Implementing Classes:
ChannelSelectionImpl
public interface ChannelSelection
The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as
a multi-band satellite-imagery source).
- Since:
- GeoAPI 2.2
- Author:
- Open Geospatial Consortium, Ian Turton, CCG, Johann Sorel (Geomatys)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) accept
(TraversingStyleVisitor visitor, Object extraData) calls the visit method of a StyleVisitorGet the gray channel to be usedget the RGB channels to be usedvoid
Set the gray channel to be usedvoid
setRGBChannels
(SelectedChannelType... channels) Set the RGB channels to be usedvoid
setRGBChannels
(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue) Set the RGB channels to be used
-
Method Details
-
setRGBChannels
Set the RGB channels to be used- Parameters:
red
- the red channelgreen
- the green channelblue
- the blue channel
-
setRGBChannels
Set the RGB channels to be used- Parameters:
channels
- array of channels in RGB order
-
getRGBChannels
SelectedChannelType[] getRGBChannels()get the RGB channels to be used- Returns:
- array of channels in RGB order
-
setGrayChannel
Set the gray channel to be used- Parameters:
gray
- the gray channel
-
getGrayChannel
SelectedChannelType getGrayChannel()Get the gray channel to be used- Returns:
- the gray channel
-
accept
calls the visit method of a StyleVisitor- Parameters:
visitor
- the style visitor
-
accept
-