rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvTableTransfer Class Reference

Table transfer function. More...

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

Inheritance diagram for IlvTableTransfer:
IlvTransferFunction

List of all members.

Public Member Functions

 IlvTableTransfer (IlUInt length, const IlFloat *values)
 Constructor.
 IlvTableTransfer ()
 Constructor.
 ~IlvTableTransfer ()
 Destructor.
const IlFloatgetValues (IlUInt &count) const
 Returns the table.
void setValues (IlUInt length, const IlFloat *values)

Detailed Description

Table transfer function.

Library: ilvbmpflt

This transfer function defines a lookup table by a linear interpolation into a lookup table. Interpolation uses the following formula: k/N <= C <= (k + 1)/N => C' = vk + (C - k/N) * N * (vk+1 - vk)

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

Constructor & Destructor Documentation

IlvTableTransfer::IlvTableTransfer (  ) 

Constructor.

Initializes a new instance of the class IlvTableTransfer.

IlvTableTransfer::IlvTableTransfer ( IlUInt  length,
const IlFloat values 
)

Constructor.

Initializes a new instance of the class IlvTableTransfer using a table.

Parameters:
length The length of the table.
values An array of length floating point values.
IlvTableTransfer::~IlvTableTransfer (  ) 

Destructor.

The destructor releases all the memory used by the instance.


Member Function Documentation

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

Returns the table.

Parameters:
count The number of values in the array.
Returns:
An array of count floating point values.
void IlvTableTransfer::setValues ( IlUInt  length,
const IlFloat values 
)

Sets the table.

Parameters:
length The length of the table.
values An array of length floating point 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.