26 #ifndef __TERRALIB_QT_WIDGETS_RP_INTERNAL_CLIPPINGWIZARDPAGE_H
27 #define __TERRALIB_QT_WIDGETS_RP_INTERNAL_CLIPPINGWIZARDPAGE_H
30 #include "../../../geometry/Envelope.h"
32 #include "../../../maptools/AbstractLayer.h"
33 #include "../../../qt/widgets/canvas/MapDisplay.h"
35 #include "../Config.h"
41 #include <QWizardPage>
42 #include <QActionGroup>
45 namespace Ui {
class ClippingWizardPageForm; }
91 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
159 std::unique_ptr<Ui::ClippingWizardPageForm>
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 clipping parameters for the RP constast operation.
void onStrategyTypeComboBoxActivated(int index)
te::gm::Envelope getLayerExtentClipping()
void setList(std::list< te::map::AbstractLayerPtr > &layerList)
void setMapDisplay(te::qt::widgets::MapDisplay *mapDisplay)
std::vector< te::gm::Geometry * > getLayerClipping()
void onPreviewDimensionClicked()
void onExtentLayerLineEditFinished()
std::vector< te::gm::Geometry * > m_geomVec
std::unique_ptr< te::qt::widgets::RpToolsWidget > m_navigator
bool isGroupByAttribute()
bool isDimensionClipping()
std::map< std::string, te::gm::Geometry * > getLayerClippingAttribute()
void onGeomAquired(te::gm::Polygon *poly)
std::vector< te::gm::Geometry * > getExtentClipping()
void setActionGroup(QActionGroup *actionGroup)
std::list< te::map::AbstractLayerPtr > m_layerList
void getDimensionClipping(int &x, int &y, int &width, int &height)
bool isLayerExtentClipping()
bool isSingleRasterResult()
ClippingWizardPage(QWidget *parent=0)
void onEnvelopeAcquired(te::gm::Envelope env)
void onStrategyTypeComboBoxChanged(int index)
void onLayerComboBoxActivated(int index)
std::unique_ptr< Ui::ClippingWizardPageForm > m_ui
te::gm::Envelope m_envExt
te::gm::Envelope m_envDim
te::map::AbstractLayerPtr m_layer
te::map::AbstractLayerPtr get()
void onExtentLayerComboBoxChanged(int index)
te::qt::widgets::MapDisplay * m_mapDisplay
void set(te::map::AbstractLayerPtr layer)
This method is used to set the selected layer for clipping operation.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr