![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gamma transfer function. More...
#include <ilviews/bitmaps/filters/transfer.h>
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. | |
Gamma transfer function.
Library: ilvbmpflt
This transfer function defines a lookup table by an exponential function: C' = amplitude * pow(C, exponent) + offset
IlvRGBBitmapData, IlvBitmapFilter, IlvComponentTransferFilter, IlvTransferFunction, IlvIdentityTransfer, IlvLinearTransfer, IlvTableTransfer, IlvDiscreteTransfer | IlvGammaTransfer::IlvGammaTransfer | ( | IlFloat | amplitude = 1.0, |
|
| IlFloat | exponent = 1.0, |
|||
| IlFloat | offset = 0.0 | |||
| ) |
Constructor.
Initializes a new instance of the class IlvGammaTransfer.
| amplitude | The amplitude value. | |
| exponent | The exponent value. | |
| offset | The offset value. |
| IlFloat IlvGammaTransfer::getAmplitude | ( | ) | const |
Returns the amplitude.
| IlFloat IlvGammaTransfer::getExponent | ( | ) | const |
Returns the exponent.
| IlFloat IlvGammaTransfer::getOffset | ( | ) | const |
Returns the offset.
| void IlvGammaTransfer::setAmplitude | ( | IlFloat | amplitude | ) |
Sets the amplitude.
| amplitude | The new amplitude. |
| void IlvGammaTransfer::setExponent | ( | IlFloat | exponent | ) |
Sets the exponent.
| exponent | The new exponent. |
| void IlvGammaTransfer::setOffset | ( | IlFloat | offset | ) |
Sets the offset.
| offset | The new offset. |
© 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.