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 | 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) |
Protected Member Functions | |
| void | buildCategorizationMap () |
| void | buildInterpolationMap () |
| void | buildRecodingMap () |
| void | initialize () |
| Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More... | |
| void | updateUi () |
| Updates the widget form based on internal fill element. More... | |
Private Attributes | |
| te::color::ColorBar * | m_cb |
| Terralib color bar objetc. More... | |
| te::qt::widgets::colorbar::ColorBar * | m_cbWidget |
| QWT widget for color bar. More... | |
| te::se::ColorMap * | m_cm |
| SE Color Map element. 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 74 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.
Definition at line 54 of file ColorMapWidget.cpp.
References initialize(), m_cbWidget, m_ui, onApplyPushButtonClicked(), and onBandSelected().
| te::qt::widgets::ColorMapWidget::~ColorMapWidget | ( | ) |
Destructor.
Definition at line 78 of file ColorMapWidget.cpp.
|
signal |
|
protected |
Definition at line 272 of file ColorMapWidget.cpp.
References te::map::GroupingByEqualSteps(), and te::se::Categorize::SUCCEEDING.
|
protected |
Definition at line 326 of file ColorMapWidget.cpp.
References te::se::Interpolate::COLOR, te::map::GroupingByEqualSteps(), te::se::InterpolationPoint::setData(), and te::se::InterpolationPoint::setValue().
|
protected |
Definition at line 385 of file ColorMapWidget.cpp.
| te::se::ColorMap * te::qt::widgets::ColorMapWidget::getColorMap | ( | ) |
Definition at line 116 of file ColorMapWidget.cpp.
References te::se::ColorMap::clone().
| std::string te::qt::widgets::ColorMapWidget::getCurrentBand | ( | ) |
Definition at line 121 of file ColorMapWidget.cpp.
|
protected |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
Definition at line 131 of file ColorMapWidget.cpp.
References te::se::CATEGORIZE_TRANSFORMATION, te::se::INTERPOLATE_TRANSFORMATION, and TE_OPAQUE.
Referenced by ColorMapWidget().
|
protectedslot |
Definition at line 391 of file ColorMapWidget.cpp.
References te::se::CATEGORIZE_TRANSFORMATION, te::se::INTERPOLATE_TRANSFORMATION, and te::se::RECODE_TRANSFORMATION.
Referenced by ColorMapWidget().
|
protectedslot |
Definition at line 415 of file ColorMapWidget.cpp.
References te::common::Singleton< RasterSummaryManager >::getInstance(), te::rst::SUMMARY_MAX, and te::rst::SUMMARY_MIN.
Referenced by ColorMapWidget().
| void te::qt::widgets::ColorMapWidget::setColorMap | ( | te::se::ColorMap * | cm | ) |
Definition at line 107 of file ColorMapWidget.cpp.
References te::se::ColorMap::clone().
| void te::qt::widgets::ColorMapWidget::setRaster | ( | te::rst::Raster * | r | ) |
Definition at line 85 of file ColorMapWidget.cpp.
References te::rst::Raster::getNumberOfBands().
|
protected |
Updates the widget form based on internal fill element.
Definition at line 146 of file ColorMapWidget.cpp.
References te::se::CATEGORIZE_TRANSFORMATION, te::se::InterpolationPoint::getData(), te::map::GetString(), te::se::InterpolationPoint::getValue(), and te::se::INTERPOLATE_TRANSFORMATION.
|
private |
Terralib color bar objetc.
Definition at line 133 of file ColorMapWidget.h.
|
private |
QWT widget for color bar.
Definition at line 131 of file ColorMapWidget.h.
Referenced by ColorMapWidget().
|
private |
SE Color Map element.
Definition at line 132 of file ColorMapWidget.h.
|
private |
TerraLib raster object.
Definition at line 135 of file ColorMapWidget.h.
|
private |