Package com.ribs.pdf.functions
Class PDFInterpolationFunction
- java.lang.Object
-
- com.ribs.pdf.PDFFunction
-
- com.ribs.pdf.functions.PDFInterpolationFunction
-
public class PDFInterpolationFunction extends PDFFunction
-
-
Field Summary
-
Fields inherited from class com.ribs.pdf.PDFFunction
ExponentialInterpolation, functionType, inputDomain, inputValues, outputRange, PostScriptCalculator, returnValues, Sampled, Stitching
-
-
Constructor Summary
Constructors Constructor Description PDFInterpolationFunction(java.util.Map functionDict, PDFFile srcFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfunction_implementation(float[] in, float[] out)voidinitializeParameters(java.util.Map functionDict, PDFFile srcFile)Read the function parametersintnumInputValues()Returns the number of parameters this function takes as inputintnumOutputValues()Returns the number of values this function returns.-
Methods inherited from class com.ribs.pdf.PDFFunction
clipToRange, evaluate, getInstance
-
-
-
-
Constructor Detail
-
PDFInterpolationFunction
public PDFInterpolationFunction(java.util.Map functionDict, PDFFile srcFile)
-
-
Method Detail
-
initializeParameters
public void initializeParameters(java.util.Map functionDict, PDFFile srcFile)Description copied from class:PDFFunctionRead the function parameters- Overrides:
initializeParametersin classPDFFunction
-
numInputValues
public int numInputValues()
Description copied from class:PDFFunctionReturns the number of parameters this function takes as input- Overrides:
numInputValuesin classPDFFunction
-
numOutputValues
public int numOutputValues()
Description copied from class:PDFFunctionReturns the number of values this function returns. Should be overridden by subclasses that don't require outputRange.- Overrides:
numOutputValuesin classPDFFunction
-
function_implementation
public void function_implementation(float[] in, float[] out)- Specified by:
function_implementationin classPDFFunction
-
-