DiMonoFlipTemplate< T > Class Template Reference

Template class to flip monochrome images (on pixel data level) horizontally and vertically. More...

Inheritance diagram for DiMonoFlipTemplate< T >:

DiMonoPixelTemplate< T > DiFlipTemplate< T > DiMonoPixel DiPixelRepresentationTemplate< T > DiTransTemplate< T > DiPixel List of all members.

Public Member Functions

 DiMonoFlipTemplate (const DiMonoPixel *pixel, const Uint16 columns, const Uint16 rows, const Uint32 frames, const int horz, const int vert)
 constructor
 ~DiMonoFlipTemplate ()
 destructor

Private Member Functions

void flip (const T *pixel, const int horz, const int vert)
 choose flipping algorithm depending on given parameters

Detailed Description

template<class T>
class DiMonoFlipTemplate< T >

Template class to flip monochrome images (on pixel data level) horizontally and vertically.

Definition at line 49 of file dimoflt.h.


Constructor & Destructor Documentation

template<class T>
DiMonoFlipTemplate< T >::DiMonoFlipTemplate ( const DiMonoPixel pixel,
const Uint16  columns,
const Uint16  rows,
const Uint32  frames,
const int  horz,
const int  vert 
) [inline]

constructor

Parameters:
pixel pointer to intermediate pixel representation
columns number of columns
rows number of rows
frames number of frames
horz flip horizontally if true
vert flip vertically if true

Definition at line 65 of file dimoflt.h.

References DiMonoFlipTemplate< T >::flip(), DiPixel::getCount(), and DiPixel::getData().


Member Function Documentation

template<class T>
void DiMonoFlipTemplate< T >::flip ( const T *  pixel,
const int  horz,
const int  vert 
) [inline, private]

choose flipping algorithm depending on given parameters

Parameters:
pixel pointer to pixel data which should be flipped
horz flip horizontally if true
vert flip vertically if true

Definition at line 99 of file dimoflt.h.

References DiMonoPixelTemplate< T >::Data, DiFlipTemplate< T >::flipHorz(), DiFlipTemplate< T >::flipHorzVert(), DiFlipTemplate< T >::flipVert(), and DiPixel::getCount().

Referenced by DiMonoFlipTemplate< T >::DiMonoFlipTemplate().


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


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1