Inheritance diagram for DiColorOutputPixelTemplate< T1, T2 >:
Public Member Functions | |
DiColorOutputPixelTemplate (void *buffer, const DiColorPixel *pixel, const unsigned long count, const unsigned long frame, const int bits1, const int bits2, const int planar, const int inverse) | |
constructor | |
DiColorOutputPixelTemplate (void *buffer, const DiPixel *pixel, const unsigned long count, const unsigned long frame, const unsigned long, const int planar) | |
constructor | |
virtual | ~DiColorOutputPixelTemplate () |
destructor | |
EP_Representation | getRepresentation () const |
get integer representation | |
size_t | getItemSize () const |
get size of one pixel / item in the pixel array | |
const void * | getData () const |
get pointer to output pixel data | |
virtual void * | getDataPtr () |
get pointer to output pixel data | |
const void * | getPlane (const int plane) const |
get pointer to given plane of output pixel data | |
int | writePPM (ostream &stream) const |
write pixel data of selected frame to PPM/ASCII file | |
int | writePPM (FILE *stream) const |
write pixel data of selected frame to PPM/ASCII file | |
Protected Attributes | |
T2 * | Data |
pointer to the storage area where the output data should be stored | |
Private Member Functions | |
void | convert (const T1 *pixel[3], const unsigned long start, const int bits1, const int bits2, const int planar, const int inverse) |
convert intermediate pixel data to output format (render pixel data) | |
DiColorOutputPixelTemplate (const DiColorOutputPixelTemplate< T1, T2 > &) | |
DiColorOutputPixelTemplate< T1, T2 > & | operator= (const DiColorOutputPixelTemplate< T1, T2 > &) |
Private Attributes | |
int | DeleteData |
flag indicating whether the output data buffer should be deleted in the destructor | |
int | isPlanar |
flag indicating whether pixel data is stored color-by-pixel or color-by-plane |
Definition at line 53 of file dicoopxt.h.
|
constructor
Definition at line 71 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::convert(), DiColorOutputPixel::Count, DiColorOutputPixelTemplate< T1, T2 >::Data, DiColorOutputPixel::FrameSize, and DiPixel::getData(). |
|
constructor
Definition at line 100 of file dicoopxt.h. References DiColorOutputPixel::Count, and DiColorOutputPixelTemplate< T1, T2 >::Data. |
|
convert intermediate pixel data to output format (render pixel data)
Definition at line 243 of file dicoopxt.h. References DiColorOutputPixel::Count, DicomImageClass::maxval(), and OFBitmanipTemplate< T >::zeroMem(). Referenced by DiColorOutputPixelTemplate< T1, T2 >::DiColorOutputPixelTemplate(). |
|
get pointer to output pixel data
Implements DiColorOutputPixel. Definition at line 145 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::Data. |
|
get pointer to output pixel data
Implements DiColorOutputPixel. Definition at line 154 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::Data. |
|
get size of one pixel / item in the pixel array
Implements DiColorOutputPixel. Definition at line 136 of file dicoopxt.h. |
|
get pointer to given plane of output pixel data
Implements DiColorOutputPixel. Definition at line 165 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::Data, and DiColorOutputPixelTemplate< T1, T2 >::isPlanar. |
|
get integer representation
Implements DiColorOutputPixel. Definition at line 127 of file dicoopxt.h. References DiPixelRepresentationTemplate< T >::getRepresentation(). |
|
write pixel data of selected frame to PPM/ASCII file
Implements DiColorOutputPixel. Definition at line 210 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::Data. |
|
write pixel data of selected frame to PPM/ASCII file
Implements DiColorOutputPixel. Definition at line 189 of file dicoopxt.h. References DiColorOutputPixelTemplate< T1, T2 >::Data. |