rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGammaTransfer Class Reference

Gamma transfer function. More...

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

Inheritance diagram for IlvGammaTransfer:
IlvTransferFunction

List of all members.

Public Member Functions

 IlvGammaTransfer (IlFloat amplitude=1.0, IlFloat exponent=1.0, IlFloat offset=0.0)
 Constructor.
IlFloat getAmplitude () const
 Returns the amplitude.
IlFloat getExponent () const
 Returns the exponent.
IlFloat getOffset () const
 Returns the offset.
void setAmplitude (IlFloat amplitude)
 Sets the amplitude.
void setExponent (IlFloat exponent)
 Sets the exponent.
void setOffset (IlFloat offset)
 Sets the offset.
void setValues (IlFloat amplitude, IlFloat exponent, IlFloat offset)
 Sets the values for amplitude, exponent, and offset.

Detailed Description

Gamma transfer function.

Library: ilvbmpflt

This transfer function defines a lookup table by an exponential function: C' = amplitude * pow(C, exponent) + offset

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

Constructor & Destructor Documentation

IlvGammaTransfer::IlvGammaTransfer ( IlFloat  amplitude = 1.0,
IlFloat  exponent = 1.0,
IlFloat  offset = 0.0 
)

Constructor.

Initializes a new instance of the class IlvGammaTransfer.

Parameters:
amplitude The amplitude value.
exponent The exponent value.
offset The offset value.

Member Function Documentation

IlFloat IlvGammaTransfer::getAmplitude (  )  const

Returns the amplitude.

Returns:
The amplitude.
IlFloat IlvGammaTransfer::getExponent (  )  const

Returns the exponent.

Returns:
The exponent.
IlFloat IlvGammaTransfer::getOffset (  )  const

Returns the offset.

Returns:
The offset.
void IlvGammaTransfer::setAmplitude ( IlFloat  amplitude  ) 

Sets the amplitude.

Parameters:
amplitude The new amplitude.
void IlvGammaTransfer::setExponent ( IlFloat  exponent  ) 

Sets the exponent.

Parameters:
exponent The new exponent.
void IlvGammaTransfer::setOffset ( IlFloat  offset  ) 

Sets the offset.

Parameters:
offset The new offset.
void IlvGammaTransfer::setValues ( IlFloat  amplitude,
IlFloat  exponent,
IlFloat  offset 
)

Sets the values for amplitude, exponent, and offset.

Parameters:
amplitude The new amplitude.
exponent The new exponent.
offset The new offset.
 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.