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

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

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

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 46 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:
pixelpointer to color intermediate representation of pixel data
fstartfirst frame to be copied
fcountnumber of frames to be copied
fsizesize of one frame (in bytes)

Definition at line 59 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:
pixelarray of pixel data (3 color components) to be copied
offsetoffset to the first pixel to be copied

Definition at line 86 of file dicocpt.h.

References DiColorPixelTemplate< T >::Data, DiPixel::getCount(), and DiColorPixelTemplate< T >::Init().

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


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


Generated on Sun Dec 4 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.4