te::qt::widgets::VectorizationWizardPage Class Reference

#include <VectorizationWizardPage.h>

Inheritance diagram for te::qt::widgets::VectorizationWizardPage:
QWizardPage

Public Member Functions

unsigned int getBand ()
 
te::da::DataSourceInfoPtr getDataSourceInfo ()
 
std::string getLayerName ()
 
std::unique_ptr< te::rst::RastergetRaster ()
 
std::string getRepositoryName ()
 
bool hasMaxGeom (unsigned int &maxGeom)
 
bool isComplete () const
 
bool outputDataSourceToFile ()
 
void setLayer (te::map::AbstractLayerPtr layer)
 This method is used to set the selected layer for vectorization operation. More...
 
 VectorizationWizardPage (QWidget *parent=0)
 
 ~VectorizationWizardPage ()
 

Protected Slots

void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Private Attributes

te::map::AbstractLayerPtr m_layer
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
bool m_toFile
 
std::unique_ptr< Ui::VectorizationWizardPageForm > m_ui
 

Detailed Description

Definition at line 52 of file VectorizationWizardPage.h.

Constructor & Destructor Documentation

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

Referenced by VectorizationWizardPage().

Member Function Documentation

unsigned int te::qt::widgets::VectorizationWizardPage::getBand ( )

Definition at line 106 of file VectorizationWizardPage.cpp.

References m_ui.

te::da::DataSourceInfoPtr te::qt::widgets::VectorizationWizardPage::getDataSourceInfo ( )

Definition at line 124 of file VectorizationWizardPage.cpp.

References m_outputDatasource.

std::string te::qt::widgets::VectorizationWizardPage::getLayerName ( )

Definition at line 129 of file VectorizationWizardPage.cpp.

References m_ui.

std::unique_ptr< te::rst::Raster > te::qt::widgets::VectorizationWizardPage::getRaster ( )
std::string te::qt::widgets::VectorizationWizardPage::getRepositoryName ( )

Definition at line 137 of file VectorizationWizardPage.cpp.

References m_ui.

bool te::qt::widgets::VectorizationWizardPage::hasMaxGeom ( unsigned int maxGeom)

Definition at line 111 of file VectorizationWizardPage.cpp.

References m_ui.

bool te::qt::widgets::VectorizationWizardPage::isComplete ( ) const

Definition at line 61 of file VectorizationWizardPage.cpp.

void te::qt::widgets::VectorizationWizardPage::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::qt::widgets::VectorizationWizardPage::onTargetFileToolButtonPressed ( )
protectedslot
bool te::qt::widgets::VectorizationWizardPage::outputDataSourceToFile ( )

Definition at line 119 of file VectorizationWizardPage.cpp.

References m_toFile.

void te::qt::widgets::VectorizationWizardPage::setLayer ( te::map::AbstractLayerPtr  layer)

This method is used to set the selected layer for vectorization operation.

Parameters
layerThe layer ptr
Note
This layer MUST HAVE a valid raster object.

Definition at line 66 of file VectorizationWizardPage.cpp.

References ds, te::da::GetFirstPropertyPos(), m_layer, m_ui, and te::dt::RASTER_TYPE.

Member Data Documentation

te::map::AbstractLayerPtr te::qt::widgets::VectorizationWizardPage::m_layer
private

Definition at line 98 of file VectorizationWizardPage.h.

Referenced by getRaster(), and setLayer().

te::da::DataSourceInfoPtr te::qt::widgets::VectorizationWizardPage::m_outputDatasource
private

DataSource information.

Definition at line 100 of file VectorizationWizardPage.h.

Referenced by getDataSourceInfo(), and onTargetDatasourceToolButtonPressed().

bool te::qt::widgets::VectorizationWizardPage::m_toFile
private
std::unique_ptr<Ui::VectorizationWizardPageForm> te::qt::widgets::VectorizationWizardPage::m_ui
private

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