Vertical and horizontal mirror for any image. More...
#include <Mirror.h>
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 |
Vertical and horizontal mirror for any image.
puma2::Mirror< T >::Mirror | ( | const bool | iVertical = true , |
const bool | iHorizontal = true |
||
) |
puma2::Mirror< T >::~Mirror | ( | ) | [virtual] |
void puma2::Mirror< T >::apply | ( | const T & | iImg, |
T & | oImg | ||
) | [virtual] |
Do the real work of the operator
iImg | The input image. |
oImg | The resulting outpout image. |
Implements puma2::ImageToImageOperator< T, T >.
bool puma2::Mirror< T >::getHorizontalEnabled | ( | ) | const [inline] |
bool puma2::Mirror< T >::getVerticalEnabled | ( | ) | const [inline] |
void puma2::Mirror< T >::setHorizontal | ( | const bool | iEnable = true | ) | [inline] |
void puma2::Mirror< T >::setVertical | ( | const bool | iEnable = true | ) | [inline] |
bool puma2::Mirror< T >::mHorizontal [private] |
bool puma2::Mirror< T >::mVertical [private] |