icc.lut
Class LookUpTableFP

java.lang.Object
  |
  +--icc.lut.LookUpTable
        |
        +--icc.lut.LookUpTableFP
Direct Known Subclasses:
LookUpTableFPGamma, LookUpTableFPInterp

public abstract class LookUpTableFP
extends LookUpTable

Toplevel class for a float [] lut.


Field Summary
 float[] lut
          The lut values.
 
Fields inherited from class icc.lut.LookUpTable
curve, dwNumInput, eol
 
Constructor Summary
protected LookUpTableFP(ICCCurveType curve, int dwNumInput)
          Construct an empty lut
 
Method Summary
static LookUpTableFP createInstance(ICCCurveType curve, int dwNumInput)
          Factory method for getting a lut from a given curve.
 float elementAt(int index)
          lut accessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lut

public final float[] lut
The lut values.

Constructor Detail

LookUpTableFP

protected LookUpTableFP(ICCCurveType curve,
                        int dwNumInput)
Construct an empty lut

Parameters:
dwNumInput - the size of the lut t lut.
Method Detail

createInstance

public static LookUpTableFP createInstance(ICCCurveType curve,
                                           int dwNumInput)
Factory method for getting a lut from a given curve.

Parameters:
curve - the data
dwNumInput - the size of the lut
Returns:
the lookup table

elementAt

public final float elementAt(int index)
lut accessor

Parameters:
index - of the element
Returns:
the lut [index]