Classifier input parameters. More...
#include <Classifier.h>
Public Member Functions | |
te::common::AbstractParameters * | clone () const |
Create a clone copy of this instance. More... | |
StrategyParameters const * | getClassifierStrategyParams () const |
Returns a pointer to the internal specific classifier strategy parameters, or null if no parameters are present. More... | |
InputParameters () | |
Default constructor. More... | |
InputParameters (const InputParameters &rhs) | |
Copy constructor. More... | |
const Classifier::InputParameters & | operator= (const Classifier::InputParameters ¶ms) |
void | reset () throw (te::rp::Exception) |
Clear all internal allocated resources and reset the parameters instance to its initial state. More... | |
void | setClassifierStrategyParams (const StrategyParameters &p) |
Set specific classifier strategy parameters. More... | |
~InputParameters () | |
Public Attributes | |
StrategyParameters * | m_classifierStrategyParamsPtr |
Internal specific classifier strategy parameters. More... | |
std::vector< te::gm::Polygon * > | m_inputPolygons |
The polygons to be classified when using object-based image analysis (OBIA). More... | |
std::vector< unsigned int > | m_inputRasterBands |
Bands to be processed from the input raster. More... | |
te::rst::Raster const * | m_inputRasterPtr |
Input raster. More... | |
std::string | m_strategyName |
The classifier strategy name see each te::rp::ClassifierStrategyFactory inherited classes documentation for reference. More... | |
Classifier input parameters.
Definition at line 74 of file Classifier.h.
te::rp::Classifier::InputParameters::InputParameters | ( | ) |
te::rp::Classifier::InputParameters::InputParameters | ( | const InputParameters & | rhs | ) |
Copy constructor.
rhs | The right-hand side Raster. |
Definition at line 47 of file Classifier.cpp.
References operator=(), and reset().
te::rp::Classifier::InputParameters::~InputParameters | ( | ) |
Definition at line 55 of file Classifier.cpp.
References te::rp::Classifier::reset().
|
virtual |
Create a clone copy of this instance.
Implements te::common::AbstractParameters.
Definition at line 104 of file Classifier.cpp.
te::rp::StrategyParameters const * te::rp::Classifier::InputParameters::getClassifierStrategyParams | ( | ) | const |
Returns a pointer to the internal specific classifier strategy parameters, or null if no parameters are present.
Definition at line 71 of file Classifier.cpp.
const te::rp::Classifier::InputParameters & te::rp::Classifier::InputParameters::operator= | ( | const Classifier::InputParameters & | params | ) |
Definition at line 90 of file Classifier.cpp.
References m_classifierStrategyParamsPtr, m_inputPolygons, m_inputRasterBands, m_inputRasterPtr, m_strategyName, and te::rp::Classifier::reset().
Referenced by InputParameters().
|
virtual |
Clear all internal allocated resources and reset the parameters instance to its initial state.
Implements te::common::AbstractParameters.
Definition at line 76 of file Classifier.cpp.
Referenced by InputParameters().
void te::rp::Classifier::InputParameters::setClassifierStrategyParams | ( | const StrategyParameters & | p | ) |
Set specific classifier strategy parameters.
p | The specific classifier strategy parameters. |
Definition at line 60 of file Classifier.cpp.
References te::common::AbstractParameters::clone().
Referenced by te::qt::widgets::ClassifierWizardPage::getInputParams(), and te::qt::widgets::ClassifierDialog::on_okPushButton_clicked().
StrategyParameters* te::rp::Classifier::InputParameters::m_classifierStrategyParamsPtr |
Internal specific classifier strategy parameters.
Definition at line 117 of file Classifier.h.
Referenced by operator=().
std::vector<te::gm::Polygon*> te::rp::Classifier::InputParameters::m_inputPolygons |
The polygons to be classified when using object-based image analysis (OBIA).
Definition at line 115 of file Classifier.h.
Referenced by te::qt::widgets::ClassifierWizardPage::getInputParams(), te::rp::Classifier::initialize(), te::qt::widgets::ClassifierDialog::on_okPushButton_clicked(), and operator=().
std::vector<unsigned int> te::rp::Classifier::InputParameters::m_inputRasterBands |
Bands to be processed from the input raster.
Definition at line 114 of file Classifier.h.
Referenced by te::qt::widgets::ClassifierWizardPage::getInputParams(), te::rp::Classifier::initialize(), te::qt::widgets::ClassifierDialog::on_okPushButton_clicked(), and operator=().
te::rst::Raster const* te::rp::Classifier::InputParameters::m_inputRasterPtr |
Input raster.
Definition at line 113 of file Classifier.h.
Referenced by te::qt::widgets::ClassifierWizard::execute(), te::rp::Classifier::initialize(), te::qt::widgets::ClassifierDialog::on_okPushButton_clicked(), and operator=().
std::string te::rp::Classifier::InputParameters::m_strategyName |
The classifier strategy name see each te::rp::ClassifierStrategyFactory inherited classes documentation for reference.
Definition at line 116 of file Classifier.h.
Referenced by te::qt::widgets::ClassifierWizardPage::getInputParams(), te::qt::widgets::ClassifierDialog::on_okPushButton_clicked(), and operator=().