#include <VectorizationWizardPage.h>
Public Member Functions | |
| unsigned int | getBand () |
| te::da::DataSourceInfoPtr | getDataSourceInfo () |
| std::string | getLayerName () |
| std::unique_ptr< te::rst::Raster > | getRaster () |
| 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 |
Definition at line 52 of file VectorizationWizardPage.h.
| te::qt::widgets::VectorizationWizardPage::VectorizationWizardPage | ( | QWidget * | parent = 0 | ) |
Definition at line 40 of file VectorizationWizardPage.cpp.
References m_ui, onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~VectorizationWizardPage().
|
default |
Referenced by VectorizationWizardPage().
| 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 | ( | ) |
Definition at line 94 of file VectorizationWizardPage.cpp.
References ds, te::da::GetFirstPropertyPos(), m_layer, and te::dt::RASTER_TYPE.
| std::string te::qt::widgets::VectorizationWizardPage::getRepositoryName | ( | ) |
Definition at line 137 of file VectorizationWizardPage.cpp.
References m_ui.
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.
|
protectedslot |
Definition at line 145 of file VectorizationWizardPage.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by VectorizationWizardPage().
|
protectedslot |
Definition at line 166 of file VectorizationWizardPage.cpp.
References te::qt::widgets::FileDialog::exec(), te::qt::widgets::FileDialog::getFileName(), te::qt::widgets::FileDialog::getPath(), m_toFile, m_ui, te::qt::widgets::FileDialog::VECTOR, and te::common::Exception::what().
Referenced by VectorizationWizardPage().
| 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.
| layer | The layer ptr |
Definition at line 66 of file VectorizationWizardPage.cpp.
References ds, te::da::GetFirstPropertyPos(), m_layer, m_ui, and te::dt::RASTER_TYPE.
|
private |
Definition at line 98 of file VectorizationWizardPage.h.
Referenced by getRaster(), and setLayer().
|
private |
DataSource information.
Definition at line 100 of file VectorizationWizardPage.h.
Referenced by getDataSourceInfo(), and onTargetDatasourceToolButtonPressed().
|
private |
Definition at line 102 of file VectorizationWizardPage.h.
Referenced by onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and outputDataSourceToFile().
|
private |
Definition at line 96 of file VectorizationWizardPage.h.
Referenced by getBand(), getLayerName(), getRepositoryName(), hasMaxGeom(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), setLayer(), and VectorizationWizardPage().