last update 20 Sep 2009 |
#include <cvrSimilarityTransformation2D.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual const std::string & | name () const |
virtual parameters * | clone () const |
virtual parameters * | newInstance () 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 |
cvr::similarityTransformation2D::similarityTransformation2D::parameters::parameters | ( | ) |
cvr::similarityTransformation2D::similarityTransformation2D::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from cvr::functor::functor::parameters.
cvr::similarityTransformation2D::similarityTransformation2D::parameters::~parameters | ( | ) | [virtual] |
virtual parameters* cvr::similarityTransformation2D::similarityTransformation2D::parameters::clone | ( | ) | const [virtual] |
parameters& cvr::similarityTransformation2D::similarityTransformation2D::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
virtual const std::string& cvr::similarityTransformation2D::similarityTransformation2D::parameters::name | ( | ) | const [virtual] |
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.
other | the parameters object to be copied |
virtual bool cvr::similarityTransformation2D::similarityTransformation2D::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
Read the parameters from the given ioHandler.
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. |
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.
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. |
Reimplemented from cvr::parametersManager::parametersManager::parameters.
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