#include <RasterToVectorDialog.h>
Public Member Functions | |
te::map::AbstractLayerPtr | getLayer () |
Get the generated layer. More... | |
std::vector< unsigned int > | getSelectedBands () |
Get the selected bands based on selected QListWidgetItem. More... | |
std::vector < te::stat::StatisticalSummary > | getSelectedStatistics () |
Get the selected statistics based on selected QListWidgetItem. More... | |
RasterToVectorDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
~RasterToVectorDialog () | |
Protected Slots | |
void | onCancelPushButtonClicked () |
void | onHelpPushButtonClicked () |
void | onOkPushButtonClicked () |
void | onRasterComboBoxChanged (int index) |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
void | onVectorComboBoxChanged (int index) |
Private Attributes | |
std::list < te::map::AbstractLayerPtr > | m_layers |
List of layers. More... | |
te::map::AbstractLayerPtr | m_outLayer |
Generated Layer. More... | |
te::da::DataSourceInfoPtr | m_outputDatasource |
DataSource information. More... | |
std::string | m_path |
Output layer path;. More... | |
te::map::AbstractLayerPtr | m_rasterLayer |
Raster layer. More... | |
bool | m_texture |
bool | m_toFile |
std::auto_ptr < Ui::RasterToVectorDialogForm > | m_ui |
User interface. More... | |
te::map::AbstractLayerPtr | m_vectorLayer |
Vector layer. More... | |
Definition at line 55 of file RasterToVectorDialog.h.
te::attributefill::RasterToVectorDialog::RasterToVectorDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 69 of file RasterToVectorDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onOkPushButtonClicked(), onRasterComboBoxChanged(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and onVectorComboBoxChanged().
te::attributefill::RasterToVectorDialog::~RasterToVectorDialog | ( | ) |
Definition at line 95 of file RasterToVectorDialog.cpp.
te::map::AbstractLayerPtr te::attributefill::RasterToVectorDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 116 of file RasterToVectorDialog.cpp.
Referenced by te::qt::plugins::attributefill::RasterToVectorAction::onActionActivated().
std::vector< unsigned int > te::attributefill::RasterToVectorDialog::getSelectedBands | ( | ) |
Get the selected bands based on selected QListWidgetItem.
Definition at line 121 of file RasterToVectorDialog.cpp.
std::vector< te::stat::StatisticalSummary > te::attributefill::RasterToVectorDialog::getSelectedStatistics | ( | ) |
Get the selected statistics based on selected QListWidgetItem.
Definition at line 135 of file RasterToVectorDialog.cpp.
References te::stat::AMPLITUDE, te::stat::COUNT, te::stat::KURTOSIS, te::stat::MAX_VALUE, te::stat::MEAN, te::stat::MEDIAN, te::stat::MIN_VALUE, te::stat::MODE, te::stat::SKEWNESS, te::stat::STANDARD_DEVIATION, te::stat::SUM, te::stat::VALID_COUNT, te::stat::VAR_COEFF, and te::stat::VARIANCE.
|
protectedslot |
Definition at line 534 of file RasterToVectorDialog.cpp.
Referenced by RasterToVectorDialog().
|
protectedslot |
Definition at line 297 of file RasterToVectorDialog.cpp.
|
protectedslot |
Definition at line 302 of file RasterToVectorDialog.cpp.
References te::common::ProgressManager::addViewer(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< ProgressManager >::getInstance(), te::map::DataSetLayer::getSchema(), te::da::DataSourceFactory::make(), te::attributefill::RasterToVector::paramsAreValid(), te::common::ProgressManager::removeViewer(), te::attributefill::RasterToVector::run(), te::attributefill::RasterToVector::setInput(), te::attributefill::RasterToVector::setOutput(), and te::attributefill::RasterToVector::setParams().
Referenced by RasterToVectorDialog().
|
protectedslot |
Definition at line 195 of file RasterToVectorDialog.cpp.
References te::da::GetFirstRasterProperty(), and te::dt::Property::getName().
Referenced by RasterToVectorDialog().
|
protectedslot |
Definition at line 255 of file RasterToVectorDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by RasterToVectorDialog().
|
protectedslot |
Definition at line 276 of file RasterToVectorDialog.cpp.
Referenced by RasterToVectorDialog().
|
protectedslot |
Definition at line 240 of file RasterToVectorDialog.cpp.
Referenced by RasterToVectorDialog().
void te::attributefill::RasterToVectorDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 99 of file RasterToVectorDialog.cpp.
Referenced by te::qt::plugins::attributefill::RasterToVectorAction::onActionActivated().
|
private |
List of layers.
Definition at line 115 of file RasterToVectorDialog.h.
|
private |
Generated Layer.
Definition at line 118 of file RasterToVectorDialog.h.
|
private |
DataSource information.
Definition at line 114 of file RasterToVectorDialog.h.
|
private |
Output layer path;.
Definition at line 119 of file RasterToVectorDialog.h.
|
private |
Raster layer.
Definition at line 116 of file RasterToVectorDialog.h.
|
private |
Definition at line 121 of file RasterToVectorDialog.h.
|
private |
Definition at line 120 of file RasterToVectorDialog.h.
|
private |
User interface.
Definition at line 113 of file RasterToVectorDialog.h.
Referenced by RasterToVectorDialog().
|
private |
Vector layer.
Definition at line 117 of file RasterToVectorDialog.h.