CVR-Lib last update 20 Sep 2009

cvr::similarityTransformation2D::similarityTransformation2D::parameters Class Reference

The parameters for the class similarityTransformation2D. More...

#include <cvrSimilarityTransformation2D.h>

Inheritance diagram for cvr::similarityTransformation2D::similarityTransformation2D::parameters:

Inheritance graph
[legend]
Collaboration diagram for cvr::similarityTransformation2D::similarityTransformation2D::parameters:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
 ~parameters ()
parameterscopy (const parameters &other)
parametersoperator= (const parameters &other)
virtual const std::string & name () const
virtual parametersclone () const
virtual parametersnewInstance () const
virtual bool write (ioHandler &handler, const bool complete=true) const
virtual bool read (ioHandler &handler, const bool complete=true)

Public Attributes

fpoint translation
float angle
float scaling
linearLeastSquares::parameters llsParameters


Detailed Description

The parameters for the class similarityTransformation2D.

Constructor & Destructor Documentation

cvr::similarityTransformation2D::similarityTransformation2D::parameters::parameters (  ) 

Default constructor.

Reimplemented from cvr::functor::functor::parameters.

cvr::similarityTransformation2D::similarityTransformation2D::parameters::parameters ( const parameters other  ) 

Copy constructor.

Parameters:
other the parameters object to be copied

Reimplemented from cvr::functor::functor::parameters.

cvr::similarityTransformation2D::similarityTransformation2D::parameters::~parameters (  )  [virtual]

Destructor.

Reimplemented from cvr::functor::functor::parameters.


Member Function Documentation

virtual parameters* cvr::similarityTransformation2D::similarityTransformation2D::parameters::clone (  )  const [virtual]

Returns a pointer to a clone of the parameters.

Implements cvr::functor::functor::parameters.

parameters& cvr::similarityTransformation2D::similarityTransformation2D::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

virtual const std::string& cvr::similarityTransformation2D::similarityTransformation2D::parameters::name (  )  const [virtual]

Returns the complete name of the parameters class.

Implements cvr::functor::functor::parameters.

virtual parameters* cvr::similarityTransformation2D::similarityTransformation2D::parameters::newInstance (  )  const [virtual]

Returns a pointer to a new instance of the parameters.

Implements cvr::functor::functor::parameters.

parameters& cvr::similarityTransformation2D::similarityTransformation2D::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 cvr::similarityTransformation2D::similarityTransformation2D::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 cvr::parametersManager::parametersManager::parameters.

virtual bool cvr::similarityTransformation2D::similarityTransformation2D::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 cvr::parametersManager::parametersManager::parameters.


Member Data Documentation

float cvr::similarityTransformation2D::similarityTransformation2D::parameters::angle

Magnitude of the rotation, provided in radians.

If the given value is greater than 2Pi then it is assumed to be given in degrees.

Default value: 0

linearLeastSquares::parameters cvr::similarityTransformation2D::similarityTransformation2D::parameters::llsParameters

Parameters used in the linearLeastSquares functor for the estimation tasks.

Default value: default

float cvr::similarityTransformation2D::similarityTransformation2D::parameters::scaling

Scaling.

Default value: 1.0f (no scaling)

fpoint cvr::similarityTransformation2D::similarityTransformation2D::parameters::translation

Magnitude of the translation in x and y directions.

Default value: 0


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

Generated on Sun Sep 20 22:09:04 2009 for CVR-Lib by Doxygen 1.5.8