All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rp::Classifier::InputParameters Class Reference

Classifier input parameters. More...

#include <Classifier.h>

Inheritance diagram for te::rp::Classifier::InputParameters:
te::rp::AlgorithmInputParameters te::common::AbstractParameters

Public Member Functions

te::common::AbstractParametersclone () 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::InputParametersoperator= (const Classifier::InputParameters &params)
 
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

StrategyParametersm_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...
 

Detailed Description

Classifier input parameters.

Definition at line 74 of file Classifier.h.

Constructor & Destructor Documentation

te::rp::Classifier::InputParameters::InputParameters ( )

Default constructor.

Definition at line 41 of file Classifier.cpp.

References reset().

te::rp::Classifier::InputParameters::InputParameters ( const InputParameters rhs)

Copy constructor.

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

Member Function Documentation

te::common::AbstractParameters * te::rp::Classifier::InputParameters::clone ( ) const
virtual

Create a clone copy of this instance.

Returns
A clone copy of this instance.
Note
The caller will take the ownership of the returned pointer.

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)
void te::rp::Classifier::InputParameters::reset ( )
throw (te::rp::Exception
)
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.

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

Member Data Documentation

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
te::rst::Raster const* te::rp::Classifier::InputParameters::m_inputRasterPtr
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=().


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