26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H 27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H 30 #include "../../../maptools/AbstractLayer.h" 31 #include "../../../maptools/RasterTransform.h" 32 #include "../../../rp/Contrast.h" 33 #include "../../../se.h" 34 #include "../Config.h" 47 namespace Ui {
class RasterSymbolizerWidgetForm; }
59 class ContrastEnhancement;
60 class RasterSymbolizer;
76 class HorizontalSliderWidget;
77 class RasterHistogramWidget;
113 void setBandProperty(std::vector<te::rst::BandProperty*> bp);
125 void setComboBoxText(QComboBox* cb, std::string value);
129 void onOpacityChanged(
int value);
131 void onMonoChannelSelectionClicked();
132 void onRedChannelSelectionClicked();
133 void onGreenChannelSelectionClicked();
134 void onBlueChannelSelectionClicked();
135 void onCompositionChannelSelectionClicked();
137 void onMonoChannelNameChanged(QString s);
138 void onRedChannelNameChanged(QString s);
139 void onGreenChannelNameChanged(QString s);
140 void onBlueChannelNameChanged(QString s);
142 void onTypeConstratChanged(QString s);
144 void onMonoGammaChanged(
int v);
145 void onRedGammaChanged(
int v);
146 void onGreenGammaChanged(
int v);
147 void onBlueGammaChanged(
int v);
149 void onIncreaseGain();
150 void onDecreaseGain();
151 void onDefaultGain();
152 void onIncreaseOffset();
153 void onDecreaseOffset();
154 void onDefaultOffset();
155 void onSymbolizerChanged();
157 void onDummyPushButtonClicked();
159 void setContrastVisibility();
163 void onHistogramToolButtonClicked();
165 void onMinValueSelected(
int value,
int band);
167 void onMaxValueSelected(
int value,
int band);
169 void onMinValueSelected(
double value,
int band);
171 void onMaxValueSelected(
double value,
int band);
173 void onResetToolButtonClicked();
175 void onApplyToolButtonClicked();
180 void symbolizerChanged();
182 void contrastChanged(
bool remove);
188 std::unique_ptr<Ui::RasterSymbolizerWidgetForm>
m_ui;
211 std::map<te::se::ContrastEnhancement::ContrastEnhancementType, QString>
m_ceNames;
212 std::map<te::rp::Contrast::InputParameters::ContrastType, te::map::RasterTransform::ContrastType>
m_contrastMap;
224 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H
A selected channel to be display.
This is the base class for layers.
ContrastEnhancement defines the 'stretching' of contrast for a channel of a false-color image or for ...
The RasterSymbolizer describes how to render raster/matrix-coverage data (e.g., satellite photos...
This class contains the parameters needed to apply dynamic contrast over a raster.
ChannelSelection specifies the false-color channel selection for a multi-spectral raster source (such...