26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H
30 #include "../../../se.h"
31 #include "../Config.h"
34 #include <QtGui/QWidget>
35 #include <QtGui/QComboBox>
44 namespace Ui {
class RasterSymbolizerWidgetForm; }
51 class ContrastEnhancement;
52 class RasterSymbolizer;
67 class HorizontalSliderWidget;
97 void setBandProperty(std::vector<te::rst::BandProperty*> bp);
107 void setComboBoxText(QComboBox* cb, std::string value);
111 void onOpacityChanged(
int value);
113 void onMonoChannelSelectionClicked();
114 void onRedChannelSelectionClicked();
115 void onGreenChannelSelectionClicked();
116 void onBlueChannelSelectionClicked();
117 void onCompositionChannelSelectionClicked();
119 void onMonoChannelNameChanged(QString s);
120 void onRedChannelNameChanged(QString s);
121 void onGreenChannelNameChanged(QString s);
122 void onBlueChannelNameChanged(QString s);
124 void onTypeConstratChanged(QString s);
126 void onMonoGammaChanged(
int v);
127 void onRedGammaChanged(
int v);
128 void onGreenGammaChanged(
int v);
129 void onBlueGammaChanged(
int v);
131 void onIncreaseGain();
132 void onDecreaseGain();
133 void onDefaultGain();
134 void onIncreaseOffset();
135 void onDecreaseOffset();
136 void onDefaultOffset();
137 void onSymbolizerChanged();
139 void setContrastVisibility();
143 void symbolizerChanged();
147 std::auto_ptr<Ui::RasterSymbolizerWidgetForm>
m_ui;
164 std::map<te::se::ContrastEnhancement::ContrastEnhancementType, QString>
m_ceNames;
176 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos...
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such...
te::se::ChannelSelection * m_cs
SE Channel Selection element.
te::se::ContrastEnhancement * m_contrastBlue
SE Contrast element for blue band.
te::se::ContrastEnhancement * m_contrastRed
SE Contrast element for red band.
std::map< te::se::ContrastEnhancement::ContrastEnhancementType, QString > m_ceNames
Contrast Types Names.
te::se::RasterSymbolizer * m_symbolizer
SE Raster Symbolizer element.
double m_gainValue
Value used to define the gain value.
te::se::SelectedChannel * m_scMono
SE Selected Channel element for red band.
std::auto_ptr< Ui::RasterSymbolizerWidgetForm > m_ui
Widget form.
A selected channel to be display.
te::se::ContrastEnhancement * m_contrastGreen
SE Contrast element for green band.
te::qt::widgets::HorizontalSliderWidget * m_sliderWidget
Slider widget used for opacity information.
te::se::ContrastEnhancement * m_contrastMono
SE Contrast element for mono band.
double m_offsetOriginalValue
Value used to define the offset value.
te::se::SelectedChannel * m_scGreen
SE Selected Channel element for red band.
double m_gainOriginalValue
Value used to define the gain value.
te::se::RasterSymbolizer * getRasterSymbolizer()
double m_offsetValue
Value used to define the offset value.
te::se::SelectedChannel * m_scBlue
SE Selected Channel element for red band.
ContrastEnhancement defines the 'stretching' of contrast for a channel of a false-color image or for ...
te::se::SelectedChannel * m_scRed
SE Selected Channel element for red band.
A widget used to configure a Raster Symbolizer SE element.