This class is GUI used to define the clipping wizard for the RP constast operation. More...
#include <ClippingWizard.h>
Signals | |
| void | addLayer (te::map::AbstractLayerPtr layer) |
Public Member Functions | |
| ClippingWizard (QWidget *parent) | |
| std::vector< te::map::AbstractLayerPtr > | getOutputLayers () |
| void | onMapDisplayExtentChanged () |
| void | setActionGroup (QActionGroup *actionGroup) |
| void | setLayer (te::map::AbstractLayerPtr layer) |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| void | setMapDisplay (te::qt::widgets::MapDisplay *mapDisplay) |
| virtual bool | validateCurrentPage () |
| ~ClippingWizard () | |
Protected Slots | |
| void | onPageChanged (int index) |
Protected Member Functions | |
| void | addPages () |
| bool | execute () |
| bool | executeDimensionClipping () |
| bool | executeLayerClipping () |
| bool | executeLayerClippingAttribute () |
| bool | executeLayerExtentClipping () |
Private Attributes | |
| std::unique_ptr< te::qt::widgets::ClippingWizardPage > | m_clippingPage |
| std::unique_ptr< te::qt::widgets::LayerSearchWizardPage > | m_layerSearchPage |
| std::vector< te::map::AbstractLayerPtr > | m_outputLayer |
| std::unique_ptr< te::qt::widgets::RasterInfoWizardPage > | m_rasterInfoPage |
This class is GUI used to define the clipping wizard for the RP constast operation.
Definition at line 58 of file ClippingWizard.h.
| te::qt::widgets::ClippingWizard::ClippingWizard | ( | QWidget * | parent | ) |
Definition at line 59 of file ClippingWizard.cpp.
References addPages(), onPageChanged(), and te::qt::widgets::HelpPushButton::setPageReference().
| te::qt::widgets::ClippingWizard::~ClippingWizard | ( | ) |
Definition at line 81 of file ClippingWizard.cpp.
References m_clippingPage.
|
signal |
|
protected |
Definition at line 151 of file ClippingWizard.cpp.
References m_clippingPage, m_layerSearchPage, and m_rasterInfoPage.
Referenced by ClippingWizard().
|
protected |
Definition at line 165 of file ClippingWizard.cpp.
References executeDimensionClipping(), executeLayerClipping(), executeLayerClippingAttribute(), executeLayerExtentClipping(), m_clippingPage, and m_rasterInfoPage.
Referenced by validateCurrentPage().
|
protected |
Definition at line 268 of file ClippingWizard.cpp.
References addLayer(), te::qt::widgets::applyRasterMultiResolution(), te::qt::widgets::createLayer(), te::rp::Module::getLastLogStr(), te::map::GetRaster(), m_clippingPage, m_outputLayer, m_rasterInfoPage, te::rst::NearestNeighbor, and te::rst::Raster::resample().
Referenced by execute().
|
protected |
Definition at line 319 of file ClippingWizard.cpp.
References addLayer(), te::qt::widgets::applyRasterMultiResolution(), b, compose::bands, te::rst::PolygonIterator< T >::begin(), te::qt::widgets::createLayer(), te::rst::PolygonIterator< T >::end(), te::rst::FillRaster(), te::rst::PolygonIterator< T >::getColumn(), te::gm::Geometry::getGeomTypeId(), te::rp::Module::getLastLogStr(), te::gm::Geometry::getMBR(), te::map::GetRaster(), te::rst::PolygonIterator< T >::getRow(), te::sa::Grid, te::rst::Grid::gridToGeo(), m_clippingPage, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::rst::BandProperty::m_noDataValue, m_outputLayer, m_rasterInfoPage, te::rst::BandProperty::m_type, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::rst::RasterFactory::make(), te::gm::Multi2Single(), te::rst::NearestNeighbor, te::gm::PolygonType, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by execute().
|
protected |
Definition at line 646 of file ClippingWizard.cpp.
References addLayer(), te::qt::widgets::applyRasterMultiResolution(), b, compose::bands, te::rst::PolygonIterator< T >::begin(), te::qt::widgets::createLayer(), te::rst::PolygonIterator< T >::end(), te::rst::FillRaster(), te::rst::PolygonIterator< T >::getColumn(), te::gm::GetGeometryUnion(), te::gm::Geometry::getGeomTypeId(), te::rp::Module::getLastLogStr(), te::map::GetRaster(), te::rst::PolygonIterator< T >::getRow(), te::sa::Grid, te::rst::Grid::gridToGeo(), m_clippingPage, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::rst::BandProperty::m_noDataValue, m_outputLayer, m_rasterInfoPage, te::rst::BandProperty::m_type, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::rst::RasterFactory::make(), te::gm::Multi2Single(), te::rst::NearestNeighbor, te::gm::PolygonType, te::gm::Coord2D::x, and te::gm::Coord2D::y.
Referenced by execute().
|
protected |
Definition at line 218 of file ClippingWizard.cpp.
References addLayer(), te::qt::widgets::applyRasterMultiResolution(), te::qt::widgets::createLayer(), te::rp::Module::getLastLogStr(), te::map::GetRaster(), te::gm::Envelope::intersects(), m_clippingPage, m_outputLayer, m_rasterInfoPage, and te::rst::Raster::trim().
Referenced by execute().
| std::vector< te::map::AbstractLayerPtr > te::qt::widgets::ClippingWizard::getOutputLayers | ( | ) |
Definition at line 141 of file ClippingWizard.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::rp::ClippingAction::onPopUpActionActivated().
| void te::qt::widgets::ClippingWizard::onMapDisplayExtentChanged | ( | ) |
Definition at line 146 of file ClippingWizard.cpp.
References m_clippingPage.
|
protectedslot |
Definition at line 840 of file ClippingWizard.cpp.
Referenced by ClippingWizard().
| void te::qt::widgets::ClippingWizard::setActionGroup | ( | QActionGroup * | actionGroup | ) |
Definition at line 136 of file ClippingWizard.cpp.
References m_clippingPage.
| void te::qt::widgets::ClippingWizard::setLayer | ( | te::map::AbstractLayerPtr | layer | ) |
Definition at line 126 of file ClippingWizard.cpp.
References m_clippingPage.
Referenced by te::qt::plugins::rp::ClippingAction::onPopUpActionActivated().
| void te::qt::widgets::ClippingWizard::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 118 of file ClippingWizard.cpp.
References m_clippingPage, and m_layerSearchPage.
| void te::qt::widgets::ClippingWizard::setMapDisplay | ( | te::qt::widgets::MapDisplay * | mapDisplay | ) |
Definition at line 131 of file ClippingWizard.cpp.
References m_clippingPage.
|
virtual |
Definition at line 86 of file ClippingWizard.cpp.
References execute(), m_clippingPage, m_layerSearchPage, and m_rasterInfoPage.
|
private |
Definition at line 108 of file ClippingWizard.h.
Referenced by addPages(), execute(), executeDimensionClipping(), executeLayerClipping(), executeLayerClippingAttribute(), executeLayerExtentClipping(), onMapDisplayExtentChanged(), setActionGroup(), setLayer(), setList(), setMapDisplay(), validateCurrentPage(), and ~ClippingWizard().
|
private |
Definition at line 109 of file ClippingWizard.h.
Referenced by addPages(), setList(), and validateCurrentPage().
|
private |
Definition at line 112 of file ClippingWizard.h.
Referenced by executeDimensionClipping(), executeLayerClipping(), executeLayerClippingAttribute(), executeLayerExtentClipping(), and getOutputLayers().
|
private |
Definition at line 110 of file ClippingWizard.h.
Referenced by addPages(), execute(), executeDimensionClipping(), executeLayerClipping(), executeLayerClippingAttribute(), executeLayerExtentClipping(), and validateCurrentPage().