ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). More...
#include <ChannelSelection.h>
Public Member Functions | |
ChannelSelection * | clone () const |
It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ChannelSelection () | |
It initializes a new ChannelSelection. More... | |
~ChannelSelection () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setRedChannel (SelectedChannel *c) |
SelectedChannel * | getRedChannel () const |
void | setGreenChannel (SelectedChannel *c) |
SelectedChannel * | getGreenChannel () const |
void | setBlueChannel (SelectedChannel *c) |
SelectedChannel * | getBlueChannel () const |
void | setGrayChannel (SelectedChannel *c) |
SelectedChannel * | getGrayChannel () const |
void | setColorCompositionType (ColorCompositionType cct) |
ColorCompositionType | getColorCompositionType () const |
Private Attributes | |
SelectedChannel * | m_blueChannel |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed) More... | |
ColorCompositionType | m_colorCompType |
Define the color composition, this is not defined in SE spec. More... | |
SelectedChannel * | m_grayChannel |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if redChannel_, greenChannel_ and blueChannel_ is not informed) More... | |
SelectedChannel * | m_greenChannel |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed) More... | |
SelectedChannel * | m_redChannel |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed) More... | |
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source).
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (The spelling "gray" is used since it seems to be more common on the Web than "grey" by a ratio of about 3:1.) Contrast enhancement may be applied to each channel in isolation. Channels are identified by a system and data-dependent character identifier. Commonly, channels will be labelled as "1", "2", etc.
Definition at line 62 of file ChannelSelection.h.
te::se::ChannelSelection::ChannelSelection | ( | ) |
It initializes a new ChannelSelection.
Definition at line 30 of file ChannelSelection.cpp.
te::se::ChannelSelection::~ChannelSelection | ( | ) |
Destructor.
Definition at line 39 of file ChannelSelection.cpp.
te::se::ChannelSelection * te::se::ChannelSelection::clone | ( | ) | const |
It creates a new copy of this object.
Definition at line 76 of file ChannelSelection.cpp.
References setBlueChannel(), setColorCompositionType(), setGrayChannel(), setGreenChannel(), and setRedChannel().
Referenced by te::qt::widgets::ChannelSelectionWidget::getChannelSelection(), te::qt::widgets::RasterSymbolizerDialog::getRasterSymbolizer(), te::se::RasterSymbolizer::RasterSymbolizer(), and te::qt::widgets::ChannelSelectionWidget::setChannelSelection().
|
inline |
Definition at line 94 of file ChannelSelection.h.
Referenced by te::map::RasterTransformConfigurer::getChannelSelection(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), and te::se::serialize::Save().
|
inline |
Definition at line 102 of file ChannelSelection.h.
Referenced by te::map::RasterTransformConfigurer::getChannelSelection(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), and te::se::serialize::Save().
|
inline |
Definition at line 98 of file ChannelSelection.h.
Referenced by te::qt::plugins::terralib4::TL4ConverterWizard::finish(), te::map::RasterTransformConfigurer::getChannelSelection(), te::map::RasterTransformConfigurer::getColorMapInformation(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), te::qt::widgets::GroupingDialog::onPushButtonClicked(), and te::se::serialize::Save().
|
inline |
Definition at line 90 of file ChannelSelection.h.
Referenced by te::map::RasterTransformConfigurer::getChannelSelection(), te::qt::widgets::RasterNavigatorWidget::getCompositionInfo(), and te::se::serialize::Save().
|
inline |
void te::se::ChannelSelection::setBlueChannel | ( | SelectedChannel * | c | ) |
Definition at line 59 of file ChannelSelection.cpp.
Referenced by clone(), te::se::CreateRasterSymbolizer(), and te::qt::plugins::terralib4::GetRasterSymbolizer().
void te::se::ChannelSelection::setColorCompositionType | ( | ColorCompositionType | cct | ) |
Definition at line 71 of file ChannelSelection.cpp.
Referenced by clone(), te::se::CreateRasterSymbolizer(), te::qt::plugins::terralib4::TL4ConverterWizard::finish(), te::qt::plugins::terralib4::GetRasterSymbolizer(), and te::qt::widgets::GroupingDialog::onPushButtonClicked().
void te::se::ChannelSelection::setGrayChannel | ( | SelectedChannel * | c | ) |
Definition at line 65 of file ChannelSelection.cpp.
Referenced by clone(), te::se::CreateRasterSymbolizer(), te::qt::plugins::terralib4::TL4ConverterWizard::finish(), te::qt::plugins::terralib4::GetRasterSymbolizer(), and te::qt::widgets::GroupingDialog::onPushButtonClicked().
void te::se::ChannelSelection::setGreenChannel | ( | SelectedChannel * | c | ) |
Definition at line 53 of file ChannelSelection.cpp.
Referenced by clone(), te::se::CreateRasterSymbolizer(), and te::qt::plugins::terralib4::GetRasterSymbolizer().
void te::se::ChannelSelection::setRedChannel | ( | SelectedChannel * | c | ) |
Definition at line 47 of file ChannelSelection.cpp.
Referenced by clone(), te::se::CreateRasterSymbolizer(), and te::qt::plugins::terralib4::GetRasterSymbolizer().
|
private |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed)
Definition at line 113 of file ChannelSelection.h.
|
private |
Define the color composition, this is not defined in SE spec.
Definition at line 116 of file ChannelSelection.h.
|
private |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if redChannel_, greenChannel_ and blueChannel_ is not informed)
Definition at line 114 of file ChannelSelection.h.
|
private |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed)
Definition at line 112 of file ChannelSelection.h.
|
private |
Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (Mandatory if grayChannel_ is not informed)
Definition at line 111 of file ChannelSelection.h.