26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H 27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_RASTERSYMBOLIZERWIDGET_H 31 #include "../../../maptools/AbstractLayer.h" 32 #include "../../../maptools/RasterTransform.h" 33 #include "../../../rp/Contrast.h" 34 #include "../../../se.h" 36 #include "../Config.h" 49 namespace Ui {
class RasterSymbolizerWidgetForm; }
61 class ContrastEnhancement;
62 class RasterSymbolizer;
78 class HorizontalSliderWidget;
79 class RasterHistogramWidget;
117 void setBandProperty(std::vector<te::rst::BandProperty*> bp);
129 void setComboBoxText(QComboBox* cb, std::string value);
133 void onOpacityChanged(
int value);
135 void onMonoChannelSelectionClicked();
136 void onRedChannelSelectionClicked();
137 void onGreenChannelSelectionClicked();
138 void onBlueChannelSelectionClicked();
139 void onCompositionChannelSelectionClicked();
141 void onMonoChannelNameChanged(QString s);
142 void onRedChannelNameChanged(QString s);
143 void onGreenChannelNameChanged(QString s);
144 void onBlueChannelNameChanged(QString s);
146 void onTypeConstratChanged(QString s);
148 void onMonoGammaChanged(
int v);
149 void onRedGammaChanged(
int v);
150 void onGreenGammaChanged(
int v);
151 void onBlueGammaChanged(
int v);
153 void onIncreaseGain();
154 void onDecreaseGain();
155 void onDefaultGain();
156 void onIncreaseOffset();
157 void onDecreaseOffset();
158 void onDefaultOffset();
159 void onSymbolizerChanged();
161 void onDummyPushButtonClicked();
163 void setContrastVisibility();
167 void onHistogramToolButtonClicked();
169 void onMinValueSelected(
int value,
int band);
171 void onMaxValueSelected(
int value,
int band);
173 void onMinValueSelected(
double value,
int band);
175 void onMaxValueSelected(
double value,
int band);
177 void onResetToolButtonClicked();
179 void onApplyToolButtonClicked();
181 void onCalcRasterSummaryClicked();
183 void onResetRasterSummaryTableClicked();
185 void onMinimumValueChanged();
187 void onMaximumValueChanged();
191 void symbolizerChanged();
193 void contrastChanged(
bool remove);
199 std::unique_ptr<Ui::RasterSymbolizerWidgetForm>
m_ui;
222 std::map<te::se::ContrastEnhancement::ContrastEnhancementType, QString>
m_ceNames;
223 std::map<te::rp::Contrast::InputParameters::ContrastType, te::map::RasterTransform::ContrastType>
m_contrastMap;
240 #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...