Inheritance diagram for DiPixel:
Public Member Functions | |
DiPixel (const unsigned long count, const unsigned long inputCount=0) | |
constructor | |
virtual | ~DiPixel () |
destructor | |
virtual EP_Representation | getRepresentation () const =0 |
get integer representation (abstract) | |
virtual int | getPlanes () const =0 |
get number of planes (abstract). | |
virtual const void * | getData () const =0 |
get pointer to pixel data (abstract). | |
virtual void * | getDataPtr ()=0 |
get pointer to pixel data (abstract). | |
virtual void * | getDataArrayPtr ()=0 |
get pointer to array of pixel data (abstract). | |
unsigned long | getCount () const |
get number of pixels | |
unsigned long | getInputCount () const |
get number of pixels stored in the 'PixelData' element | |
Protected Attributes | |
unsigned long | Count |
number of pixels | |
unsigned long | InputCount |
number of pixels in the input buffer |
Definition at line 49 of file dipixel.h.
|
constructor
|
|
|
get pointer to pixel data (abstract). NB: See implemented method in derived class for details.
Implemented in DiColorPixelTemplate< T >, DiMonoPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, and DiMonoPixelTemplate< T3 >. Referenced by DiColorCopyTemplate< T >::DiColorCopyTemplate(), DiColorFlipTemplate< T >::DiColorFlipTemplate(), DiColorMonoTemplate< T >::DiColorMonoTemplate(), DiColorOutputPixelTemplate< T1, T2 >::DiColorOutputPixelTemplate(), DiColorRotateTemplate< T >::DiColorRotateTemplate(), DiColorScaleTemplate< T >::DiColorScaleTemplate(), DiMonoCopyTemplate< T >::DiMonoCopyTemplate(), DiMonoFlipTemplate< T >::DiMonoFlipTemplate(), DiMonoRotateTemplate< T >::DiMonoRotateTemplate(), DiMonoScaleTemplate< T >::DiMonoScaleTemplate(), DiMonoOutputPixelTemplate< T1, T2, T3 >::nowindow(), DiMonoOutputPixelTemplate< T1, T2, T3 >::voilut(), and DiMonoOutputPixelTemplate< T1, T2, T3 >::window(). |
|
get pointer to array of pixel data (abstract). The number of planes in the returned array can be determined using 'getPlanes()'.
Implemented in DiColorPixelTemplate< T >, DiMonoPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, and DiMonoPixelTemplate< T3 >. Referenced by DiFlipTemplate< T >::DiFlipTemplate(), and DiRotateTemplate< T >::DiRotateTemplate(). |
|
get pointer to pixel data (abstract). NB: See implemented method in derived class for details.
Implemented in DiColorPixelTemplate< T >, DiMonoPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, and DiMonoPixelTemplate< T3 >. |
|
get number of pixels stored in the 'PixelData' element
Definition at line 118 of file dipixel.h. References InputCount. |
|
get number of planes (abstract).
Implemented in DiColorPixel, and DiMonoPixel. Referenced by DiFlipTemplate< T >::DiFlipTemplate(), and DiRotateTemplate< T >::DiRotateTemplate(). |
|
get integer representation (abstract)
Implemented in DiColorPixelTemplate< T >, DiMonoPixelTemplate< T >, DiColorPixelTemplate< T2 >, DiColorPixelTemplate< T3 >, and DiMonoPixelTemplate< T3 >. |