Public Member Functions | Private Attributes
puma2::Mirror< T > Class Template Reference

Vertical and horizontal mirror for any image. More...

#include <Mirror.h>

Inheritance diagram for puma2::Mirror< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void apply (const T &iImg, T &oImg)
bool getHorizontalEnabled () const
bool getVerticalEnabled () const
 Mirror (const bool iVertical=true, const bool iHorizontal=true)
void setHorizontal (const bool iEnable=true)
void setVertical (const bool iEnable=true)
virtual ~Mirror ()

Private Attributes

bool mHorizontal
bool mVertical

Detailed Description

template<class T>
class puma2::Mirror< T >

Vertical and horizontal mirror for any image.

Author:
Tobias Feldmann, Peter Decker
Date:
Februar 2007

Definition at line 26 of file Mirror.h.


Constructor & Destructor Documentation

template<class T >
puma2::Mirror< T >::Mirror ( const bool  iVertical = true,
const bool  iHorizontal = true 
)

Default constructor.

Definition at line 82 of file Mirror.h.

template<class T >
puma2::Mirror< T >::~Mirror ( ) [virtual]

Destructor

Definition at line 88 of file Mirror.h.


Member Function Documentation

template<class T >
void puma2::Mirror< T >::apply ( const T &  iImg,
T &  oImg 
) [virtual]

Do the real work of the operator

Parameters:
iImgThe input image.
oImgThe resulting outpout image.

Implements puma2::ImageToImageOperator< T, T >.

Definition at line 91 of file Mirror.h.

template<class T >
bool puma2::Mirror< T >::getHorizontalEnabled ( ) const [inline]

Returns the mirror status for the horizontal axis

Returns:
true, if horizontal mirroring is enabled.

Definition at line 69 of file Mirror.h.

template<class T >
bool puma2::Mirror< T >::getVerticalEnabled ( ) const [inline]

Returns the mirror status for the vertical axis

Returns:
true, if vertical mirroring is enabled.

Definition at line 77 of file Mirror.h.

template<class T >
void puma2::Mirror< T >::setHorizontal ( const bool  iEnable = true) [inline]
Parameters:
iEnableEnables horizontal mirroring (default true)

Definition at line 61 of file Mirror.h.

template<class T >
void puma2::Mirror< T >::setVertical ( const bool  iEnable = true) [inline]
Parameters:
iEnableEnables vertical mirroring (default true)

Definition at line 54 of file Mirror.h.


Member Data Documentation

template<class T >
bool puma2::Mirror< T >::mHorizontal [private]

Definition at line 30 of file Mirror.h.

template<class T >
bool puma2::Mirror< T >::mVertical [private]

Definition at line 29 of file Mirror.h.


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


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:44