A dialog used to build a ColorMap element. More...
#include <ColorMapWidget.h>
Signals | |
void | applyPushButtonClicked () |
Public Member Functions | |
te::se::ColorMap * | getColorMap () |
std::string | getCurrentBand () |
void | setColorMap (te::se::ColorMap *cm) |
void | setLayers (te::map::AbstractLayerPtr selectedLayer, std::vector< te::map::AbstractLayerPtr > allLayers) |
void | setRaster (te::rst::Raster *r) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
ColorMapWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructs a ShadedReliefWidget dialog which is a child of parent, with widget flags set to f. More... | |
~ColorMapWidget () | |
Destructor. More... | |
Protected Slots | |
void | onApplyPushButtonClicked () |
void | onBandSelected (QString value) |
void | onImportPushButtonClicked () |
void | onTableWidgetItemDoubleClicked (QTableWidgetItem *item) |
void | onTransformComboBoxCurrentIndexChanged (int index) |
Protected Member Functions | |
void | buildCategorizationMap () |
void | buildInterpolationMap () |
void | buildRecodingMap () |
std::vector< std::string > | getValues () |
void | initialize () |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More... | |
void | updateTableHeader (te::se::ColorMapTransformationType type) |
void | updateUi (bool loadColorBar=false) |
Updates the widget form based on internal fill element. More... | |
Private Attributes | |
te::color::ColorBar * | m_cb |
Terralib color bar objetc. More... | |
te::se::ColorMap * | m_cm |
SE Color Map element. More... | |
te::qt::widgets::ColorCatalogWidget * | m_colorBar |
Widget used to pick a color. More... | |
te::rst::Raster * | m_raster |
TerraLib raster object. More... | |
std::auto_ptr< Ui::ColorMapWidgetForm > | m_ui |
Dialog form. More... | |
A dialog used to build a ColorMap element.
Definition at line 76 of file ColorMapWidget.h.
te::qt::widgets::ColorMapWidget::ColorMapWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructs a ShadedReliefWidget dialog which is a child of parent, with widget flags set to f.
te::qt::widgets::ColorMapWidget::~ColorMapWidget | ( | ) |
Destructor.
|
signal |
|
protected |
|
protected |
|
protected |
te::se::ColorMap* te::qt::widgets::ColorMapWidget::getColorMap | ( | ) |
std::string te::qt::widgets::ColorMapWidget::getCurrentBand | ( | ) |
|
protected |
|
protected |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
void te::qt::widgets::ColorMapWidget::setColorMap | ( | te::se::ColorMap * | cm | ) |
void te::qt::widgets::ColorMapWidget::setLayers | ( | te::map::AbstractLayerPtr | selectedLayer, |
std::vector< te::map::AbstractLayerPtr > | allLayers | ||
) |
void te::qt::widgets::ColorMapWidget::setRaster | ( | te::rst::Raster * | r | ) |
|
protected |
|
protected |
Updates the widget form based on internal fill element.
|
private |
Terralib color bar objetc.
Definition at line 146 of file ColorMapWidget.h.
|
private |
SE Color Map element.
Definition at line 145 of file ColorMapWidget.h.
|
private |
Widget used to pick a color.
Definition at line 144 of file ColorMapWidget.h.
|
private |
TerraLib raster object.
Definition at line 148 of file ColorMapWidget.h.
|
private |
Dialog form.
Definition at line 143 of file ColorMapWidget.h.