Inheritance diagram for DiTransTemplate< T >:

Protected Member Functions | |
| DiTransTemplate (const int planes, const Uint16 src_x, const Uint16 src_y, const Uint16 dest_x, const Uint16 dest_y, const Uint32 frames, const int bits=0) | |
| constructor | |
| virtual | ~DiTransTemplate () |
| destructor | |
| void | copyPixel (const T *src[], T *dest[]) |
| copy pixel data | |
| void | fillPixel (T *dest[], const T value) |
| fill pixel data with specified value | |
| void | clearPixel (T *dest[]) |
| clear pixel data (set values to 0) | |
Protected Attributes | |
| int | Planes |
| number of planes | |
| Uint16 | Src_X |
| width of source image | |
| Uint16 | Src_Y |
| height of source image | |
| const Uint16 | Dest_X |
| width of destination image | |
| const Uint16 | Dest_Y |
| height of destination image | |
| const Uint32 | Frames |
| number of frames | |
| const int | Bits |
| number of bits per plane/pixel | |
(e.g. scaling, flipping)
Definition at line 50 of file ditranst.h.
| DiTransTemplate< T >::DiTransTemplate | ( | const int | planes, | |
| const Uint16 | src_x, | |||
| const Uint16 | src_y, | |||
| const Uint16 | dest_x, | |||
| const Uint16 | dest_y, | |||
| const Uint32 | frames, | |||
| const int | bits = 0 | |||
| ) | [inline, protected] |
constructor
| planes | number of planes | |
| src_x | width of source image | |
| src_y | height of source image | |
| dest_x | width of destination image (after transformation) | |
| dest_y | height of destination image | |
| frames | number of frames | |
| bits | number of bits per plane/pixel (optional) |
Definition at line 65 of file ditranst.h.
| void DiTransTemplate< T >::copyPixel | ( | const T * | src[], | |
| T * | dest[] | |||
| ) | [inline, protected] |
copy pixel data
| src | array of pointers to source image pixels | |
| dest | array of pointers to destination image pixels |
Definition at line 93 of file ditranst.h.
References DiTransTemplate< T >::Dest_X, DiTransTemplate< T >::Dest_Y, DiTransTemplate< T >::Frames, and DiTransTemplate< T >::Planes.
Referenced by DiFlipTemplate< T >::flipData(), DiRotateTemplate< T >::rotateData(), and DiScaleTemplate< T >::scaleData().
| void DiTransTemplate< T >::fillPixel | ( | T * | dest[], | |
| const T | value | |||
| ) | [inline, protected] |
fill pixel data with specified value
| dest | array of pointers to destination image pixels | |
| value | value to be filled in destination array |
Definition at line 106 of file ditranst.h.
References DiTransTemplate< T >::Dest_X, DiTransTemplate< T >::Dest_Y, DiTransTemplate< T >::Frames, and DiTransTemplate< T >::Planes.
Referenced by DiScaleTemplate< T >::scaleData().
| void DiTransTemplate< T >::clearPixel | ( | T * | dest[] | ) | [inline, protected] |
clear pixel data (set values to 0)
| dest | array of pointers to destination image pixels |
Definition at line 118 of file ditranst.h.
References DiTransTemplate< T >::Dest_X, DiTransTemplate< T >::Dest_Y, DiTransTemplate< T >::Frames, and DiTransTemplate< T >::Planes.