te::qt::widgets::PCAWizardPage Class Reference

#include <PCAWizardPage.h>

Inheritance diagram for te::qt::widgets::PCAWizardPage:

Public Member Functions

std::string getMatrixFileName () const
 This function returns the bands from the raster taht will be used. More...
 
int getOutputRasterDataType () const
 This function returns the output raster data type. More...
 
std::vector< unsigned int > getSelectedBands () const
 This function returns the bands from the raster taht will be used. More...
 
bool inversePCASelected () const
 Returnes true the inverse PCA option is selected. More...
 
bool isComplete () const
 
 PCAWizardPage (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...
 
 ~PCAWizardPage ()
 Destructor. More...
 

Protected Slots

void inversePCACheckBoxToggled (bool checked)
 
void loadPCAMatrixFilePushButtonClicked (bool checked)
 

Protected Attributes

std::unique_ptr< te::rst::Rasterm_raster
 The raster that will be processed. More...
 
te::map::AbstractLayerPtr m_rasterLayer
 Testing a better way to show the chart. More...
 
std::unique_ptr< Ui::PCAWizardPageForm > m_ui
 The wizard page form. More...
 

Private Member Functions

PCAWizardPageoperator= (const PCAWizardPage &rhs)
 
 PCAWizardPage (const PCAWizardPage &rhs)
 

Detailed Description

Definition at line 54 of file PCAWizardPage.h.

Constructor & Destructor Documentation

◆ PCAWizardPage() [1/2]

te::qt::widgets::PCAWizardPage::PCAWizardPage ( QWidget *  parent = 0)

Constructor.

◆ ~PCAWizardPage()

te::qt::widgets::PCAWizardPage::~PCAWizardPage ( )

Destructor.

◆ PCAWizardPage() [2/2]

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

Member Function Documentation

◆ getMatrixFileName()

std::string te::qt::widgets::PCAWizardPage::getMatrixFileName ( ) const

This function returns the bands from the raster taht will be used.

Returns
A vector of band indexes.

◆ getOutputRasterDataType()

int te::qt::widgets::PCAWizardPage::getOutputRasterDataType ( ) const

This function returns the output raster data type.

Returns
The output raster data type.

◆ getSelectedBands()

std::vector< unsigned int > te::qt::widgets::PCAWizardPage::getSelectedBands ( ) const

This function returns the bands from the raster taht will be used.

Returns
A vector of band indexes.

◆ inversePCACheckBoxToggled

void te::qt::widgets::PCAWizardPage::inversePCACheckBoxToggled ( bool  checked)
protectedslot

◆ inversePCASelected()

bool te::qt::widgets::PCAWizardPage::inversePCASelected ( ) const

Returnes true the inverse PCA option is selected.

Returns
Returnes true the inverse PCA option is selected.

◆ isComplete()

bool te::qt::widgets::PCAWizardPage::isComplete ( ) const

In order for this function to return true:

The color map taht will be used on the output layer can not be empty.

Parameters
Aboolean that indicates if the page is complete.

◆ loadPCAMatrixFilePushButtonClicked

void te::qt::widgets::PCAWizardPage::loadPCAMatrixFilePushButtonClicked ( bool  checked)
protectedslot

◆ operator=()

PCAWizardPage& te::qt::widgets::PCAWizardPage::operator= ( const PCAWizardPage rhs)
private

◆ setLayer()

void te::qt::widgets::PCAWizardPage::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.

Member Data Documentation

◆ m_raster

std::unique_ptr<te::rst::Raster> te::qt::widgets::PCAWizardPage::m_raster
protected

The raster that will be processed.

Definition at line 114 of file PCAWizardPage.h.

◆ m_rasterLayer

te::map::AbstractLayerPtr te::qt::widgets::PCAWizardPage::m_rasterLayer
protected

Testing a better way to show the chart.

Definition at line 115 of file PCAWizardPage.h.

◆ m_ui

std::unique_ptr<Ui::PCAWizardPageForm> te::qt::widgets::PCAWizardPage::m_ui
protected

The wizard page form.

Definition at line 113 of file PCAWizardPage.h.


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