latest version v1.9 - last update 10 Apr 2010 |
The parameters for the class geometricTransform. More...
#include <ltiGeometricTransform.h>
Public Member Functions | |
void | invert () |
void | scale (const tpoint< double > &thefPoint) |
void | scale (const tpoint3D< double > &thefPoint) |
void | scale (const double &x) |
void | shift (const tpoint< double > &thefPoint) |
void | shift (const tpoint3D< double > &thefPoint) |
void | rotate (const vector< double > ¢er, const vector< double > &axis, const double &angle) |
void | rotate (const tpoint3D< double > ¢er, const tpoint3D< double > &axis, const double &angle) |
void | rotate (const double &angle) |
void | clear (void) |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
const char * | getTypeName () const |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
hMatrix3D< float > | transMatrix |
bool | keepDimensions |
eInterpolatorType | interpolator |
The parameters for the class geometricTransform.
lti::geometricTransform::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::modifier::parameters.
lti::geometricTransform::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
lti::geometricTransform::parameters::~parameters | ( | ) | [virtual] |
Destructor.
Reimplemented from lti::functor::parameters.
void lti::geometricTransform::parameters::clear | ( | void | ) |
virtual functor::parameters* lti::geometricTransform::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::modifier::parameters.
parameters& lti::geometricTransform::parameters::copy | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
Reimplemented from lti::modifier::parameters.
const char* lti::geometricTransform::parameters::getTypeName | ( | ) | const [virtual] |
Returns name of this type.
Reimplemented from lti::modifier::parameters.
void lti::geometricTransform::parameters::invert | ( | ) |
Invert the homogeneous transformation matrix.
parameters& lti::geometricTransform::parameters::operator= | ( | const parameters & | other | ) |
Copy the contents of a parameters object.
other | the parameters object to be copied |
virtual bool lti::geometricTransform::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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 lti::modifier::parameters.
void lti::geometricTransform::parameters::rotate | ( | const double & | angle | ) |
Special rotate function with the center set to the origin: The rotation axis is set to the z-axis.
void lti::geometricTransform::parameters::scale | ( | const double & | x | ) |
Special scale function with only one parameter for x, y and z scale
.
void lti::geometricTransform::parameters::scale | ( | const tpoint3D< double > & | thefPoint | ) |
void lti::geometricTransform::parameters::scale | ( | const tpoint< double > & | thefPoint | ) |
void lti::geometricTransform::parameters::shift | ( | const tpoint3D< double > & | thefPoint | ) |
This function adds the point to the translation vector.
void lti::geometricTransform::parameters::shift | ( | const tpoint< double > & | thefPoint | ) |
This function adds the point to the translation vector.
(z component assumed 0)
virtual bool lti::geometricTransform::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 lti::modifier::parameters.