CVR-Lib last update 20 Sep 2009

cvr::affineLocation Class Reference

The affineLocation class is simply used to store the parameters associated with an affine location. More...

#include <cvrAffineLocation.h>

Inheritance diagram for cvr::affineLocation:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 affineLocation ()
 affineLocation (const affineLocation &other)
 ~affineLocation ()
affineLocationcopy (const affineLocation &other)
affineLocationoperator= (const affineLocation &other)
bool operator== (const affineLocation &p)
bool operator!= (const affineLocation &p)
float affineOrientation () const

Public Attributes

matrix< float > transMatrix


Detailed Description

The affineLocation class is simply used to store the parameters associated with an affine location.

The only difference between cvr::affineLocation and cvr::location is an additional transformation Matrix associated with the affine location.


Constructor & Destructor Documentation

cvr::affineLocation::affineLocation (  ) 

Default constructor.

cvr::affineLocation::affineLocation ( const affineLocation other  ) 

Copy constructor.

Parameters:
other the object to be copied

cvr::affineLocation::~affineLocation (  ) 

Destructor.


Member Function Documentation

float cvr::affineLocation::affineOrientation (  )  const

Return the orientation of the major axis of shape description (transMatrix).

For a perfect circle 0 is returned. Due to the symmetry the range is [0;Pi].

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

Copy data of "other" functor.

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

bool cvr::affineLocation::operator!= ( const affineLocation p  ) 

operator !=

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

Alias for copy member.

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

bool cvr::affineLocation::operator== ( const affineLocation p  ) 

operator ==


Member Data Documentation

The affine transformation matrix.

Default: identity


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

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