public static enum Joint.Type extends java.lang.Enum<Joint.Type>
Enum Constant and Description |
---|
CARTESIAN2
a 2-DoF joint allowing x-y translation only
|
CARTESIAN3
a 3-DoF joint allowing x-y-z translation only
|
CYLINDRICAL
a 2-DoF joint allowing z twist and z translation only
|
FIXED
a 0-DoF joint allowing no motion
|
GENERAL
a 6-DoF joint allowing all rigid transforms
|
PIN_SLIDER
a 2-DoF joint allowing z twist and x translation only
|
PLANAR
a 3-DoF joint allowing z twist and x-y translation only
|
POINT_PLANE
a 5-DoF joint allowing spatial rotation and x-y translation only
|
POINT_SLIDER
a 4-DoF joint allowing spatial rotation and x translation only
|
PRISMATIC
a 1-DoF joint allowing z translation only
|
REVOLUTE
a 1-DoF joint allowing z twist only
|
SPHERICAL
a 3-DoF joint allowing all and only spatial rotations
|
Modifier and Type | Field and Description |
---|---|
int[] |
dofIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
dofName
names of Degrees of Freedom and Degrees of Invariance
|
int[] |
doiIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
doiName
names of Degrees of Freedom and Degrees of Invariance
|
double[] |
invariant
For each parameter that is a DoI this gives the constrained value of
that parameter.
|
java.lang.String |
mnemonic
Short and unique mnemonic string for this type, or null if none.
|
vona.j3d.RouteWidget.RouteType |
mobilityRouteType
The type of route to set when creating a
RouteWidget to
display the mobility transform, or null if none. |
int |
numDoF
number of Degrees of Freedom and Degrees of Invariance
|
int |
numDoI
number of Degrees of Freedom and Degrees of Invariance
|
int |
numRotationDoF
number of Degrees of Freedom and Degrees of Invariance
|
int |
numRotationDoI
number of Degrees of Freedom and Degrees of Invariance
|
int |
numTranslationDoF
number of Degrees of Freedom and Degrees of Invariance
|
int |
numTranslationDoI
number of Degrees of Freedom and Degrees of Invariance
|
double[] |
packedInvariants
For each parameter that is a DoI this gives the constrained value of
that parameter.
|
int[] |
rotationDoFIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
rotationDoFName
names of Degrees of Freedom and Degrees of Invariance
|
int[] |
rotationDoIIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
rotationDoIName
names of Degrees of Freedom and Degrees of Invariance
|
int[] |
translationDoFIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
translationDoFName
names of Degrees of Freedom and Degrees of Invariance
|
int[] |
translationDoIIndex
indices of Degrees of Freedom and Degrees of Invariance
|
java.lang.String[] |
translationDoIName
names of Degrees of Freedom and Degrees of Invariance
|
Modifier and Type | Method and Description |
---|---|
static Joint.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Joint.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Joint.Type REVOLUTE
public static final Joint.Type PRISMATIC
public static final Joint.Type CYLINDRICAL
public static final Joint.Type SPHERICAL
public static final Joint.Type PLANAR
public static final Joint.Type CARTESIAN2
public static final Joint.Type CARTESIAN3
public static final Joint.Type PIN_SLIDER
public static final Joint.Type POINT_SLIDER
public static final Joint.Type POINT_PLANE
public static final Joint.Type GENERAL
public static final Joint.Type FIXED
public final int numDoF
public final int numTranslationDoF
public final int numRotationDoF
public final int numDoI
public final int numTranslationDoI
public final int numRotationDoI
public final int[] dofIndex
public final int[] translationDoFIndex
public final int[] rotationDoFIndex
public final int[] doiIndex
public final int[] translationDoIIndex
public final int[] rotationDoIIndex
public final java.lang.String[] dofName
public final java.lang.String[] translationDoFName
public final java.lang.String[] rotationDoFName
public final java.lang.String[] doiName
public final java.lang.String[] translationDoIName
public final java.lang.String[] rotationDoIName
public final double[] invariant
For each parameter that is a DoI this gives the constrained value of that parameter.
invariant
is NaN for DoF parameters, packedInvariants
elides them entirely.
public final double[] packedInvariants
For each parameter that is a DoI this gives the constrained value of that parameter.
invariant
is NaN for DoF parameters, packedInvariants
elides them entirely.
public final vona.j3d.RouteWidget.RouteType mobilityRouteType
The type of route to set when creating a RouteWidget
to
display the mobility transform, or null if none.
public final java.lang.String mnemonic
Short and unique mnemonic string for this type, or null if none.
public static Joint.Type[] values()
for (Joint.Type c : Joint.Type.values()) System.out.println(c);
public static Joint.Type 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 null