#include <BayesLocalDialog.h>
Public Member Functions | |
BayesLocalDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
te::map::AbstractLayerPtr | getOutputLayer () |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
~BayesLocalDialog () | |
Protected Slots | |
void | onGPMToolButtonClicked () |
void | onInputLayerComboBoxActivated (int index) |
void | onOkPushButtonClicked () |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
void | fillRateCorrection () |
std::auto_ptr< te::sa::GeneralizedProximityMatrix > | loadGPM () |
Private Attributes | |
te::da::DataSourceInfoPtr | m_outputDatasource |
te::map::AbstractLayerPtr | m_outputLayer |
Generated Layer. More... | |
bool | m_toFile |
std::auto_ptr< Ui::BayesLocalDialogForm > | m_ui |
Definition at line 49 of file BayesLocalDialog.h.
te::sa::BayesLocalDialog::BayesLocalDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 63 of file BayesLocalDialog.cpp.
References fillRateCorrection(), m_ui, onGPMToolButtonClicked(), onInputLayerComboBoxActivated(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
te::sa::BayesLocalDialog::~BayesLocalDialog | ( | ) |
Definition at line 88 of file BayesLocalDialog.cpp.
|
protected |
Definition at line 350 of file BayesLocalDialog.cpp.
Referenced by BayesLocalDialog().
te::map::AbstractLayerPtr te::sa::BayesLocalDialog::getOutputLayer | ( | ) |
Definition at line 118 of file BayesLocalDialog.cpp.
Referenced by te::qt::plugins::sa::BayesLocalAction::onActionActivated().
|
protected |
Definition at line 362 of file BayesLocalDialog.cpp.
References te::sa::GPMBuilder::build(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::map::DataSetLayer::getSchema(), te::sa::SpatialWeightsExchanger::importFromGAL(), te::sa::SpatialWeightsExchanger::importFromGWT(), and te::sa::GPMBuilder::setGPMInfo().
|
protectedslot |
Definition at line 316 of file BayesLocalDialog.cpp.
References te::sa::SpatialWeightsExchanger::getSpatialWeightsFileInfo().
Referenced by BayesLocalDialog().
|
protectedslot |
Definition at line 123 of file BayesLocalDialog.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, te::dt::UINT16_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
Referenced by BayesLocalDialog().
|
protectedslot |
Definition at line 154 of file BayesLocalDialog.cpp.
References te::common::ProgressManager::addViewer(), te::sa::CreateBayesGrouping(), te::sa::CreateLayer(), te::sa::CreateOGRDataSource(), te::sa::BayesLocalOperation::execute(), te::da::GetDataSource(), te::common::Singleton< ProgressManager >::getInstance(), te::sa::BayesInputParams::m_ds, te::sa::BayesOutputParams::m_ds, te::sa::BayesInputParams::m_dsType, te::sa::BayesInputParams::m_eventAttrName, te::sa::BayesInputParams::m_gpm, te::sa::BayesInputParams::m_gpmAttrLink, te::sa::BayesOutputParams::m_outputDataSetName, te::sa::BayesInputParams::m_populationAttrName, te::sa::BayesInputParams::m_rate, te::common::ProgressManager::removeViewer(), and te::sa::BayesLocalOperation::setParameters().
Referenced by BayesLocalDialog().
|
protectedslot |
Definition at line 273 of file BayesLocalDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by BayesLocalDialog().
|
protectedslot |
Definition at line 295 of file BayesLocalDialog.cpp.
Referenced by BayesLocalDialog().
void te::sa::BayesLocalDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 92 of file BayesLocalDialog.cpp.
Referenced by te::qt::plugins::sa::BayesLocalAction::onActionActivated().
|
private |
Definition at line 90 of file BayesLocalDialog.h.
|
private |
Generated Layer.
Definition at line 92 of file BayesLocalDialog.h.
|
private |
Definition at line 94 of file BayesLocalDialog.h.
|
private |
Definition at line 88 of file BayesLocalDialog.h.
Referenced by BayesLocalDialog().