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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
Object
accept(TraversingStyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitorSelectedChannelType
getGrayChannel()
Get the gray channel to be usedSelectedChannelType[]
getRGBChannels()
get the RGB channels to be usedvoid
setGrayChannel(SelectedChannelType gray)
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 Detail
-
setRGBChannels
void setRGBChannels(SelectedChannelType red, SelectedChannelType green, SelectedChannelType blue)
Set the RGB channels to be used- Parameters:
red
- the red channelgreen
- the green channelblue
- the blue channel
-
setRGBChannels
void setRGBChannels(SelectedChannelType... channels)
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
void setGrayChannel(SelectedChannelType gray)
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
Object accept(TraversingStyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitor- Parameters:
visitor
- the style visitor
-
accept
void accept(StyleVisitor visitor)
-
-