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 class
AbstractFunctionFilter
An abstract base class for filters that apply a transfer function to the red, green, and blue channels to produce a result.class
BrightnessContrastFilter
An 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 Fn
ChannelFunctionFilter. getAlphaFunction()
Fn
ChannelFunctionFilter. getBlueFunction()
Fn
ChannelFunctionFilter. getGreenFunction()
Fn
ChannelFunctionFilter. getRedFunction()
Methods in ca.cgjennings.graphics.filters with parameters of type Fn Modifier and Type Method Description void
ChannelFunctionFilter. setAlphaFunction(Fn alphaFunction)
void
ChannelFunctionFilter. setBlueFunction(Fn blueFunction)
void
ChannelFunctionFilter. setGreenFunction(Fn greenFunction)
void
ChannelFunctionFilter. 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 class
Interpolation.CubicSpline
A CubicSpline interpolator passes through each point in its data set, connecting the points with cubic spline curves.static class
Interpolation.InterpolatedFunction
This is a base class for interpolated functions.static class
Interpolation.LinearRegression
A LinearRegression function finds the line of best fit for a set of (usually noisy) data points.static class
Interpolation.QuadraticRegression
A 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 Fn
Fn. IDENTITY
A function that returns the input value unchanged.Methods in ca.cgjennings.math that return Fn Modifier and Type Method Description static Fn
Interpolation. createLerpFunction(double low, double high)
Returns a function that performs linear interpolation.static Fn
Interpolation. 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 Fn
TimeShiftedComposer. 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 void
TimeShiftedComposer. 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.
-