Image Component Library (ICL)
|
Class to mirror images vertically or horizontally \. More...
#include <MirrorOp.h>
Public Member Functions | |
MirrorOp (core::axis eAxis) | |
Constructor. | |
virtual | ~MirrorOp () |
Destructor. | |
void | apply (const core::ImgBase *poSrc, core::ImgBase **ppoDst) |
Applies the mirror transform to the images. | |
Private Member Functions | |
template<typename T > | |
void | mirror (const core::ImgBase *poSrc, core::ImgBase *poDst) |
Private Attributes | |
void(MirrorOp::* | m_aMethods [core::depthLast+1])(const core::ImgBase *poSrc, core::ImgBase *poDst) |
array of class methods used to transform depth8u and depth32f images | |
core::axis | m_eAxis |
utils::Size | m_oSize |
utils::Point | m_oSrcOffset |
utils::Point | m_oDstOffset |
Class to mirror images vertically or horizontally \.
Constructor.
eAxis | the axis on which the mirroring is performed |
virtual icl::filter::MirrorOp::~MirrorOp | ( | ) | [inline, virtual] |
Destructor.
void icl::filter::MirrorOp::apply | ( | const core::ImgBase * | poSrc, |
core::ImgBase ** | ppoDst | ||
) | [virtual] |
Applies the mirror transform to the images.
Implements icl::filter::UnaryOp.
void icl::filter::MirrorOp::mirror | ( | const core::ImgBase * | poSrc, |
core::ImgBase * | poDst | ||
) | [private] |
void(MirrorOp::* icl::filter::MirrorOp::m_aMethods[core::depthLast+1])(const core::ImgBase *poSrc, core::ImgBase *poDst) [private] |
array of class methods used to transform depth8u and depth32f images
core::axis icl::filter::MirrorOp::m_eAxis [private] |
utils::Size icl::filter::MirrorOp::m_oSize [private] |