| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
Abstract base class to handle pixel data. More...
 Inheritance diagram for DiPixel:
 Inheritance diagram for DiPixel:| Public Member Functions | |
| DiPixel (const unsigned long count, const unsigned long inputCount=0) | |
| constructor | |
| virtual | ~DiPixel () | 
| destructor | |
| virtual EP_Representation | getRepresentation () const =0 | 
| get integer representation (abstract) | |
| virtual int | getPlanes () const =0 | 
| get number of planes (abstract). | |
| virtual const void * | getData () const =0 | 
| get pointer to pixel data (abstract). | |
| virtual void * | getDataPtr ()=0 | 
| get pointer to pixel data (abstract). | |
| virtual void * | getDataArrayPtr ()=0 | 
| get pointer to array of pixel data (abstract). | |
| unsigned long | getCount () const | 
| get number of pixels | |
| unsigned long | getInputCount () const | 
| get number of pixels stored in the 'PixelData' element | |
| Protected Attributes | |
| unsigned long | Count | 
| number of pixels | |
| unsigned long | InputCount | 
| number of pixels in the input buffer | |
Abstract base class to handle pixel data.
| 
 | inline | 
constructor
| count | number of pixels stored in the buffer | 
| inputCount | number of pixels read from 'PixelData' attribute | 
References Count, and InputCount.
Referenced by DiMonoPixel::DiMonoPixel(), and DiMonoPixelTemplate< T >::DiMonoPixelTemplate().
| 
 | inline | 
get number of pixels
References Count.
Referenced by DiColorCopyTemplate< T >::DiColorCopyTemplate(), DiColorFlipTemplate< T >::DiColorFlipTemplate(), DiColorMonoTemplate< T >::DiColorMonoTemplate(), DiColorRotateTemplate< T >::DiColorRotateTemplate(), DiColorScaleTemplate< T >::DiColorScaleTemplate(), DiFlipTemplate< T >::DiFlipTemplate(), DiMonoCopyTemplate< T >::DiMonoCopyTemplate(), DiMonoFlipTemplate< T >::DiMonoFlipTemplate(), DiMonoRotateTemplate< T >::DiMonoRotateTemplate(), DiMonoScaleTemplate< T >::DiMonoScaleTemplate(), DiRotateTemplate< T >::DiRotateTemplate(), DiColorCopyTemplate< T >::copy(), DiMonoCopyTemplate< T >::copy(), DiMonoFlipTemplate< T >::flip(), DiMonoInputPixelTemplate< T1, T2, T3 >::modlut(), DiMonoInputPixelTemplate< T1, T2, T3 >::rescale(), DiMonoRotateTemplate< T >::rotate(), and DiMonoScaleTemplate< T >::scale().
| 
 | pure virtual | 
get pointer to pixel data (abstract).
NB: See implemented method in derived class for details.
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, DiMonoPixelTemplate< T >, and DiMonoPixelTemplate< T3 >.
Referenced by DiColorOutputPixelTemplate< T1, T2 >::DiColorOutputPixelTemplate(), DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::sigmoid(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window().
| 
 | pure virtual | 
get pointer to array of pixel data (abstract).
The number of planes in the returned array can be determined using 'getPlanes()'.
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, DiMonoPixelTemplate< T >, and DiMonoPixelTemplate< T3 >.
Referenced by DiFlipTemplate< T >::DiFlipTemplate(), and DiRotateTemplate< T >::DiRotateTemplate().
| 
 | pure virtual | 
get pointer to pixel data (abstract).
NB: See implemented method in derived class for details.
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, DiMonoPixelTemplate< T >, and DiMonoPixelTemplate< T3 >.
| 
 | inline | 
get number of pixels stored in the 'PixelData' element
References InputCount.
| 
 | pure virtual | 
get number of planes (abstract).
Implemented in DiColorPixel, and DiMonoPixel.
Referenced by DiFlipTemplate< T >::DiFlipTemplate(), and DiRotateTemplate< T >::DiRotateTemplate().
| 
 | pure virtual | 
get integer representation (abstract)
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, DiMonoPixelTemplate< T >, and DiMonoPixelTemplate< T3 >.