rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTransferFunction Class Reference

Base transfer function. More...

#include <ilviews/bitmaps/transfer.h>

Inheritance diagram for IlvTransferFunction:
IlvDiscreteTransfer IlvGammaTransfer IlvIdentityTransfer IlvLinearTransfer IlvTableTransfer

List of all members.

Public Member Functions

 IlvTransferFunction ()
 Constructor.
const IlUChar * getLookUpTable () const
 Returns the lookup table.
void setLookUpValue (IlUInt index, IlUChar value)
 Sets an entry in the lookup table.

Static Public Member Functions

static IlvTransferFunction * Create (const char *name)
 Returns a new instance of a registered transfer function.

Detailed Description

Base transfer function.

Library: display

This is the base class for transfer functions used in IlvComponentTransferFilter. It defines a lookup table for the new component values.

See also:
IlvRGBBitmapData, IlvBitmapFilter, IlvComponentTransferFilter, IlvIdentityTransfer, IlvLinearTransfer, IlvTableTransfer, IlvDiscreteTransfer, IlvGammaTransfer

Constructor & Destructor Documentation

IlvTransferFunction::IlvTransferFunction (  ) 

Constructor.

Initializes a new instance of the class IlvTransferFunction.


Member Function Documentation

static IlvTransferFunction* IlvTransferFunction::Create ( const char *  name  )  [static]

Returns a new instance of a registered transfer function.

Parameters:
name The name of the transfer function.
const IlUChar* IlvTransferFunction::getLookUpTable (  )  const

Returns the lookup table.

Returns:
An array of 256 IlUChar values.
void IlvTransferFunction::setLookUpValue ( IlUInt  index,
IlUChar  value 
)

Sets an entry in the lookup table.

Parameters:
index The index of the entry.
value The new value of the entry.

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