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

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

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

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:
pixelpointer to monochrome 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 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:
pixelarray of pixel data to be copied

Definition at line 88 of file dimocpt.h.

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

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


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


Generated on Thu May 24 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.7.6.1