te::qt::widgets::PCAWizard Class Reference

#include <PCAWizard.h>

Inheritance diagram for te::qt::widgets::PCAWizard:
QWizard

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

PCAWizardoperator= (const PCAWizard &rhs)
 
 PCAWizard (const PCAWizard &rhs)
 

Private Attributes

std::unique_ptr< te::qt::widgets::LayerSearchWizardPagem_layerSearchPage
 The wizard page used to select an input layer. More...
 
te::map::AbstractLayerPtr m_outputLayer
 
std::unique_ptr< te::qt::widgets::RasterInfoWizardPagem_rasterInfoPage
 The wizard page used to define the output layer parameters. More...
 
std::unique_ptr< te::qt::widgets::PCAWizardPagem_wizardPage
 The wizard page used to define the PCA parameters. More...
 

Detailed Description

Definition at line 46 of file PCAWizard.h.

Constructor & Destructor Documentation

te::qt::widgets::PCAWizard::PCAWizard ( QWidget parent = 0)
te::qt::widgets::PCAWizard::~PCAWizard ( )
default

Destructor.

Referenced by PCAWizard().

te::qt::widgets::PCAWizard::PCAWizard ( const PCAWizard rhs)
private

Member Function Documentation

void te::qt::widgets::PCAWizard::addPages ( )
protected

Definition at line 112 of file PCAWizard.cpp.

References m_layerSearchPage, m_rasterInfoPage, and m_wizardPage.

Referenced by PCAWizard().

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().

void te::qt::widgets::PCAWizard::onPageChanged ( int  index)
protectedslot

Definition at line 333 of file PCAWizard.cpp.

Referenced by PCAWizard().

PCAWizard& te::qt::widgets::PCAWizard::operator= ( const PCAWizard rhs)
private
void te::qt::widgets::PCAWizard::setLayer ( te::map::AbstractLayerPtr  layer)

This function sets the layer that contains the raster that will be sliced.

Parameters
layerThe 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.

Parameters
layerListThe 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.

Returns
A boolean that indicates if the current page's configuration is finished.

Definition at line 72 of file PCAWizard.cpp.

References execute(), m_layerSearchPage, m_rasterInfoPage, and m_wizardPage.

Member Data Documentation

std::unique_ptr<te::qt::widgets::LayerSearchWizardPage> te::qt::widgets::PCAWizard::m_layerSearchPage
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().

te::map::AbstractLayerPtr te::qt::widgets::PCAWizard::m_outputLayer
private

Definition at line 108 of file PCAWizard.h.

Referenced by execute(), and getOutputLayer().

std::unique_ptr<te::qt::widgets::RasterInfoWizardPage> te::qt::widgets::PCAWizard::m_rasterInfoPage
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().

std::unique_ptr<te::qt::widgets::PCAWizardPage> te::qt::widgets::PCAWizard::m_wizardPage
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().


The documentation for this class was generated from the following files: