DiARGBPixelTemplate< T1, T2, T3 > Class Template Reference

Template class to handle ARGB pixel data. More...

Inheritance diagram for DiARGBPixelTemplate< T1, T2, T3 >:

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

Public Member Functions

 DiARGBPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, DiLookupTable *palette[3], EI_Status &status, const unsigned long planeSize, const int bits)
 constructor
virtual ~DiARGBPixelTemplate ()
 destructor

Private Member Functions

void convert (const T1 *pixel, DiLookupTable *palette[3], const unsigned long planeSize, const int bits)
 convert input pixel data to intermediate representation

Detailed Description

template<class T1, class T2, class T3>
class DiARGBPixelTemplate< T1, T2, T3 >

Template class to handle ARGB pixel data.

Definition at line 46 of file diargpxt.h.


Constructor & Destructor Documentation

template<class T1, class T2, class T3>
DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate ( const DiDocument docu,
const DiInputPixel pixel,
DiLookupTable palette[3],
EI_Status &  status,
const unsigned long  planeSize,
const int  bits 
) [inline]

constructor

Parameters:
docu pointer to DICOM document
pixel pointer to input pixel representation
palette pointer to RGB color palette
status reference to status variable
planeSize number of pixels in a plane
bits number of bits per sample

Definition at line 61 of file diargpxt.h.

References DiARGBPixelTemplate< T1, T2, T3 >::convert(), DiInputPixel::getData(), and DiInputPixel::getPixelStart().


Member Function Documentation

template<class T1, class T2, class T3>
void DiARGBPixelTemplate< T1, T2, T3 >::convert ( const T1 *  pixel,
DiLookupTable palette[3],
const unsigned long  planeSize,
const int  bits 
) [inline, private]

convert input pixel data to intermediate representation

Parameters:
pixel pointer to input pixel data
palette pointer to RGB color palette
planeSize number of pixels in a plane
bits number of bits per sample

Definition at line 89 of file diargpxt.h.

References DiPixel::Count, DiColorPixelTemplate< T3 >::Data, DiColorPixelTemplate< T3 >::Init(), DiPixel::InputCount, and DicomImageClass::maxval().

Referenced by DiARGBPixelTemplate< T1, T2, T3 >::DiARGBPixelTemplate().


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