te::rp::TiePointsLocator Class Reference

Tie points locator. More...

#include <TiePointsLocator.h>

Inheritance diagram for te::rp::TiePointsLocator:
te::rp::Algorithm

Classes

class  OutputParameters
 TiePointsLocator output parameters. More...
 

Public Types

typedef TiePointsLocatorInputParameters InputParameters
 

Public Member Functions

bool execute (AlgorithmOutputParameters &outputParams) throw ( te::rp::Exception )
 Executes the algorithm using the supplied parameters. More...
 
const std::string & getErrorMessage () const
 Return the current error message if there is any. More...
 
bool initialize (const AlgorithmInputParameters &inputParams) throw ( te::rp::Exception )
 Initialize the algorithm instance making it ready for execution. More...
 
bool isInitialized () const
 Returns true if the algorithm instance is initialized and ready for execution. More...
 
void reset () throw ( te::rp::Exception )
 Clear all internal allocated objects and reset the algorithm to its initial state. More...
 
 TiePointsLocator ()
 
 ~TiePointsLocator ()
 

Protected Member Functions

void convertMatchedInterestPoints2TiePoints (const te::rp::TiePointsLocatorStrategy::MatchedInterestPointsSetT &matchedInterestPoints, std::vector< te::gm::GTParameters::TiePoint > &tiePoints, std::vector< double > &tiePointsWeights)
 Convert matched interest points to tie-points. More...
 
void setErrorMessage (const std::string &newErrorMessage)
 Set the current error message. More...
 

Protected Attributes

TiePointsLocator::InputParameters m_inputParameters
 TiePointsLocator input execution parameters. More...
 
bool m_isInitialized
 Tells if this instance is initialized. More...
 

Detailed Description

Tie points locator.

Designed to find tie-points inside raster areas.

Definition at line 47 of file TiePointsLocator.h.

Member Typedef Documentation

◆ InputParameters

Constructor & Destructor Documentation

◆ TiePointsLocator()

te::rp::TiePointsLocator::TiePointsLocator ( )

◆ ~TiePointsLocator()

te::rp::TiePointsLocator::~TiePointsLocator ( )

Member Function Documentation

◆ convertMatchedInterestPoints2TiePoints()

void te::rp::TiePointsLocator::convertMatchedInterestPoints2TiePoints ( const te::rp::TiePointsLocatorStrategy::MatchedInterestPointsSetT matchedInterestPoints,
std::vector< te::gm::GTParameters::TiePoint > &  tiePoints,
std::vector< double > &  tiePointsWeights 
)
protected

Convert matched interest points to tie-points.

Parameters
matchedInterestPointsThe matched interest points.
tiePointsThe generated tie-points.
tiePointsWeightsThe generated tie-points weights.

◆ execute()

bool te::rp::TiePointsLocator::execute ( AlgorithmOutputParameters outputParams)
throw (te::rp::Exception
)
virtual

Executes the algorithm using the supplied parameters.

Parameters
outputParamsOutput parameters.
Returns
true if OK, false on errors.
Note
A return error string can be obtained via Algorithm::getErrorMessage()

Implements te::rp::Algorithm.

◆ getErrorMessage()

const std::string& te::rp::Algorithm::getErrorMessage ( ) const
inherited

Return the current error message if there is any.

Returns
Return the current error message if there is any.

◆ initialize()

bool te::rp::TiePointsLocator::initialize ( const AlgorithmInputParameters inputParams)
throw (te::rp::Exception
)
virtual

Initialize the algorithm instance making it ready for execution.

Parameters
inputParamsInput parameters.
Returns
true if OK, false on errors.
Note
A return error string can be obtained via Algorithm::getErrorMessage()

Implements te::rp::Algorithm.

◆ isInitialized()

bool te::rp::TiePointsLocator::isInitialized ( ) const
virtual

Returns true if the algorithm instance is initialized and ready for execution.

Returns
true if the algorithm instance is initialized and ready for execution.

Implements te::rp::Algorithm.

◆ reset()

void te::rp::TiePointsLocator::reset ( )
throw (te::rp::Exception
)
virtual

Clear all internal allocated objects and reset the algorithm to its initial state.

Reimplemented from te::rp::Algorithm.

◆ setErrorMessage()

void te::rp::Algorithm::setErrorMessage ( const std::string &  newErrorMessage)
protectedinherited

Set the current error message.

Parameters
newErrorMessageNew error message;

Member Data Documentation

◆ m_inputParameters

TiePointsLocator::InputParameters te::rp::TiePointsLocator::m_inputParameters
protected

TiePointsLocator input execution parameters.

Definition at line 104 of file TiePointsLocator.h.

◆ m_isInitialized

bool te::rp::TiePointsLocator::m_isInitialized
protected

Tells if this instance is initialized.

Definition at line 106 of file TiePointsLocator.h.


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