public class PDSampledFunction extends PDFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
PDSampledFunction.MetaClass
The meta class implementation
|
| Modifier and Type | Field and Description |
|---|---|
static COSName |
DK_BitsPerSample |
static COSName |
DK_Decode |
static COSName |
DK_Encode |
static COSName |
DK_Order |
static COSName |
DK_Size |
static PDSampledFunction.MetaClass |
META
The meta class instance
|
DK_Domain, DK_FunctionType, DK_RangeDK_Subtype, DK_Type| Modifier and Type | Method and Description |
|---|---|
COSArray |
cosGetDecode()
Return the Decode value array.
|
COSDictionary |
cosGetDict()
Get the base object as a
COSDictionary. |
COSArray |
cosGetEncode()
Return the Encode value array
|
float[] |
evaluate(float[] input)
Evaluate the function for each of the input values in turn.
|
int |
getBitsPerSample()
Return the BitsPerSample value.
|
float |
getDecodeMax(int dimension)
Return the max value of the Decode array for the given dimension.
|
float |
getDecodeMin(int dimension)
Return the min value of the Decode array for the given dimension.
|
float |
getEncodeMax(int dimension)
Return the max value of the Encode array for the given dimension.
|
float |
getEncodeMin(int dimension)
Return the min value of the Encode array for the given dimension.
|
int |
getOutputSize()
Return the number of output values for one input value.
|
COSArray |
getSize()
Return the Size value array.
|
int |
getSize(int dimension)
Return the size value for the given dimension.
|
cosGetDomain, getDomainMax, getDomainMin, getInputSize, getRange, getRangeMax, getRangeMincosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toStringchanged, cosGetArray, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldStringpublic static final COSName DK_BitsPerSample
public static final COSName DK_Decode
public static final COSName DK_Encode
public static final COSName DK_Order
public static final COSName DK_Size
public static final PDSampledFunction.MetaClass META
public COSArray cosGetDecode()
public COSDictionary cosGetDict()
COSBasedObjectCOSDictionary.
This will throw a ClassCastException if the base type is not
appropriate!
cosGetDict in class COSBasedObjectCOSDictionary.public COSArray cosGetEncode()
public float[] evaluate(float[] input)
evaluate in class PDFunctioninput - input values to evaluatepublic int getBitsPerSample()
public float getDecodeMax(int dimension)
dimension - the dimension to get the max value forpublic float getDecodeMin(int dimension)
dimension - the dimension to get the min value forpublic float getEncodeMax(int dimension)
dimension - the dimension to get the max value forpublic float getEncodeMin(int dimension)
dimension - the dimension to get the min value forpublic int getOutputSize()
getOutputSize in class PDFunctionpublic COSArray getSize()
public int getSize(int dimension)
dimension - the dimension to get the size value forCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.