rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvComponentTransferFilter Class Reference

Component transfer filter. More...

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

Inheritance diagram for IlvComponentTransferFilter:
IlvBitmapFilter

List of all members.

Public Member Functions

 IlvComponentTransferFilter ()
 Constructor.
 ~IlvComponentTransferFilter ()
 Destructor.
IlvBitmapDataapply (IlUInt count=0, const IlvBitmapData **inputs=0)
 Applies the component transfer to the given image.
IlvTransferFunctiongetAlphaFunction () const
 Returns the alpha component transfer function.
IlvTransferFunctiongetBlueFunction () const
 Returns the blue component transfer function.
IlvTransferFunctiongetGreenFunction () const
 Returns the green component transfer function.
IlvTransferFunctiongetRedFunction () 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.

Detailed Description

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.

See also:
IlvRGBBitmapData, IlvBitmapFilter, IlvTransferFunction

Constructor & Destructor Documentation

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.


Member Function Documentation

IlvTransferFunction* IlvComponentTransferFilter::getAlphaFunction (  )  const

Returns the alpha component transfer function.

Returns:
The alpha component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getBlueFunction (  )  const

Returns the blue component transfer function.

Returns:
The blue component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getGreenFunction (  )  const

Returns the green component transfer function.

Returns:
The green component transfer function.
IlvTransferFunction* IlvComponentTransferFilter::getRedFunction (  )  const

Returns the red component transfer function.

Returns:
The red component transfer function.
void IlvComponentTransferFilter::setAlphaFunction ( IlvTransferFunction alphaFunction  ) 

Sets the alpha component transfer function.

Parameters:
alphaFunction The new alpha component transfer function.
void IlvComponentTransferFilter::setBlueFunction ( IlvTransferFunction blueFunction  ) 

Sets the blue component transfer function.

Parameters:
blueFunction The new blue component transfer function.
void IlvComponentTransferFilter::setGreenFunction ( IlvTransferFunction greenFunction  ) 

Sets the green component transfer function.

Parameters:
greenFunction The new green component transfer function.
void IlvComponentTransferFilter::setRedFunction ( IlvTransferFunction redFunction  ) 

Sets the red component transfer function.

Parameters:
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.