rwlogo

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
List of all members | Public Member Functions | Static Public Member Functions
IlvTransferFunction Class Reference

Base transfer function. More...

#include <ilviews/bitmaps/transfer.h>

Inheritance diagram for IlvTransferFunction:
IlvDiscreteTransfer IlvGammaTransfer IlvIdentityTransfer IlvLinearTransfer IlvTableTransfer

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Base transfer function.

Library: xviews or winviews or mviews (mutually exclusive)

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
nameThe 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
indexThe index of the entry.
valueThe new value of the entry.

© Copyright 2015, 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.