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();
131 void onApplyPushButtonClicked();
133 void onBandSelected(QString value);
135 void onTransformComboBoxCurrentIndexChanged(
int index);
137 void onTableWidgetItemDoubleClicked(QTableWidgetItem* item);
139 void onImportPushButtonClicked();
143 void applyPushButtonClicked();
147 std::auto_ptr<Ui::ColorMapWidgetForm>
m_ui;
160 #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...