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
90 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
96 void colorTransformTypeComboBoxActivated(
int index);
98 void rgbRComboBoxActivated(
int index);
99 void rgbGComboBoxActivated(
int index);
100 void rgbBComboBoxActivated(
int index);
102 void ihsIComboBoxActivated(
int index);
103 void ihsHComboBoxActivated(
int index);
104 void ihsSComboBoxActivated(
int index);
106 void rgb2hlsRComboBoxActivated(
int index);
107 void rgb2hlsGComboBoxActivated(
int index);
108 void rgb2hlsBComboBoxActivated(
int index);
110 void hlsHComboBoxActivated(
int index);
111 void hlsLComboBoxActivated(
int index);
112 void hlsSComboBoxActivated(
int index);
114 void onNewROIPushButtonClicked();
116 void onOkPushButtonClicked();
119 void onMapDisplayExtentChanged();
121 void onSearchLayerToolButtonClicked();
135 bool prepareOutputLayer();
137 void prepareOutputLayerName(std::map<std::string, unsigned int> rasterSelectedBands);
143 void fillColorTransformTypes();
159 int getNBits(
int index);
161 void getRasterBands(QComboBox* layer,
int index, QComboBox* band);
163 std::map<std::string, unsigned int> getSelectedBands();
165 void getRasterFromROI();
169 void applyPreviewRGB2IHS();
171 void applyPreviewIHS2RGB();
173 void applyPreviewRGB2HLS();
175 void applyPreviewHLS2RGB();
183 void closeEvent(QCloseEvent* e);
187 std::unique_ptr<Ui::ColorTransformDialogForm>
m_ui;
209 #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