LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::borderExtrema Class Reference

This functor extracts minimum and maximum positions along a border in terms of distance to a given center point. More...

#include <ltiBorderExtrema.h>

Inheritance diagram for lti::borderExtrema:
Inheritance graph
[legend]
Collaboration diagram for lti::borderExtrema:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class borderExtrema More...

Public Member Functions

 borderExtrema ()
 borderExtrema (const borderExtrema &other)
virtual ~borderExtrema ()
virtual const char * getTypeName () const
bool apply (const borderPoints &src, polygonPoints &min, polygonPoints &max) const
bool apply (const borderPoints &src, polygonPoints &minMax) const
borderExtremacopy (const borderExtrema &other)
virtual functorclone () const
const parametersgetParameters () const
virtual bool updateParameters ()

Detailed Description

This functor extracts minimum and maximum positions along a border in terms of distance to a given center point.

The extrema are saved in a polygonPoint either separate or in one List alternately as min, max, min, ... always starting with a minimum.


Constructor & Destructor Documentation

lti::borderExtrema::borderExtrema (  ) 

default constructor

lti::borderExtrema::borderExtrema ( const borderExtrema other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::borderExtrema::~borderExtrema (  )  [virtual]

destructor


Member Function Documentation

bool lti::borderExtrema::apply ( const borderPoints src,
polygonPoints minMax 
) const

operates on the given parameter.

Parameters:
src borderPoints with the source border
minMax the polygonPoints who take the extrema in order starting with a minima
Returns:
true if apply successful or false otherwise.
bool lti::borderExtrema::apply ( const borderPoints src,
polygonPoints min,
polygonPoints max 
) const

operates on the given parameter.

Parameters:
src borderPoints with the source border
min the polygonPoints who take the minima
max the polygonPoints who take the maxima
Returns:
true if apply successful or false otherwise
virtual functor* lti::borderExtrema::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

borderExtrema& lti::borderExtrema::copy ( const borderExtrema other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

const parameters& lti::borderExtrema::getParameters (  )  const

returns used parameters

Reimplemented from lti::modifier.

virtual const char* lti::borderExtrema::getTypeName (  )  const [virtual]

returns the name of this type ("borderExtrema")

Reimplemented from lti::modifier.

virtual bool lti::borderExtrema::updateParameters (  )  [virtual]

sets the functor's parameters.

Reimplemented from lti::functor.


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

Generated on Sat Apr 10 15:27:03 2010 for LTI-Lib by Doxygen 1.6.1