#include <SpatialStatisticsDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getOutputLayer () |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| SpatialStatisticsDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~SpatialStatisticsDialog () | |
Protected Slots | |
| void | onGPMToolButtonClicked () |
| void | onInputLayerComboBoxActivated (int index) |
| void | onOkPushButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
| std::unique_ptr< te::sa::GeneralizedProximityMatrix > | loadGPM () |
Private Attributes | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| te::map::AbstractLayerPtr | m_outputLayer |
| Generated Layer. More... | |
| bool | m_toFile |
| std::unique_ptr< Ui::SpatialStatisticsDialogForm > | m_ui |
Definition at line 52 of file SpatialStatisticsDialog.h.
| te::sa::SpatialStatisticsDialog::SpatialStatisticsDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| te::map::AbstractLayerPtr te::sa::SpatialStatisticsDialog::getOutputLayer | ( | ) |
Definition at line 115 of file SpatialStatisticsDialog.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::sa::SpatialStatisticsAction::onActionActivated().
|
protected |
Definition at line 414 of file SpatialStatisticsDialog.cpp.
References te::sa::GPMBuilder::build(), ds, file(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::sa::GPMBuilder::getGPM(), te::map::DataSetLayer::getSchema(), te::sa::SpatialWeightsExchanger::importFromGAL(), te::sa::SpatialWeightsExchanger::importFromGWT(), m_ui, and te::sa::GPMBuilder::setGPMInfo().
Referenced by onOkPushButtonClicked().
|
protectedslot |
Definition at line 149 of file SpatialStatisticsDialog.cpp.
References te::sa::SpatialWeightsExchanger::getSpatialWeightsFileInfo(), and m_ui.
|
protectedslot |
Definition at line 120 of file SpatialStatisticsDialog.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_ui, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by setLayers().
|
protectedslot |
Definition at line 183 of file SpatialStatisticsDialog.cpp.
References te::sa::AssociateGPMVertexAttribute(), te::sa::BoxMap(), te::sa::CreateLayer(), te::sa::CreateOGRDataSource(), ds, te::da::GetDataSource(), te::da::GetFirstGeomProperty(), te::sa::GlobalMoranSignificance(), te::sa::GStatistics(), te::sa::LISAMap(), te::sa::LisaStatisticalSignificance(), loadGPM(), te::sa::LocalMean(), m_outputDatasource, m_outputLayer, m_toFile, m_ui, te::sa::MoranIndex(), te::sa::MoranMap(), and te::sa::ZAndWZ().
|
protectedslot |
Definition at line 491 of file SpatialStatisticsDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
|
protectedslot |
Definition at line 513 of file SpatialStatisticsDialog.cpp.
| void te::sa::SpatialStatisticsDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 89 of file SpatialStatisticsDialog.cpp.
References m_ui, and onInputLayerComboBoxActivated().
Referenced by te::qt::plugins::sa::SpatialStatisticsAction::onActionActivated().
|
private |
Definition at line 91 of file SpatialStatisticsDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Generated Layer.
Definition at line 93 of file SpatialStatisticsDialog.h.
Referenced by getOutputLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 95 of file SpatialStatisticsDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 89 of file SpatialStatisticsDialog.h.
Referenced by loadGPM(), onGPMToolButtonClicked(), onInputLayerComboBoxActivated(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and setLayers().