Uses of Interface
toxi.math.InterpolateStrategy
-
Uses of InterpolateStrategy in toxi.color
Modifier and TypeMethodDescriptionvoid
ColorGradient.setInterpolator
(InterpolateStrategy interpolator) void
ToneMap.setMapFunction
(InterpolateStrategy func) -
Uses of InterpolateStrategy in toxi.geom
Modifier and TypeMethodDescriptionfinal GVector
GVector.interpolateTo
(GVector v, double alpha, InterpolateStrategy strategy) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.Quaternion.interpolateTo
(Quaternion target, float t, InterpolateStrategy is) ReadonlyVec2D.interpolateTo
(ReadonlyVec2D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
ReadonlyVec3D.interpolateTo
(ReadonlyVec3D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.ReadonlyVec4D.interpolateTo
(ReadonlyVec4D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.Vec2D.interpolateTo
(ReadonlyVec2D v, float f, InterpolateStrategy s) Vec2D.interpolateTo
(Vec2D v, float f, InterpolateStrategy s) final Vec3D
Vec3D.interpolateTo
(ReadonlyVec3D v, float f, InterpolateStrategy s) final Vec3D
Vec3D.interpolateTo
(Vec3D v, float f, InterpolateStrategy s) final Vec4D
Vec4D.interpolateTo
(ReadonlyVec4D v, float f, InterpolateStrategy s) final GVector
GVector.interpolateToSelf
(GVector v, double alpha, InterpolateStrategy strategy) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.Quaternion.interpolateToSelf
(Quaternion target, float t, InterpolateStrategy is) Uses spherical interpolation to approach the target quaternion.Vec2D.interpolateToSelf
(ReadonlyVec2D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
final Vec3D
Vec3D.interpolateToSelf
(ReadonlyVec3D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.final Vec4D
Vec4D.interpolateToSelf
(ReadonlyVec4D v, float f, InterpolateStrategy s) -
Uses of InterpolateStrategy in toxi.math
Modifier and TypeClassDescriptionclass
Bezier curve interpolation with configurable coefficients.class
Implementation of the circular interpolation function.class
Implementation of the cosine interpolation function: i = b+(a-b)*(0.5+0.5*cos(f*PI))class
Delivers a number of decimated/stepped values for a given interval.class
Exponential curve interpolation with adjustable exponent.class
Implementation of the linear interpolation function i = a + ( b - a ) * fclass
Implements the sigmoid interpolation function with adjustable curve sharpnessclass
Defines a single step/threshold function which returns the min value for all factors < threshold and the max value for all others.class
This class provides an adjustable zoom lens to either bundle or dilate values around a focal point within a given interval.Modifier and TypeMethodDescriptionvoid
ScaleMap.setMapFunction
(InterpolateStrategy func) Overrides the mapping function used for the scale conversion.