26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_RASTEREDITWIZARDPAGE_H 27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_RASTEREDITWIZARDPAGE_H 30 #include "../../../geometry/Envelope.h" 32 #include "../../../maptools/AbstractLayer.h" 33 #include "../../../qt/widgets/canvas/MapDisplay.h" 34 #include "../../../qt/widgets/layer/explorer/LayerItemView.h" 36 #include "../Config.h" 42 #include <QWizardPage> 43 #include <QActionGroup> 44 #include <QTableWidgetItem> 47 namespace Ui {
class RasterEditWizardPageForm; }
56 class RasterNavigatorDialog;
75 bool isComplete()
const;
93 std::shared_ptr< te::rst::Raster > getOutputRaster();
100 const std::vector< std::map< unsigned int , std::string > >&
105 void addRulePushButtonClicked();
107 void removeRulePushButtonClicked();
113 void onPointPicked(
double x,
double y);
115 void onSelectRoiItem();
117 void onRemoveRoiItem();
119 void onReplaceAllPushButtonClicked();
121 void onAddNewValuePushButtonClicked();
123 void onsetNewValueColorPushButtonClicked();
125 void onLoadROISPushButtonClicked();
127 void oldValueComboBoxcurrentIndexChanged(
int index);
129 void newValueComboBoxcurrentIndexChanged(
int index);
131 void drawGeometries();
133 void onRoiTableWidgetItemClicked( QTableWidgetItem*);
135 void onTansferPushButtonClicked();
137 void onPointPickedOnMainMapDisplay( QPointF& );
141 unsigned int getBand();
143 void getROIs(std::vector<te::gm::Geometry*> &geomVec);
145 void getReplaceValues( std::vector< std::pair< double, double > >& replaceValues )
const;
147 void updateValuesCombos();
155 std::unique_ptr<Ui::RasterEditWizardPageForm>
m_ui;
167 #endif // __TERRALIB_QT_WIDGETS_RP_INTERNAL_RASTEREDITWIZARDPAGE_H
te::qt::widgets::MapDisplay * m_mainMapDispPtr
std::vector< std::map< unsigned int, std::string > > m_palleteIndex2Descriptions
This class is GUI used to define the parameters raster data edition.
std::unique_ptr< Ui::RasterEditWizardPageForm > m_ui
An Envelope defines a 2D rectangular region.
std::string m_outputDataSourceID
std::shared_ptr< te::rst::Raster > m_outputRasterPtr
const std::vector< std::map< unsigned int, std::string > > & getPalleteIndex2Descriptions() const
Return the current output pallete indexes to their respetive descriptions.
std::unique_ptr< te::qt::widgets::RasterNavigatorDialog > m_rasterMavDialogPtr
te::qt::widgets::LayerItemView * m_mainLayerExplorerPtr
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::vector< te::gm::Geometry * > m_geomVec