Class InterpolationFunction
- java.lang.Object
-
- com.inductiveautomation.rm.pdf.reader.PDFFunction
-
- com.inductiveautomation.rm.pdf.reader.fps.InterpolationFunction
-
public class InterpolationFunction extends PDFFunction
Type 2 exponential interpolation functions. Simple interpolation between 2 sets of m values. N=1 -> linear interpolation.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.rm.pdf.reader.PDFFunction
ExponentialInterpolation, functionType, inputDomain, inputValues, outputRange, PostScriptCalculator, returnValues, Sampled, Stitching
-
-
Constructor Summary
Constructors Constructor Description InterpolationFunction(java.util.Map functionDict, PDFFile srcFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
function_implementation(float[] in, float[] out)
void
initializeParameters(java.util.Map functionDict, PDFFile srcFile)
Read the function parametersint
numInputValues()
Returns the number of parameters this function takes as inputint
numOutputValues()
Returns the number of values this function returns.-
Methods inherited from class com.inductiveautomation.rm.pdf.reader.PDFFunction
clipToRange, evaluate, getInstance
-
-
-
-
Constructor Detail
-
InterpolationFunction
public InterpolationFunction(java.util.Map functionDict, PDFFile srcFile)
-
-
Method Detail
-
initializeParameters
public void initializeParameters(java.util.Map functionDict, PDFFile srcFile)
Description copied from class:PDFFunction
Read the function parameters- Overrides:
initializeParameters
in classPDFFunction
-
numInputValues
public int numInputValues()
Description copied from class:PDFFunction
Returns the number of parameters this function takes as input- Overrides:
numInputValues
in classPDFFunction
-
numOutputValues
public int numOutputValues()
Description copied from class:PDFFunction
Returns the number of values this function returns. Should be overridden by subclasses that don't require outputRange.- Overrides:
numOutputValues
in classPDFFunction
-
function_implementation
public void function_implementation(float[] in, float[] out)
- Specified by:
function_implementation
in classPDFFunction
-
-