26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_COLORTRANSFORMDIALOG_H
27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_COLORTRANSFORMDIALOG_H
31 #include "../../../maptools/AbstractLayer.h"
33 #include "../Config.h"
45 namespace Ui {
class ColorTransformDialogForm; }
71 COLORTRANSFORM_HLS2RGB
98 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
104 void colorTransformTypeComboBoxActivated(
int index);
106 void rgbRComboBoxActivated(
int index);
107 void rgbGComboBoxActivated(
int index);
108 void rgbBComboBoxActivated(
int index);
110 void ihsIComboBoxActivated(
int index);
111 void ihsHComboBoxActivated(
int index);
112 void ihsSComboBoxActivated(
int index);
114 void rgb2hlsRComboBoxActivated(
int index);
115 void rgb2hlsGComboBoxActivated(
int index);
116 void rgb2hlsBComboBoxActivated(
int index);
118 void hlsHComboBoxActivated(
int index);
119 void hlsLComboBoxActivated(
int index);
120 void hlsSComboBoxActivated(
int index);
122 void onNewROIPushButtonClicked();
124 void onOkPushButtonClicked();
127 void onMapDisplayExtentChanged();
141 bool executeRGB2IHS();
143 bool executeIHS2RGB();
145 bool executeRGB2HLS();
147 bool executeHLS2RGB();
153 void fillColorTransformTypes();
169 double getRGBMinValue();
171 double getRGBMaxValue();
173 double getRGB_HLSMinValue();
175 double getRGB_HLSMaxValue();
177 double getIHSMinValue();
179 double getIHSMaxValue();
181 double getHLSMinValue();
183 double getHLSMaxValue();
185 void getRasterBands(QComboBox* layer,
int index, QComboBox* band);
187 void getRasterFromROI();
191 void applyPreviewRGB2IHS();
193 void applyPreviewIHS2RGB();
195 void applyPreviewRGB2HLS();
197 void applyPreviewHLS2RGB();
205 void closeEvent(QCloseEvent* e);
209 std::auto_ptr<Ui::ColorTransformDialogForm>
m_ui;
230 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_COLORTRANSFORMDIALOG_H
An Envelope defines a 2D rectangular region.
An abstract class for raster data strucutures.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr