| DCMTK Version 3.6.9
    OFFIS DICOM Toolkit | 
Abstract base class to create monochrome output data. More...
 Inheritance diagram for DiMonoOutputPixel:
 Inheritance diagram for DiMonoOutputPixel:| Public Member Functions | |
| DiMonoOutputPixel (const DiMonoPixel *pixel, const unsigned long size, const unsigned long frame, const unsigned long max) | |
| constructor | |
| virtual | ~DiMonoOutputPixel () | 
| destructor | |
| virtual EP_Representation | getRepresentation () const =0 | 
| get integer representation (abstract) | |
| virtual const void * | getData () const =0 | 
| get pointer to output pixel data (abstract) | |
| virtual void * | getDataPtr ()=0 | 
| get pointer to output pixel data (abstract) | |
| virtual void | removeDataReference ()=0 | 
| remove reference to (internally handled) pixel data (abstract) | |
| virtual size_t | getItemSize () const =0 | 
| get size of one pixel / item in the pixel array (abstract) | |
| virtual int | writePPM (STD_NAMESPACE ostream &stream) const =0 | 
| write pixel data of selected frame to PPM/ASCII file (abstract) | |
| virtual int | writePPM (FILE *stream) const =0 | 
| write pixel data of selected frame to PPM/ASCII file (abstract) | |
| unsigned long | getCount () const | 
| get number of pixel per frame | |
| int | isUnused (const unsigned long value) | 
| check whether specified pixel value is used in the image. | |
| Protected Member Functions | |
| virtual void | determineUsedValues ()=0 | 
| examine which pixel values are actually used (abstract) | |
Abstract base class to create monochrome output data.
| DiMonoOutputPixel::DiMonoOutputPixel | ( | const DiMonoPixel * | pixel, | 
| const unsigned long | size, | ||
| const unsigned long | frame, | ||
| const unsigned long | max ) | 
constructor
| pixel | pointer to intermediate pixel representation | 
| size | number of pixel per frame | 
| frame | frame to be rendered | 
| max | maximum output value | 
Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::DiMonoOutputPixelTemplate().
| 
 | inline | 
get number of pixel per frame
References FrameSize.
Referenced by DiMonoOutputPixelTemplate< T1, T2, T3 >::overlay().
| 
 | pure virtual | 
get pointer to output pixel data (abstract)
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.
| 
 | pure virtual | 
get pointer to output pixel data (abstract)
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.
| 
 | pure virtual | 
get size of one pixel / item in the pixel array (abstract)
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.
| 
 | pure virtual | 
get integer representation (abstract)
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.
| int DiMonoOutputPixel::isUnused | ( | const unsigned long | value | ) | 
check whether specified pixel value is used in the image.
Pixel array is examined when this method is called for the first time (just-in-time creation / create on demand of the supporting table).
| value | pixel value to be checked | 
| 
 | pure virtual | 
write pixel data of selected frame to PPM/ASCII file (abstract)
| stream | open C file stream | 
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.
| 
 | pure virtual | 
write pixel data of selected frame to PPM/ASCII file (abstract)
| stream | open C++ output stream | 
Implemented in DiMonoOutputPixelTemplate< T1, T2, T3 >.