DiMonoCopyTemplate< T > Class Template Reference

Template class to copy monochrome pixel data. More...

Inheritance diagram for DiMonoCopyTemplate< T >:

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

Public Member Functions

 DiMonoCopyTemplate (const DiMonoPixel *pixel, const unsigned long fstart, const unsigned long fcount, const unsigned long fsize)
 constructor
 ~DiMonoCopyTemplate ()
 destructor

Private Member Functions

void copy (const T *pixel)
 copy specified amount of pixel data

Detailed Description

template<class T>
class DiMonoCopyTemplate< T >

Template class to copy monochrome pixel data.

Definition at line 47 of file dimocpt.h.


Constructor & Destructor Documentation

template<class T>
DiMonoCopyTemplate< T >::DiMonoCopyTemplate ( const DiMonoPixel pixel,
const unsigned long  fstart,
const unsigned long  fcount,
const unsigned long  fsize 
) [inline]

constructor

Parameters:
pixel pointer to monochrome intermediate representation of pixel data
fstart first frame to be copied
fcount number of frames to be copied
fsize size of one frame (in bytes)

Definition at line 60 of file dimocpt.h.

References DiMonoCopyTemplate< T >::copy(), DiMonoPixelTemplate< T >::determineMinMax(), DiPixel::getCount(), and DiPixel::getData().


Member Function Documentation

template<class T>
void DiMonoCopyTemplate< T >::copy ( const T *  pixel  )  [inline, private]

copy specified amount of pixel data

Parameters:
pixel array of pixel data to be copied

Definition at line 88 of file dimocpt.h.

References OFBitmanipTemplate< T >::copyMem(), DiMonoPixelTemplate< T >::Data, and DiPixel::getCount().

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


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