CVR-Lib last update 20 Sep 2009

cvr::geometricTransformBase Class Reference
[Geometric Image Transformations]

Class geometricTransformBase. More...

#include <cvrGeometricTransform.h>

Inheritance diagram for cvr::geometricTransformBase:

Inheritance graph
[legend]
Collaboration diagram for cvr::geometricTransformBase:

Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 The parameters for the class geometricTransform. More...

Public Types

enum  eResizeMode { KeepDimensions, KeepOrigin, AdjustDimensions }

Public Member Functions

 geometricTransformBase ()
 geometricTransformBase (const parameters &par)
 geometricTransformBase (const geometricTransformBase &other)
virtual ~geometricTransformBase ()
geometricTransformBasecopy (const geometricTransformBase &other)
geometricTransformBaseoperator= (const geometricTransformBase &other)
virtual const std::string & name () const
virtual geometricTransformBaseclone () const =0
virtual geometricTransformBasenewInstance () const =0
const parametersgetParameters () const

Protected Member Functions

parametersgetParameters ()


Detailed Description

Class geometricTransformBase.

This is an abstract class parent of all functors that achieve geometric transformation of images, like affine or homogeneous transformations. It contains the basic parameters that are not template dependent.

See also:
geometricTransformBase::parameters.

Member Enumeration Documentation

Enumeration to specified how the dimensions of the resulting image has to be computed.

Enumerator:
KeepDimensions  Keep the dimensions of the original image, including the relative position of the origin.
KeepOrigin  Keep the origin relative position, but adjust the rest of the dimensions to hold the complete transformed image.
AdjustDimensions  Adjust the dimension of the resulting image to contain the whole transformed image.

This implies loosing the relative position of the origin.


Constructor & Destructor Documentation

cvr::geometricTransformBase::geometricTransformBase (  ) 

Default constructor.

cvr::geometricTransformBase::geometricTransformBase ( const parameters par  ) 

Construct a functor using the given parameters.

cvr::geometricTransformBase::geometricTransformBase ( const geometricTransformBase other  ) 

Copy constructor.

Parameters:
other the object to be copied

virtual cvr::geometricTransformBase::~geometricTransformBase (  )  [virtual]

Destructor.


Member Function Documentation

virtual geometricTransformBase* cvr::geometricTransformBase::clone (  )  const [pure virtual]

Returns a pointer to a clone of this functor.

Implements cvr::functor.

Implemented in cvr::geometricTransform< I >, cvr::matrixTransform< I >, and cvr::geometricTransform< I >.

geometricTransformBase& cvr::geometricTransformBase::copy ( const geometricTransformBase other  ) 

Copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

parameters& cvr::geometricTransformBase::getParameters (  )  [protected]

const parameters& cvr::geometricTransformBase::getParameters (  )  const

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

Returns the complete name of the functor class.

Implements cvr::functor.

Reimplemented in cvr::geometricTransform< I >, cvr::matrixTransform< I >, and cvr::geometricTransform< I >.

virtual geometricTransformBase* cvr::geometricTransformBase::newInstance (  )  const [pure virtual]

Returns a pointer to a new instance of this functor.

Implements cvr::functor.

Implemented in cvr::geometricTransform< I >, cvr::matrixTransform< I >, and cvr::geometricTransform< I >.

geometricTransformBase& cvr::geometricTransformBase::operator= ( const geometricTransformBase other  ) 

Alias for copy member.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object


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

Generated on Sun Sep 20 22:08:45 2009 for CVR-Lib by Doxygen 1.5.8