te::qt::widgets::RasterizationWizard Class Reference

#include <RasterizationWizard.h>

Inheritance diagram for te::qt::widgets::RasterizationWizard:
QWizard

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::BandPropertycreateBandProperty (const std::size_t size)
 
std::unique_ptr< te::mem::DataSetcreateDataSet (te::da::DataSetType *dsType, std::vector< te::gm::Geometry * > &geoms)
 
std::unique_ptr< te::da::DataSetTypecreateDataSetType (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::LayerSearchWizardPagem_layerSearchPage
 
te::map::AbstractLayerPtr m_outputLayer
 
std::unique_ptr< te::qt::widgets::RasterizationWizardPagem_vectorPage
 

Detailed Description

Definition at line 50 of file RasterizationWizard.h.

Constructor & Destructor Documentation

te::qt::widgets::RasterizationWizard::RasterizationWizard ( QWidget parent = 0)
te::qt::widgets::RasterizationWizard::~RasterizationWizard ( )
default

Referenced by RasterizationWizard().

Member Function Documentation

void te::qt::widgets::RasterizationWizard::addPages ( )
protected

Definition at line 121 of file RasterizationWizard.cpp.

References m_layerSearchPage, and m_vectorPage.

Referenced by RasterizationWizard().

te::rst::BandProperty * te::qt::widgets::RasterizationWizard::createBandProperty ( const std::size_t  size)
protected
std::unique_ptr< te::mem::DataSet > te::qt::widgets::RasterizationWizard::createDataSet ( te::da::DataSetType dsType,
std::vector< te::gm::Geometry * > &  geoms 
)
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().

std::unique_ptr< te::da::DataSetType > te::qt::widgets::RasterizationWizard::createDataSetType ( std::string  dataSetName,
int  srid 
)
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.

te::map::AbstractLayerPtr te::qt::widgets::RasterizationWizard::getOutputLayer ( )
void te::qt::widgets::RasterizationWizard::onPageChanged ( int  index)
protectedslot

Definition at line 375 of file RasterizationWizard.cpp.

Referenced by RasterizationWizard().

void te::qt::widgets::RasterizationWizard::saveDataSet ( te::mem::DataSet dataSet,
te::da::DataSetType dsType,
te::da::DataSourcePtr  ds,
std::string  dataSetName 
)
protected

Function used to save the output dataset

Definition at line 349 of file RasterizationWizard.cpp.

References te::mem::DataSet::moveBeforeFirst().

void te::qt::widgets::RasterizationWizard::setDummy ( te::rst::Raster rst,
const double  dummyValue 
)
protected
void te::qt::widgets::RasterizationWizard::setList ( std::list< te::map::AbstractLayerPtr > &  layerList)
bool te::qt::widgets::RasterizationWizard::validateCurrentPage ( )

Definition at line 88 of file RasterizationWizard.cpp.

References execute(), m_inputLayer, m_layerSearchPage, and m_vectorPage.

Member Data Documentation

te::map::AbstractLayerPtr te::qt::widgets::RasterizationWizard::m_inputLayer
private

Definition at line 94 of file RasterizationWizard.h.

Referenced by execute(), and validateCurrentPage().

std::unique_ptr<te::qt::widgets::LayerSearchWizardPage> te::qt::widgets::RasterizationWizard::m_layerSearchPage
private

Definition at line 92 of file RasterizationWizard.h.

Referenced by addPages(), setList(), and validateCurrentPage().

te::map::AbstractLayerPtr te::qt::widgets::RasterizationWizard::m_outputLayer
private

Definition at line 96 of file RasterizationWizard.h.

Referenced by execute(), and getOutputLayer().

std::unique_ptr<te::qt::widgets::RasterizationWizardPage> te::qt::widgets::RasterizationWizard::m_vectorPage
private

Definition at line 91 of file RasterizationWizard.h.

Referenced by addPages(), execute(), and validateCurrentPage().


The documentation for this class was generated from the following files: