OFFIS DCMTK  Version 3.6.0
Public Member Functions | Private Member Functions
DiMonoRotateTemplate< T > Class Template Reference

Template class to rotate monochrome images (on pixel data level). More...

Inheritance diagram for DiMonoRotateTemplate< T >:
[legend]
Collaboration diagram for DiMonoRotateTemplate< T >:
[legend]

List of all members.

Public Member Functions

 DiMonoRotateTemplate (const DiMonoPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree)
 constructor
 ~DiMonoRotateTemplate ()
 destructor
 DiMonoRotateTemplate (const DiMonoPixel *pixel, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int degree)
 constructor
 ~DiMonoRotateTemplate ()
 destructor

Private Member Functions

void rotate (const T *pixel, const int degree)
 rotate pixel data
void rotate (const T *pixel, const int degree)
 rotate pixel data

Detailed Description

template<class T>
class DiMonoRotateTemplate< T >

Template class to rotate monochrome images (on pixel data level).

by steps of 90 degrees

Definition at line 48 of file dimorot.h.


Constructor & Destructor Documentation

template<class T >
DiMonoRotateTemplate< T >::DiMonoRotateTemplate ( const DiMonoPixel pixel,
const Uint16  src_cols,
const Uint16  src_rows,
const Uint16  dest_cols,
const Uint16  dest_rows,
const Uint32  frames,
const int  degree 
) [inline]

constructor

Parameters:
pixelpointer to intermediate pixel representation
src_colswidth of clipping area
src_rowsheight of clipping area
dest_colswidth of destination image (scaled image)
dest_rowsheight of destination image
framesnumber of frames
degreeangle by which the pixel data should be rotated

Definition at line 65 of file dimorot.h.

References DiPixel::getCount(), DiPixel::getData(), and DiMonoRotateTemplate< T >::rotate().

template<class T >
DiMonoRotateTemplate< T >::DiMonoRotateTemplate ( const DiMonoPixel pixel,
const Uint16  src_cols,
const Uint16  src_rows,
const Uint16  dest_cols,
const Uint16  dest_rows,
const Uint32  frames,
const int  degree 
) [inline]

constructor

Parameters:
pixelpointer to intermediate pixel representation
src_colswidth of clipping area
src_rowsheight of clipping area
dest_colswidth of destination image (scaled image)
dest_rowsheight of destination image
framesnumber of frames
degreeangle by which the pixel data should be rotated

Definition at line 65 of file dimorot.h.

References DiPixel::getCount(), DiPixel::getData(), and DiMonoRotateTemplate< T >::rotate().


Member Function Documentation

template<class T >
void DiMonoRotateTemplate< T >::rotate ( const T *  pixel,
const int  degree 
) [inline, private]

rotate pixel data

Parameters:
pixelpointer to pixel data to be rotated
degreeangle by which the pixel data should be rotated

Definition at line 99 of file dimorot.h.

References DiMonoPixelTemplate< T >::Data, DiPixel::getCount(), DiRotateTemplate< T >::rotateLeft(), DiRotateTemplate< T >::rotateRight(), and DiRotateTemplate< T >::rotateTopDown().

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

template<class T >
void DiMonoRotateTemplate< T >::rotate ( const T *  pixel,
const int  degree 
) [inline, private]

rotate pixel data

Parameters:
pixelpointer to pixel data to be rotated
degreeangle by which the pixel data should be rotated

Definition at line 99 of file dimorot.h.

References DiMonoPixelTemplate< T >::Data, DiPixel::getCount(), DiRotateTemplate< T >::rotateLeft(), DiRotateTemplate< T >::rotateRight(), and DiRotateTemplate< T >::rotateTopDown().


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


Generated on Fri Jun 1 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.6.1