Inheritance diagram for DiColorPixel:
Public Member Functions | |
DiColorPixel (const DiDocument *docu, const DiInputPixel *pixel, const Uint16 samples, EI_Status &status, const Uint16 sample_rate=0) | |
constructor | |
virtual | ~DiColorPixel () |
destructor | |
int | getPlanes () const |
get number of planes | |
virtual OFBool | getPixelData (void *data, const size_t count) const =0 |
fill given memory block with pixel data (all three image planes, RGB). | |
virtual unsigned long | createDIB (void *&data, const unsigned long size, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits, const int mode, const int upsideDown, const int padding) const =0 |
create true color (24/32 bit) bitmap for MS Windows. | |
virtual unsigned long | createAWTBitmap (void *&data, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits) const =0 |
create true color (32 bit) bitmap for Java (AWT default format). | |
Protected Member Functions | |
DiColorPixel (const DiColorPixel *pixel, const unsigned long count) | |
constructor | |
Protected Attributes | |
int | PlanarConfiguration |
planar configuration of the original pixel data (0 = color-by-pixel, 1 = color-by-plane) |
Definition at line 60 of file dicopx.h.
|
constructor
|
|
constructor
|
|
create true color (32 bit) bitmap for Java (AWT default format).
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, and DiColorPixelTemplate< T3 >. |
|
create true color (24/32 bit) bitmap for MS Windows.
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, and DiColorPixelTemplate< T3 >. |
|
fill given memory block with pixel data (all three image planes, RGB). Currently, the samples are always ordered by plane, thus the DICOM attribute 'PlanarConfiguration' has to be set to '1'.
Implemented in DiColorPixelTemplate< T >, DiColorPixelTemplate< T2 >, and DiColorPixelTemplate< T3 >. |
|
get number of planes
Implements DiPixel. |