Inheritance diagram for DiColorPixelTemplate< T >:
Public Member Functions | |
DiColorPixelTemplate (const DiDocument *docu, const DiInputPixel *pixel, const Uint16 samples, EI_Status &status, const Uint16 sample_rate=0) | |
constructor | |
virtual | ~DiColorPixelTemplate () |
destructor | |
EP_Representation | getRepresentation () const |
get integer representation | |
const void * | getData () const |
get pointer to internal array of pixel data. | |
void * | getDataPtr () |
get pointer to internal array of pixel data. | |
void * | getDataArrayPtr () |
get pointer to internal array of pixel data. | |
OFBool | getPixelData (void *data, const size_t count) const |
fill given memory block with pixel data (all three image planes, RGB). | |
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 |
create true color (24/32 bit) bitmap for MS Windows. | |
unsigned long | createAWTBitmap (void *&data, const Uint16 width, const Uint16 height, const unsigned long frame, const int fromBits, const int toBits) const |
create true color (32 bit) bitmap for Java (AWT default format). | |
Protected Member Functions | |
DiColorPixelTemplate (const DiColorPixel *pixel, const unsigned long count) | |
constructor | |
int | Init (const void *pixel) |
initialize internal memory | |
Protected Attributes | |
T * | Data [3] |
pointer to pixel data (3 components) | |
Private Member Functions | |
DiColorPixelTemplate (const DiColorPixelTemplate< T > &) | |
DiColorPixelTemplate< T > & | operator= (const DiColorPixelTemplate< T > &) |
Definition at line 109 of file dicopxt.h.
|
constructor
|
|
constructor
|
|
create true color (32 bit) bitmap for Java (AWT default format).
Implements DiColorPixel. |
|
create true color (24/32 bit) bitmap for MS Windows.
Implements DiColorPixel. |
|
get pointer to internal array of pixel data. The returned array [0..2] points to the three image planes.
Implements DiPixel. |
|
get pointer to internal array of pixel data. The returned array [0..2] points to the three image planes.
Implements DiPixel. |
|
get pointer to internal array of pixel data. The returned array [0..2] points to the three image planes.
Implements DiPixel. |
|
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'.
Implements DiColorPixel. |
|
get integer representation
Reimplemented from DiPixelRepresentationTemplate< T >. |
|
initialize internal memory
Definition at line 524 of file dicopxt.h. Referenced by DiColorCopyTemplate< T >::copy(). |