public static enum Interpolation.Order extends java.lang.Enum<Interpolation.Order>
Enum Constant and Description |
---|
Cubic
Values are set by cubic Catmull interpolation between the surrounding
knot points.
|
CubicStep
Values are set by cubic hermite interpolation between the surrounding
knot points.
|
Linear
Values are set by linear interpolation of the closest surrounding knot
points.
|
Parabolic
Values are set by quadartic interpolation of the surrounding knot
points.
|
SphericalCubic
Where appropriate, 3D rotation values are set by spherical
cubic interpolation (i.e., "slerp", as described by Shoemake's 1985
SIGGRAPH paper).
|
SphericalLinear
Where appropriate, 3D rotation values are set by piecewise spherical
linear interpolation (i.e., "slerp", as described by Shoemake's 1985
SIGGRAPH paper).
|
Step
Values are set to the values of the closest previous knots points.
|
Modifier and Type | Method and Description |
---|---|
static Interpolation.Order |
fromString(java.lang.String str) |
static Interpolation.Order |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Interpolation.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interpolation.Order Step
public static final Interpolation.Order Linear
public static final Interpolation.Order Parabolic
public static final Interpolation.Order Cubic
public static final Interpolation.Order CubicStep
public static final Interpolation.Order SphericalLinear
public static final Interpolation.Order SphericalCubic
public static Interpolation.Order[] values()
for (Interpolation.Order c : Interpolation.Order.values()) System.out.println(c);
public static Interpolation.Order valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Interpolation.Order fromString(java.lang.String str)