te::qt::widgets::ColorMapWidget Class Reference

A dialog used to build a ColorMap element. More...

#include <ColorMapWidget.h>

Inheritance diagram for te::qt::widgets::ColorMapWidget:

Signals

void applyPushButtonClicked ()
 

Public Member Functions

te::se::ColorMapgetColorMap ()
 
std::string getCurrentBand ()
 
Ui::ColorMapWidgetForm * getForm ()
 
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::ColorBarm_cb
 Terralib color bar objetc. More...
 
te::se::ColorMapm_cm
 SE Color Map element. More...
 
te::qt::widgets::ColorCatalogWidgetm_colorBar
 Widget used to pick a color. More...
 
te::rst::Rasterm_raster
 TerraLib raster object. More...
 
std::auto_ptr< Ui::ColorMapWidgetForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a ColorMap element.

Definition at line 78 of file ColorMapWidget.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void te::qt::widgets::ColorMapWidget::applyPushButtonClicked ( )
signal
void te::qt::widgets::ColorMapWidget::buildCategorizationMap ( )
protected
void te::qt::widgets::ColorMapWidget::buildInterpolationMap ( )
protected
void te::qt::widgets::ColorMapWidget::buildRecodingMap ( )
protected
te::se::ColorMap* te::qt::widgets::ColorMapWidget::getColorMap ( )
std::string te::qt::widgets::ColorMapWidget::getCurrentBand ( )
Ui::ColorMapWidgetForm* te::qt::widgets::ColorMapWidget::getForm ( )
std::vector<std::string> te::qt::widgets::ColorMapWidget::getValues ( )
protected
void te::qt::widgets::ColorMapWidget::initialize ( )
protected

Internal method to initialize the widget (e.g.: color, combos, icons, etc.)

void te::qt::widgets::ColorMapWidget::onApplyPushButtonClicked ( )
protectedslot
void te::qt::widgets::ColorMapWidget::onBandSelected ( QString  value)
protectedslot
void te::qt::widgets::ColorMapWidget::onImportPushButtonClicked ( )
protectedslot
void te::qt::widgets::ColorMapWidget::onTableWidgetItemDoubleClicked ( QTableWidgetItem *  item)
protectedslot
void te::qt::widgets::ColorMapWidget::onTransformComboBoxCurrentIndexChanged ( int  index)
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)
void te::qt::widgets::ColorMapWidget::updateTableHeader ( te::se::ColorMapTransformationType  type)
protected
void te::qt::widgets::ColorMapWidget::updateUi ( bool  loadColorBar = false)
protected

Updates the widget form based on internal fill element.

Member Data Documentation

te::color::ColorBar* te::qt::widgets::ColorMapWidget::m_cb
private

Terralib color bar objetc.

Definition at line 150 of file ColorMapWidget.h.

te::se::ColorMap* te::qt::widgets::ColorMapWidget::m_cm
private

SE Color Map element.

Definition at line 149 of file ColorMapWidget.h.

te::qt::widgets::ColorCatalogWidget* te::qt::widgets::ColorMapWidget::m_colorBar
private

Widget used to pick a color.

Definition at line 148 of file ColorMapWidget.h.

te::rst::Raster* te::qt::widgets::ColorMapWidget::m_raster
private

TerraLib raster object.

Definition at line 152 of file ColorMapWidget.h.

std::auto_ptr<Ui::ColorMapWidgetForm> te::qt::widgets::ColorMapWidget::m_ui
private

Dialog form.

Definition at line 147 of file ColorMapWidget.h.


The documentation for this class was generated from the following file: