DiColorCopyTemplate< T > Class Template Reference

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

Inheritance diagram for DiColorCopyTemplate< T >:

DiColorPixelTemplate< T > DiColorPixel DiPixelRepresentationTemplate< T > DiPixel List of all members.

Public Member Functions

 DiColorCopyTemplate (const DiColorPixel *pixel, const unsigned long fstart, const unsigned long fcount, const unsigned long fsize)
 constructor
 ~DiColorCopyTemplate ()
 destructor

Private Member Functions

void copy (const T *pixel[3], const unsigned long offset)
 copy specified amount of pixel data

Detailed Description

template<class T>
class DiColorCopyTemplate< T >

Template class to copy color pixel data.

Definition at line 50 of file dicocpt.h.


Constructor & Destructor Documentation

template<class T>
DiColorCopyTemplate< T >::DiColorCopyTemplate const DiColorPixel pixel,
const unsigned long  fstart,
const unsigned long  fcount,
const unsigned long  fsize
[inline]
 

constructor

Parameters:
pixel pointer to color 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 63 of file dicocpt.h.

References DiColorCopyTemplate< T >::copy(), DiPixel::getCount(), and DiPixel::getData().


Member Function Documentation

template<class T>
void DiColorCopyTemplate< T >::copy const T *  pixel[3],
const unsigned long  offset
[inline, private]
 

copy specified amount of pixel data

Parameters:
pixel array of pixel data (3 color components) to be copied
offset offset to the first pixel to be copied

Definition at line 90 of file dicocpt.h.

References OFBitmanipTemplate< T >::copyMem(), and DiColorPixelTemplate< T >::Init().

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


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