Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Component transfer filter. More...
#include <ilviews/bitmaps/filters/component.h>
Public Member Functions | |
IlvComponentTransferFilter () | |
Constructor. | |
~IlvComponentTransferFilter () | |
Destructor. | |
IlvBitmapData * | apply (IlUInt count=0, const IlvBitmapData **inputs=0) |
Applies the component transfer to the given image. | |
IlvTransferFunction * | getAlphaFunction () const |
Returns the alpha component transfer function. | |
IlvTransferFunction * | getBlueFunction () const |
Returns the blue component transfer function. | |
IlvTransferFunction * | getGreenFunction () const |
Returns the green component transfer function. | |
IlvTransferFunction * | getRedFunction () const |
Returns the red component transfer function. | |
void | setAlphaFunction (IlvTransferFunction *alphaFunction) |
Sets the alpha component transfer function. | |
void | setBlueFunction (IlvTransferFunction *blueFunction) |
Sets the blue component transfer function. | |
void | setGreenFunction (IlvTransferFunction *greenFunction) |
Sets the green component transfer function. | |
void | setRedFunction (IlvTransferFunction *redFunction) |
Sets the red component transfer function. |
Component transfer filter.
Library: ilvbmpflt
This bitmap filter lets you manipulate the individual color components of an image using lookup tables. Each component value in the source image is replaced by the corresponding value in the lookup table.
IlvRGBBitmapData
, IlvBitmapFilter
, IlvTransferFunction
IlvComponentTransferFilter::IlvComponentTransferFilter | ( | ) |
Constructor.
Initializes a new instance of the class IlvComponentTransferFilter
.
The default matrix is the identity matrix.
IlvComponentTransferFilter::~IlvComponentTransferFilter | ( | ) |
Destructor.
The destructor releases all the memory used by the instance.
IlvTransferFunction* IlvComponentTransferFilter::getAlphaFunction | ( | ) | const |
Returns the alpha component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getBlueFunction | ( | ) | const |
Returns the blue component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getGreenFunction | ( | ) | const |
Returns the green component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getRedFunction | ( | ) | const |
Returns the red component transfer function.
void IlvComponentTransferFilter::setAlphaFunction | ( | IlvTransferFunction * | alphaFunction | ) |
Sets the alpha component transfer function.
alphaFunction | The new alpha component transfer function. |
void IlvComponentTransferFilter::setBlueFunction | ( | IlvTransferFunction * | blueFunction | ) |
Sets the blue component transfer function.
blueFunction | The new blue component transfer function. |
void IlvComponentTransferFilter::setGreenFunction | ( | IlvTransferFunction * | greenFunction | ) |
Sets the green component transfer function.
greenFunction | The new green component transfer function. |
void IlvComponentTransferFilter::setRedFunction | ( | IlvTransferFunction * | redFunction | ) |
Sets the red component transfer function.
redFunction | The new red component transfer function. |
© 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.