26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H 27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H 31 #include "../../../maptools/AbstractLayer.h" 33 #include "../../../se/Enums.h" 34 #include "../Config.h" 37 #include <QTableWidgetItem> 46 namespace Ui {
class ColorMapWidgetForm; }
71 class ColorCatalogWidget;
107 std::string getCurrentBand();
109 Ui::ColorMapWidgetForm* getForm();
117 void updateUi(
bool loadColorBar =
false);
119 void buildCategorizationMap();
121 void buildInterpolationMap();
123 void buildRecodingMap();
125 std::vector<std::string> getValues();
129 std::vector<std::string> getRecodeValues();
133 void onApplyPushButtonClicked();
135 void onBandSelected(QString value);
137 void onTransformComboBoxCurrentIndexChanged(
int index);
139 void onTableWidgetItemDoubleClicked(QTableWidgetItem* item);
141 void onImportPushButtonClicked();
145 void applyPushButtonClicked();
149 std::auto_ptr<Ui::ColorMapWidgetForm>
m_ui;
162 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H
An abstract class for raster data strucutures.
ColorMapTransformationType
Allowed color transformations type.
It models the concept of color bar.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...