Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
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:
IlvValueInterface IlvDiscreteTransfer IlvGammaTransfer IlvIdentityTransfer IlvLinearTransfer IlvTableTransfer

Public Member Functions

 IlvTransferFunction ()
 Constructor. More...
 
const IlUChargetLookUpTable () const
 Returns the lookup table. More...
 
void setLookUpValue (IlUInt index, IlUChar value)
 Sets an entry in the lookup table. More...
 
- Public Member Functions inherited from IlvValueInterface
virtual IlBoolean applyValue (const IlvValue &value)
 Apply an accessor. More...
 
virtual IlBoolean changeValue (const IlvValue &val)
 Changes the value of an accessor. More...
 
virtual IlBoolean changeValues (const IlvValue *values, IlUShort count=0)
 Changes several accessor values simultaneously. More...
 
virtual void getAccessors (const IlSymbol *const **names, const IlvValueTypeClass *const **types, IlUInt &count) const
 Retrieves the list of available accessors of an object. More...
 
virtual const char * getName () const
 Returns the name of the instance. The semantic and implementation of this method are defined by concrete subclasses. The default implementation returns 0. More...
 
virtual IlvValuequeryValue (IlvValue &val) const
 Retrieves an accessor value. More...
 
virtual void queryValues (IlvValue *values, IlUShort count) const
 Retrieves multiple accessor values simultaneously. More...
 

Static Public Member Functions

static IlvTransferFunctionCreate (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::IlvTransferFunction ( )

Constructor.

Initializes a new instance of the class IlvTransferFunction.

Member Function Documentation

§ Create()

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

Returns a new instance of a registered transfer function.

Parameters
nameThe name of the transfer function.

§ getLookUpTable()

const IlUChar* IlvTransferFunction::getLookUpTable ( ) const

Returns the lookup table.

Returns
An array of 256 IlUChar values.

§ setLookUpValue()

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 2017, 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.