|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Interpolation.Order>
maspack.interpolation.Interpolation.Order
public static enum Interpolation.Order
Order of the interpolation.
Enum Constant Summary | |
---|---|
Cubic
Values are set by cubic Catmull 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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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 SphericalLinear
public static final Interpolation.Order SphericalCubic
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |