#include <RasterizationWizard.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getOutputLayer () |
| RasterizationWizard (QWidget *parent=0) | |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| bool | validateCurrentPage () |
| ~RasterizationWizard () | |
Protected Slots | |
| void | onPageChanged (int index) |
Protected Member Functions | |
| void | addPages () |
| te::rst::BandProperty * | createBandProperty (const std::size_t size) |
| std::unique_ptr< te::mem::DataSet > | createDataSet (te::da::DataSetType *dsType, std::vector< te::gm::Geometry * > &geoms) |
| std::unique_ptr< te::da::DataSetType > | createDataSetType (std::string dataSetName, int srid) |
| bool | execute () |
| void | saveDataSet (te::mem::DataSet *dataSet, te::da::DataSetType *dsType, te::da::DataSourcePtr ds, std::string dataSetName) |
| void | setDummy (te::rst::Raster *rst, const double dummyValue) |
Private Attributes | |
| te::map::AbstractLayerPtr | m_inputLayer |
| std::unique_ptr< te::qt::widgets::LayerSearchWizardPage > | m_layerSearchPage |
| te::map::AbstractLayerPtr | m_outputLayer |
| std::unique_ptr< te::qt::widgets::RasterizationWizardPage > | m_vectorPage |
Definition at line 50 of file RasterizationWizard.h.
| te::qt::widgets::RasterizationWizard::RasterizationWizard | ( | QWidget * | parent = 0 | ) |
Definition at line 66 of file RasterizationWizard.cpp.
References addPages(), onPageChanged(), te::qt::widgets::HelpPushButton::setPageReference(), and ~RasterizationWizard().
|
default |
Referenced by RasterizationWizard().
|
protected |
Definition at line 121 of file RasterizationWizard.cpp.
References m_layerSearchPage, and m_vectorPage.
Referenced by RasterizationWizard().
|
protected |
Definition at line 361 of file RasterizationWizard.cpp.
References te::dt::CHAR_TYPE, te::dt::DOUBLE_TYPE, te::dt::INT16_TYPE, and te::dt::INT32_TYPE.
Referenced by execute().
|
protected |
Function used to create the output data
Definition at line 328 of file RasterizationWizard.cpp.
References ds, te::mem::DataSetItem::setGeometry(), and te::mem::DataSetItem::setInt32().
|
protected |
Function used to create the output dataset type
Definition at line 307 of file RasterizationWizard.cpp.
References te::da::PrimaryKey::add(), te::dt::INT32_TYPE, and te::gm::PolygonType.
|
protected |
Definition at line 144 of file RasterizationWizard.cpp.
References te::se::Recode::add(), te::qt::widgets::applyRasterMultiResolution(), createBandProperty(), te::qt::widgets::createLayer(), te::core::FileSystem::exists(), te::da::GetFirstSpatialPropertyPos(), te::map::GetRaster(), te::se::GetRasterSymbolizer(), te::sa::Grid, te::common::TaskProgress::isActive(), m_inputLayer, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::rst::BandProperty::m_noDataValue, m_outputLayer, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, m_vectorPage, te::rst::RasterFactory::make(), p, te::common::TaskProgress::pulse(), mixture::rst, te::se::ColorMap::setCategorize(), te::se::RasterSymbolizer::setColorMap(), te::se::MapItem::setData(), setDummy(), te::se::Function::setFallbackValue(), te::se::ColorMap::setInterpolate(), te::se::Recode::setLookupValue(), te::common::TaskProgress::setMessage(), te::se::ColorMap::setRecode(), te::se::MapItem::setTitle(), te::common::TaskProgress::setTotalSteps(), te::se::MapItem::setValue(), TE_TR, and te::common::Exception::what().
Referenced by validateCurrentPage().
| te::map::AbstractLayerPtr te::qt::widgets::RasterizationWizard::getOutputLayer | ( | ) |
Definition at line 116 of file RasterizationWizard.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::rp::RasterizationAction::onActionActivated().
|
protectedslot |
Definition at line 375 of file RasterizationWizard.cpp.
Referenced by RasterizationWizard().
|
protected |
Function used to save the output dataset
Definition at line 349 of file RasterizationWizard.cpp.
References te::mem::DataSet::moveBeforeFirst().
|
protected |
Definition at line 130 of file RasterizationWizard.cpp.
References te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), and te::rst::Raster::setValue().
Referenced by execute().
| void te::qt::widgets::RasterizationWizard::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 111 of file RasterizationWizard.cpp.
References m_layerSearchPage.
Referenced by te::qt::plugins::rp::RasterizationAction::onActionActivated().
| bool te::qt::widgets::RasterizationWizard::validateCurrentPage | ( | ) |
Definition at line 88 of file RasterizationWizard.cpp.
References execute(), m_inputLayer, m_layerSearchPage, and m_vectorPage.
|
private |
Definition at line 94 of file RasterizationWizard.h.
Referenced by execute(), and validateCurrentPage().
|
private |
Definition at line 92 of file RasterizationWizard.h.
Referenced by addPages(), setList(), and validateCurrentPage().
|
private |
Definition at line 96 of file RasterizationWizard.h.
Referenced by execute(), and getOutputLayer().
|
private |
Definition at line 91 of file RasterizationWizard.h.
Referenced by addPages(), execute(), and validateCurrentPage().