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

lti::regionsPolygonizer::parameters Class Reference

the parameters for the class regionsPolygonizer More...

#include <ltiRegionsPolygonizer.h>

Inheritance diagram for lti::regionsPolygonizer::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::regionsPolygonizer::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
const char * getTypeName () const
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual functor::parametersclone () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

double maxPixelDistance
bool detectNeighbors

Detailed Description

the parameters for the class regionsPolygonizer


Constructor & Destructor Documentation

lti::regionsPolygonizer::parameters::parameters (  ) 

default constructor

Reimplemented from lti::functor::parameters.

lti::regionsPolygonizer::parameters::parameters ( const parameters other  ) 

copy constructor

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

destructor

Reimplemented from lti::functor::parameters.


Member Function Documentation

virtual functor::parameters* lti::regionsPolygonizer::parameters::clone (  )  const [virtual]

returns a pointer to a clone of the parameters

Implements lti::functor::parameters.

parameters& lti::regionsPolygonizer::parameters::copy ( const parameters other  ) 

copy the contents of a parameters object

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
const char* lti::regionsPolygonizer::parameters::getTypeName (  )  const [virtual]

returns name of this type

Reimplemented from lti::functor::parameters.

parameters& lti::regionsPolygonizer::parameters::operator= ( const parameters other  ) 

copy the contents of a parameters object

Parameters:
other the parameters object to be copied
Returns:
a reference to this parameters object
virtual bool lti::regionsPolygonizer::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

read the parameters from the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::functor::parameters.

virtual bool lti::regionsPolygonizer::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
handler the ioHandler to be used
complete if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written.
Returns:
true if write was successful

Reimplemented from lti::functor::parameters.


Member Data Documentation

Detect region changes.

If true, this flag indicates that the polygon approximation must contain as vertices those points where the neighbor region change, independently if the polygon approximation without them would also be good enough.

If false, only the border points of the region will be considered, ignoring the background.

Default value: true

When approximating a contour with a polygon, this is the maximum deviation allowed between the polygon sides and the contour.

Default value: 1


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

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