rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvColorMatrixFilter Class Reference

Color matrix filter. More...

#include <ilviews/bitmaps/filters/colmatrix.h>

Inheritance diagram for IlvColorMatrixFilter:
IlvBitmapFilter IlvHueRotateFilter IlvLuminanceToAlphaFilter IlvSaturationFilter

List of all members.

Public Member Functions

 IlvColorMatrixFilter (const IlFloat *values=0)
 Constructor.
 ~IlvColorMatrixFilter ()
 Destructor.
IlvBitmapDataapply (IlUInt count=0, const IlvBitmapData **inputs=0)
 Applies the color matrix to the given image.
const IlFloatgetValues (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.

Detailed Description

Color matrix filter.

Library: ilvbmpflt

This bitmap filter lets you manipulate the color components of an image using a 5x4 matrix.

See also:
IlvRGBBitmapData, IlvBitmapFilter, IlvSaturationFilter, IlvLuminanceToAlphaFilter, IlvHueRotateFilter

Constructor & Destructor Documentation

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.

Parameters:
values An array of 20 floating point values.
IlvColorMatrixFilter::~IlvColorMatrixFilter (  ) 

Destructor.

The destructor releases all the memory used by the instance.


Member Function Documentation

const IlFloat* IlvColorMatrixFilter::getValues ( IlUInt count  )  const

Returns the matrix coefficients.

Parameters:
count The number of coefficients.
Returns:
An array of 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.

Parameters:
a00 (through a34) The matrix coefficients.
void IlvColorMatrixFilter::setValues ( const IlFloat values  ) 

Sets the matrix coefficients.

Parameters:
values An array of 20 values.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.