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();
115 void updateUi(
bool loadColorBar =
false);
117 void buildCategorizationMap();
119 void buildInterpolationMap();
121 void buildRecodingMap();
123 std::vector<std::string> getValues();
129 void onApplyPushButtonClicked();
131 void onBandSelected(QString value);
133 void onTransformComboBoxCurrentIndexChanged(
int index);
135 void onTableWidgetItemDoubleClicked(QTableWidgetItem* item);
137 void onImportPushButtonClicked();
141 void applyPushButtonClicked();
145 std::auto_ptr<Ui::ColorMapWidgetForm>
m_ui;
158 #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...