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 53 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 69 of file dimoflt.h.

References DicomImageClass::checkDebugLevel(), DicomImageClass::DL_Warnings, 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 107 of file dimoflt.h.

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


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


Generated on 20 Dec 2005 for OFFIS DCMTK Version 3.5.4 by Doxygen 1.4.5