#include <VectorToVectorDialog.h>
Public Member Functions | |
te::map::AbstractLayerPtr | getLayer () |
Get the generated layer. More... | |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
void | setLogPath (const std::string &path) |
VectorToVectorDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
~VectorToVectorDialog () | |
Protected Slots | |
void | onCancelPushButtonClicked () |
void | onFromLayerComboBoxCurrentIndexChanged (int index) |
void | onHelpPushButtonClicked () |
void | onOkPushButtonClicked () |
void | onRejectAllComboBoxChanged (int index) |
void | onSelectAllComboBoxChanged (int index) |
void | onSelectAttrToolButtonPressed () |
void | onStatisticsListWidgetItemPressed (QListWidgetItem *item) |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
void | onToLayerComboBoxCurrentIndexChanged (int index) |
Private Types | |
typedef std::map < te::stat::StatisticalSummary, std::string > | StaticalSummaryMap |
Private Member Functions | |
te::map::AbstractLayerPtr | getCurrentFromLayer () |
te::map::AbstractLayerPtr | getCurrentToLayer () |
te::gm::GeomType | getCurrentToLayerGeomType () |
std::map< std::string, std::vector < te::attributefill::OperationType > > | getSelections () |
bool | isClassType (const int type) |
bool | isNumProperty (const int type) |
bool | isPoint (te::gm::GeomType type) |
bool | isPolygon (te::gm::GeomType type) |
bool | isValidPropertyType (const int type) |
void | setFunctionsByLayer (te::map::AbstractLayerPtr layer) |
void | setStatisticalSummary () |
Private Attributes | |
std::list < te::map::AbstractLayerPtr > | m_layers |
List of layers. More... | |
std::string | m_logPath |
te::map::AbstractLayerPtr | m_outLayer |
std::vector< std::string > | m_outputAttributes |
te::da::DataSourceInfoPtr | m_outputDatasource |
DataSource information. More... | |
std::string | m_path |
Output layer path;. More... | |
bool | m_toFile |
std::auto_ptr < Ui::VectorToVectorDialogForm > | m_ui |
User interface. More... | |
Definition at line 57 of file VectorToVectorDialog.h.
|
private |
Definition at line 134 of file VectorToVectorDialog.h.
te::attributefill::VectorToVectorDialog::VectorToVectorDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 73 of file VectorToVectorDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onFromLayerComboBoxCurrentIndexChanged(), onOkPushButtonClicked(), onRejectAllComboBoxChanged(), onSelectAllComboBoxChanged(), onSelectAttrToolButtonPressed(), onStatisticsListWidgetItemPressed(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), onToLayerComboBoxCurrentIndexChanged(), and setStatisticalSummary().
te::attributefill::VectorToVectorDialog::~VectorToVectorDialog | ( | ) |
Definition at line 111 of file VectorToVectorDialog.cpp.
|
private |
Definition at line 434 of file VectorToVectorDialog.cpp.
|
private |
Definition at line 450 of file VectorToVectorDialog.cpp.
|
private |
Definition at line 852 of file VectorToVectorDialog.cpp.
References te::da::GetFirstSpatialProperty(), and te::gm::GeometryProperty::getGeometryType().
te::map::AbstractLayerPtr te::attributefill::VectorToVectorDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 143 of file VectorToVectorDialog.cpp.
Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().
|
private |
Definition at line 570 of file VectorToVectorDialog.cpp.
References te::common::Tokenize().
|
private |
Definition at line 836 of file VectorToVectorDialog.cpp.
References te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::dt::STRING_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
|
private |
Definition at line 861 of file VectorToVectorDialog.cpp.
References te::dt::CDOUBLE_TYPE, te::dt::CFLOAT_TYPE, te::dt::CINT16_TYPE, te::dt::CINT32_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, and te::dt::INT64_TYPE.
|
private |
Definition at line 798 of file VectorToVectorDialog.cpp.
References te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, and te::gm::PointZType.
|
private |
Definition at line 783 of file VectorToVectorDialog.cpp.
References te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, and te::gm::PolygonZType.
|
private |
Definition at line 813 of file VectorToVectorDialog.cpp.
References te::dt::CDOUBLE_TYPE, te::dt::CFLOAT_TYPE, te::dt::CHAR_TYPE, te::dt::CINT16_TYPE, te::dt::CINT32_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::dt::NUMERIC_TYPE, te::dt::STRING_TYPE, te::dt::UCHAR_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
|
protectedslot |
Definition at line 317 of file VectorToVectorDialog.cpp.
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 322 of file VectorToVectorDialog.cpp.
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 148 of file VectorToVectorDialog.cpp.
|
protectedslot |
Definition at line 153 of file VectorToVectorDialog.cpp.
References te::common::ProgressManager::addViewer(), te::da::GetDataSource(), te::common::Singleton< ProgressManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::da::DataSourceFactory::make(), te::common::ProgressManager::removeViewer(), and te::common::Exception::what().
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 500 of file VectorToVectorDialog.cpp.
References te::common::Tokenize().
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 472 of file VectorToVectorDialog.cpp.
References te::common::Tokenize().
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 877 of file VectorToVectorDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::qt::widgets::DoubleListWidget::getOutputValues(), te::qt::widgets::DoubleListWidget::setInputValues(), te::qt::widgets::DoubleListWidget::setLeftLabel(), te::qt::widgets::DoubleListWidget::setOutputValues(), and te::qt::widgets::DoubleListWidget::setRightLabel().
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 466 of file VectorToVectorDialog.cpp.
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 528 of file VectorToVectorDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 549 of file VectorToVectorDialog.cpp.
Referenced by VectorToVectorDialog().
|
protectedslot |
Definition at line 341 of file VectorToVectorDialog.cpp.
References te::dt::GEOMETRY_TYPE.
Referenced by VectorToVectorDialog().
|
private |
Definition at line 610 of file VectorToVectorDialog.cpp.
References te::attributefill::AMPLITUDE, te::attributefill::COUNT, te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::dt::Property::getName(), te::attributefill::GetOperationFullName(), te::dt::Property::getType(), te::attributefill::HIGHEST_INTERSECTION, te::attributefill::HIGHEST_OCCURRENCE, te::attributefill::KURTOSIS, te::attributefill::MAX_VALUE, te::attributefill::MEAN, te::attributefill::MEDIAN, te::attributefill::MIN_DISTANCE, te::attributefill::MIN_VALUE, te::attributefill::MODE, te::attributefill::PERCENT_CLASS, te::attributefill::PERCENT_EACH_CLASS, te::attributefill::PERCENT_TOTAL_AREA, te::attributefill::PRESENCE, te::attributefill::SKEWNESS, te::attributefill::STANDARD_DEVIATION, te::dt::STRING_TYPE, te::attributefill::SUM, te::attributefill::VALID_COUNT, te::attributefill::VALUE, te::attributefill::VAR_COEFF, te::attributefill::VARIANCE, te::attributefill::WEIGHTED, and te::attributefill::WEIGHTED_SUM.
void te::attributefill::VectorToVectorDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 115 of file VectorToVectorDialog.cpp.
Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().
void te::attributefill::VectorToVectorDialog::setLogPath | ( | const std::string & | path | ) |
Definition at line 938 of file VectorToVectorDialog.cpp.
Referenced by te::qt::plugins::attributefill::VectorToVectorAction::onActionActivated().
|
private |
Definition at line 379 of file VectorToVectorDialog.cpp.
References te::attributefill::AMPLITUDE, te::attributefill::COUNT, te::attributefill::GetOperationFullName(), te::attributefill::HIGHEST_INTERSECTION, te::attributefill::HIGHEST_OCCURRENCE, te::attributefill::KURTOSIS, te::attributefill::MAX_VALUE, te::attributefill::MEAN, te::attributefill::MEDIAN, te::attributefill::MIN_DISTANCE, te::attributefill::MIN_VALUE, te::attributefill::MODE, te::attributefill::PERCENT_CLASS, te::attributefill::PERCENT_EACH_CLASS, te::attributefill::PERCENT_TOTAL_AREA, te::attributefill::PRESENCE, te::attributefill::SKEWNESS, te::attributefill::STANDARD_DEVIATION, te::attributefill::SUM, te::attributefill::VALID_COUNT, te::attributefill::VALUE, te::attributefill::VAR_COEFF, te::attributefill::VARIANCE, te::attributefill::WEIGHTED, and te::attributefill::WEIGHTED_SUM.
Referenced by VectorToVectorDialog().
|
private |
List of layers.
Definition at line 138 of file VectorToVectorDialog.h.
|
private |
Definition at line 142 of file VectorToVectorDialog.h.
|
private |
Definition at line 140 of file VectorToVectorDialog.h.
|
private |
Definition at line 139 of file VectorToVectorDialog.h.
|
private |
DataSource information.
Definition at line 137 of file VectorToVectorDialog.h.
|
private |
Output layer path;.
Definition at line 141 of file VectorToVectorDialog.h.
|
private |
Definition at line 143 of file VectorToVectorDialog.h.
|
private |
User interface.
Definition at line 136 of file VectorToVectorDialog.h.
Referenced by VectorToVectorDialog().