#include <PCAWizard.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getOutputLayer () |
| This function returns the layer that has been created by the wizard with the sliced raster. More... | |
| PCAWizard (QWidget *parent=0) | |
| Constructor. More... | |
| void | setLayer (te::map::AbstractLayerPtr layer) |
| This function sets the layer that contains the raster that will be sliced. More... | |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| This function sets the list of layers from which the raster that will be sliced will come from. More... | |
| bool | validateCurrentPage () |
| Overridden function that checks if the current page's configuration is done in order to proceed to the next page. More... | |
| ~PCAWizard () | |
| Destructor. More... | |
Protected Slots | |
| void | onPageChanged (int index) |
Protected Member Functions | |
| void | addPages () |
| bool | execute () |
Private Member Functions | |
| PCAWizard & | operator= (const PCAWizard &rhs) |
| PCAWizard (const PCAWizard &rhs) | |
Private Attributes | |
| std::unique_ptr< te::qt::widgets::LayerSearchWizardPage > | m_layerSearchPage |
| The wizard page used to select an input layer. More... | |
| te::map::AbstractLayerPtr | m_outputLayer |
| std::unique_ptr< te::qt::widgets::RasterInfoWizardPage > | m_rasterInfoPage |
| The wizard page used to define the output layer parameters. More... | |
| std::unique_ptr< te::qt::widgets::PCAWizardPage > | m_wizardPage |
| The wizard page used to define the PCA parameters. More... | |
Definition at line 46 of file PCAWizard.h.
| te::qt::widgets::PCAWizard::PCAWizard | ( | QWidget * | parent = 0 | ) |
Constructor.
Definition at line 50 of file PCAWizard.cpp.
References addPages(), onPageChanged(), te::qt::widgets::HelpPushButton::setPageReference(), and ~PCAWizard().
|
default |
Destructor.
Referenced by PCAWizard().
|
private |
|
protected |
Definition at line 112 of file PCAWizard.cpp.
References m_layerSearchPage, m_rasterInfoPage, and m_wizardPage.
Referenced by PCAWizard().
|
protected |
Definition at line 132 of file PCAWizard.cpp.
References col, te::qt::widgets::createLayer(), te::rp::DirectPrincipalComponents(), ds, te::da::GetFirstPropertyPos(), te::sa::Grid, te::rp::InversePrincipalComponents(), m_layerSearchPage, m_outputLayer, m_rasterInfoPage, m_wizardPage, te::rst::RasterFactory::make(), te::dt::RASTER_TYPE, and te::common::Tokenize().
Referenced by validateCurrentPage().
| te::map::AbstractLayerPtr te::qt::widgets::PCAWizard::getOutputLayer | ( | ) |
This function returns the layer that has been created by the wizard with the sliced raster.
A new AbstractLayerPtr containing the sliced raster.
Definition at line 107 of file PCAWizard.cpp.
References m_outputLayer.
Referenced by te::qt::plugins::rp::PCAAction::onPopUpActionActivated().
|
protectedslot |
Definition at line 333 of file PCAWizard.cpp.
Referenced by PCAWizard().
| void te::qt::widgets::PCAWizard::setLayer | ( | te::map::AbstractLayerPtr | layer | ) |
This function sets the layer that contains the raster that will be sliced.
| layer | The layer from which the raster will be obtained. |
Definition at line 127 of file PCAWizard.cpp.
References m_wizardPage.
Referenced by te::qt::plugins::rp::PCAAction::onPopUpActionActivated().
| void te::qt::widgets::PCAWizard::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
This function sets the list of layers from which the raster that will be sliced will come from.
| layerList | The list of AbstractLayerPtrs that will be used to get a raster from. |
Definition at line 101 of file PCAWizard.cpp.
References m_layerSearchPage.
| bool te::qt::widgets::PCAWizard::validateCurrentPage | ( | ) |
Overridden function that checks if the current page's configuration is done in order to proceed to the next page.
Definition at line 72 of file PCAWizard.cpp.
References execute(), m_layerSearchPage, m_rasterInfoPage, and m_wizardPage.
|
private |
The wizard page used to select an input layer.
Definition at line 104 of file PCAWizard.h.
Referenced by addPages(), execute(), setList(), and validateCurrentPage().
|
private |
Definition at line 108 of file PCAWizard.h.
Referenced by execute(), and getOutputLayer().
|
private |
The wizard page used to define the output layer parameters.
Definition at line 105 of file PCAWizard.h.
Referenced by addPages(), execute(), and validateCurrentPage().
|
private |
The wizard page used to define the PCA parameters.
Definition at line 103 of file PCAWizard.h.
Referenced by addPages(), execute(), setLayer(), and validateCurrentPage().