Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Color matrix filter. More...
#include <ilviews/bitmaps/filters/colmatrix.h>
Public Member Functions | |
IlvColorMatrixFilter (const IlFloat *values=0) | |
Constructor. | |
~IlvColorMatrixFilter () | |
Destructor. | |
IlvBitmapData * | apply (IlUInt count=0, const IlvBitmapData **inputs=0) |
Applies the color matrix to the given image. | |
const IlFloat * | getValues (IlUInt &count) const |
Returns the matrix coefficients. | |
void | setValues (IlFloat a00, IlFloat a01, IlFloat a02, IlFloat a03, IlFloat a04, IlFloat a10, IlFloat a11, IlFloat a12, IlFloat a13, IlFloat a14, IlFloat a20, IlFloat a21, IlFloat a22, IlFloat a23, IlFloat a24, IlFloat a30, IlFloat a31, IlFloat a32, IlFloat a33, IlFloat a34) |
Sets the matrix coefficients. | |
void | setValues (const IlFloat *values) |
Sets the matrix coefficients. |
Color matrix filter.
Library: ilvbmpflt
This bitmap filter lets you manipulate the color components of an image using a 5x4 matrix.
IlvRGBBitmapData
, IlvBitmapFilter
, IlvSaturationFilter
, IlvLuminanceToAlphaFilter
, IlvHueRotateFilter
IlvColorMatrixFilter::IlvColorMatrixFilter | ( | const IlFloat * | values = 0 |
) |
Constructor.
Initializes a new instance of the class IlvColorMatrixFilter
. The matrix coefficients (if present) are set to the given values.
values | An array of 20 floating point values. |
IlvColorMatrixFilter::~IlvColorMatrixFilter | ( | ) |
Destructor.
The destructor releases all the memory used by the instance.
Returns the matrix coefficients.
count | The number of coefficients. |
count
values. void IlvColorMatrixFilter::setValues | ( | IlFloat | a00, | |
IlFloat | a01, | |||
IlFloat | a02, | |||
IlFloat | a03, | |||
IlFloat | a04, | |||
IlFloat | a10, | |||
IlFloat | a11, | |||
IlFloat | a12, | |||
IlFloat | a13, | |||
IlFloat | a14, | |||
IlFloat | a20, | |||
IlFloat | a21, | |||
IlFloat | a22, | |||
IlFloat | a23, | |||
IlFloat | a24, | |||
IlFloat | a30, | |||
IlFloat | a31, | |||
IlFloat | a32, | |||
IlFloat | a33, | |||
IlFloat | a34 | |||
) |
Sets the matrix coefficients.
a00 | (through a34) The matrix coefficients. |
void IlvColorMatrixFilter::setValues | ( | const IlFloat * | values | ) |
Sets the matrix coefficients.
values | An array of 20 values. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.