Uses of Interface
ca.cgjennings.math.Fn
-
Packages that use Fn Package Description ca.cgjennings.graphics.filters ca.cgjennings.math ca.cgjennings.ui.anim -
-
Uses of Fn in ca.cgjennings.graphics.filters
Classes in ca.cgjennings.graphics.filters that implement Fn Modifier and Type Class Description classAbstractFunctionFilterAn abstract base class for filters that apply a transfer function to the red, green, and blue channels to produce a result.classBrightnessContrastFilterAn image filter that adjusts the brightness and contrast of an image.Methods in ca.cgjennings.graphics.filters that return Fn Modifier and Type Method Description FnChannelFunctionFilter. getAlphaFunction()FnChannelFunctionFilter. getBlueFunction()FnChannelFunctionFilter. getGreenFunction()FnChannelFunctionFilter. getRedFunction()Methods in ca.cgjennings.graphics.filters with parameters of type Fn Modifier and Type Method Description voidChannelFunctionFilter. setAlphaFunction(Fn alphaFunction)voidChannelFunctionFilter. setBlueFunction(Fn blueFunction)voidChannelFunctionFilter. setGreenFunction(Fn greenFunction)voidChannelFunctionFilter. setRedFunction(Fn redFunction)Constructors in ca.cgjennings.graphics.filters with parameters of type Fn Constructor Description ChannelFunctionFilter(Fn alpha, Fn red, Fn green, Fn blue)Creates a new function filter with the specified channel functions. -
Uses of Fn in ca.cgjennings.math
Classes in ca.cgjennings.math that implement Fn Modifier and Type Class Description static classInterpolation.CubicSplineA CubicSpline interpolator passes through each point in its data set, connecting the points with cubic spline curves.static classInterpolation.InterpolatedFunctionThis is a base class for interpolated functions.static classInterpolation.LinearRegressionA LinearRegression function finds the line of best fit for a set of (usually noisy) data points.static classInterpolation.QuadraticRegressionA QuadraticRegression function finds the quadratic curve of best fit for a set of (usually noisy) data points.Fields in ca.cgjennings.math declared as Fn Modifier and Type Field Description static FnFn. IDENTITYA function that returns the input value unchanged.Methods in ca.cgjennings.math that return Fn Modifier and Type Method Description static FnInterpolation. createLerpFunction(double low, double high)Returns a function that performs linear interpolation.static FnInterpolation. createMapFunction(double low1, double high1, double low2, double high2)Returns a function that maps the input x value from the range (low1, high1) to (low2, high2). -
Uses of Fn in ca.cgjennings.ui.anim
Methods in ca.cgjennings.ui.anim that return Fn Modifier and Type Method Description FnTimeShiftedComposer. getShiftFunction()Returns the time shifting function to be applied to the animation.Methods in ca.cgjennings.ui.anim with parameters of type Fn Modifier and Type Method Description voidTimeShiftedComposer. setShiftFunction(Fn f)Sets the time shifting function to be applied to the animation.Constructors in ca.cgjennings.ui.anim with parameters of type Fn Constructor Description TimeShiftedComposer(Fn timeFunction, Animation animation)Creates a new time shifted composer that wraps the specified animation.TimeShiftedComposer(Fn timeFunction, FrameComposer composer)Creates a new time shifted composer that wraps the specified animation.
-