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;
100 const std::vector< std::map< unsigned int , std::string > >&
143 void getROIs(std::vector<te::gm::Geometry*> &geomVec);
155 std::unique_ptr<Ui::RasterEditWizardPageForm>
m_ui;
An Envelope defines a 2D rectangular region.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
This class is GUI used to define the parameters raster data edition.
void getROIs(std::vector< te::gm::Geometry * > &geomVec)
void onsetNewValueColorPushButtonClicked()
const std::vector< std::map< unsigned int, std::string > > & getPalleteIndex2Descriptions() const
Return the current output pallete indexes to their respetive descriptions.
void onTansferPushButtonClicked()
void newValueComboBoxcurrentIndexChanged(int index)
std::vector< te::gm::Geometry * > m_geomVec
void onPointPicked(double x, double y)
std::shared_ptr< te::rst::Raster > m_outputRasterPtr
std::vector< std::map< unsigned int, std::string > > m_palleteIndex2Descriptions
void removeRulePushButtonClicked()
RasterEditWizardPage(QWidget *parent, te::qt::widgets::MapDisplay *mainMapDispPtr, te::qt::widgets::LayerItemView *mainLayerExplorerPtr)
void onPointPickedOnMainMapDisplay(QPointF &)
void onRoiTableWidgetItemClicked(QTableWidgetItem *)
void onEnvelopeAcquired(te::gm::Envelope env)
te::qt::widgets::MapDisplay * m_mainMapDispPtr
std::string m_outputDataSourceID
void oldValueComboBoxcurrentIndexChanged(int index)
void getReplaceValues(std::vector< std::pair< double, double > > &replaceValues) const
bool setLayer(te::map::AbstractLayerPtr layer)
This method is used to set the selected layer for editing operation.
void onAddNewValuePushButtonClicked()
std::unique_ptr< te::qt::widgets::RasterNavigatorDialog > m_rasterMavDialogPtr
te::qt::widgets::LayerItemView * m_mainLayerExplorerPtr
void onReplaceAllPushButtonClicked()
void updateValuesCombos()
void onLoadROISPushButtonClicked()
void onGeomAquired(te::gm::Polygon *poly)
void addRulePushButtonClicked()
std::shared_ptr< te::rst::Raster > getOutputRaster()
Return the current output raster.
std::unique_ptr< Ui::RasterEditWizardPageForm > m_ui
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr