latest version v1.9 - last update 10 Apr 2010 |
This functor extracts minimum and maximum positions along a border in terms of distance to a given center point. More...
#include <ltiBorderExtrema.h>
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 |
borderExtrema & | copy (const borderExtrema &other) |
virtual functor * | clone () const |
const parameters & | getParameters () const |
virtual bool | updateParameters () |
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.
lti::borderExtrema::borderExtrema | ( | ) |
default constructor
lti::borderExtrema::borderExtrema | ( | const borderExtrema & | other | ) |
copy constructor
other | the object to be copied |
virtual lti::borderExtrema::~borderExtrema | ( | ) | [virtual] |
destructor
bool lti::borderExtrema::apply | ( | const borderPoints & | src, | |
polygonPoints & | minMax | |||
) | const |
operates on the given parameter.
src | borderPoints with the source border | |
minMax | the polygonPoints who take the extrema in order starting with a minima |
bool lti::borderExtrema::apply | ( | const borderPoints & | src, | |
polygonPoints & | min, | |||
polygonPoints & | max | |||
) | const |
operates on the given parameter.
src | borderPoints with the source border | |
min | the polygonPoints who take the minima | |
max | the polygonPoints who take the maxima |
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.
other | the functor to be copied |
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.