|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Abstract base class to create color output data. More...
Inheritance diagram for DiColorOutputPixel:Public Member Functions | |
| DiColorOutputPixel (const DiPixel *pixel, const unsigned long size, const unsigned long frame) | |
| constructor | |
| virtual | ~DiColorOutputPixel () |
| 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 const void * | getPlane (const int plane) const =0 |
| get pointer to given plane of output 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 | |
Protected Attributes | |
| unsigned long | Count |
| number of pixels per frame (intermediate representation) | |
| const unsigned long | FrameSize |
| number of pixels per frame (memory buffer size) | |
Abstract base class to create color output data.
| DiColorOutputPixel::DiColorOutputPixel | ( | const DiPixel * | pixel, |
| const unsigned long | size, | ||
| const unsigned long | frame ) |
constructor
| pixel | pointer to intermediate pixel representation |
| size | number of pixel per frame |
| frame | frame to be rendered |
Referenced by DiColorOutputPixelTemplate< T1, T2 >::DiColorOutputPixelTemplate(), and DiColorOutputPixelTemplate< T1, T2 >::DiColorOutputPixelTemplate().
|
inline |
|
pure virtual |
get pointer to output pixel data (abstract)
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
get pointer to output pixel data (abstract)
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
get size of one pixel / item in the pixel array (abstract)
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
get pointer to given plane of output pixel data (abstract)
| plane | number of the plane to be retrieved (0..2) |
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
get integer representation (abstract)
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
write pixel data of selected frame to PPM/ASCII file (abstract)
| stream | open C file stream |
Implemented in DiColorOutputPixelTemplate< T1, T2 >.
|
pure virtual |
write pixel data of selected frame to PPM/ASCII file (abstract)
| stream | open C++ output stream |
Implemented in DiColorOutputPixelTemplate< T1, T2 >.