#include <PCAWizardPage.h>
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::Raster > | m_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 | |
| PCAWizardPage & | operator= (const PCAWizardPage &rhs) |
| PCAWizardPage (const PCAWizardPage &rhs) | |
Definition at line 54 of file PCAWizardPage.h.
| te::qt::widgets::PCAWizardPage::PCAWizardPage | ( | QWidget * | parent = 0 | ) |
Constructor.
Definition at line 41 of file PCAWizardPage.cpp.
References inversePCACheckBoxToggled(), loadPCAMatrixFilePushButtonClicked(), m_ui, and ~PCAWizardPage().
|
default |
Destructor.
Referenced by PCAWizardPage().
|
private |
| std::string te::qt::widgets::PCAWizardPage::getMatrixFileName | ( | ) | const |
This function returns the bands from the raster taht will be used.
Definition at line 84 of file PCAWizardPage.cpp.
References m_ui.
| int te::qt::widgets::PCAWizardPage::getOutputRasterDataType | ( | ) | const |
This function returns the output raster data type.
Definition at line 89 of file PCAWizardPage.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, m_ui, te::dt::UCHAR_TYPE, te::dt::UINT16_TYPE, and te::dt::UINT32_TYPE.
| std::vector< unsigned int > te::qt::widgets::PCAWizardPage::getSelectedBands | ( | ) | const |
This function returns the bands from the raster taht will be used.
Definition at line 66 of file PCAWizardPage.cpp.
References m_ui.
|
protectedslot |
| bool te::qt::widgets::PCAWizardPage::inversePCASelected | ( | ) | const |
Returnes true the inverse PCA option is selected.
Definition at line 175 of file PCAWizardPage.cpp.
References m_ui.
| 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.
| A | boolean that indicates if the page is complete. |
Definition at line 153 of file PCAWizardPage.cpp.
References m_ui.
|
protectedslot |
|
private |
| void te::qt::widgets::PCAWizardPage::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 123 of file PCAWizardPage.cpp.
References band, ds, te::da::GetFirstPropertyPos(), m_raster, m_rasterLayer, m_ui, and te::dt::RASTER_TYPE.
|
protected |
The raster that will be processed.
Definition at line 114 of file PCAWizardPage.h.
Referenced by setLayer().
|
protected |
Testing a better way to show the chart.
Definition at line 115 of file PCAWizardPage.h.
Referenced by setLayer().
|
protected |
The wizard page form.
Definition at line 113 of file PCAWizardPage.h.
Referenced by getMatrixFileName(), getOutputRasterDataType(), getSelectedBands(), inversePCACheckBoxToggled(), inversePCASelected(), isComplete(), loadPCAMatrixFilePushButtonClicked(), PCAWizardPage(), and setLayer().