Inheritance diagram for DiColorScaleTemplate< T >:
Public Member Functions | |
DiColorScaleTemplate (const DiColorPixel *pixel, const Uint16 columns, const Uint16 rows, const signed long left_pos, const signed long top_pos, const Uint16 src_cols, const Uint16 src_rows, const Uint16 dest_cols, const Uint16 dest_rows, const Uint32 frames, const int bits, const int interpolate) | |
constructor | |
virtual | ~DiColorScaleTemplate () |
destructor | |
Private Member Functions | |
void | scale (const T *pixel[3], const int interpolate) |
scale pixel data |
Definition at line 46 of file dicosct.h.
DiColorScaleTemplate< T >::DiColorScaleTemplate | ( | const DiColorPixel * | pixel, | |
const Uint16 | columns, | |||
const Uint16 | rows, | |||
const signed long | left_pos, | |||
const signed long | top_pos, | |||
const Uint16 | src_cols, | |||
const Uint16 | src_rows, | |||
const Uint16 | dest_cols, | |||
const Uint16 | dest_rows, | |||
const Uint32 | frames, | |||
const int | bits, | |||
const int | interpolate | |||
) | [inline] |
constructor
pixel | pointer to intermediate pixel representation | |
columns | width of source image | |
rows | height of source image | |
left_pos | left coordinate of clipping area | |
top_pos | top coordinate of clipping area | |
src_cols | width of clipping area | |
src_rows | height of clipping area | |
dest_cols | width of destination image (scaled image) | |
dest_rows | height of destination image | |
frames | number of frames | |
bits | number of bits per plane/pixel | |
interpolate | use of interpolation when scaling |
Definition at line 68 of file dicosct.h.
References DiPixel::getCount(), DiPixel::getData(), and DiColorScaleTemplate< T >::scale().
void DiColorScaleTemplate< T >::scale | ( | const T * | pixel[3], | |
const int | interpolate | |||
) | [inline, private] |
scale pixel data
pixel | pointer to pixel data (3 components9 to be scaled | |
interpolate | use of interpolation when scaling |
Definition at line 107 of file dicosct.h.
References DiColorPixelTemplate< T >::Init(), and DiScaleTemplate< T >::scaleData().
Referenced by DiColorScaleTemplate< T >::DiColorScaleTemplate().