public class DAEMSimJoint extends DAEMSimLinkageNode
COLLADA "extra" element corresponding to MSim Joint
.
Copyright (C) 2010 Marsette A. Vona, III
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
childToMobility
child_to_mobility achild element TBD custom marshal?
|
private static java.lang.String |
cvsid |
double[] |
dofLimits
dof_limits child element TBD custom marshal?
|
double[] |
dofLock
dof_lock child element TBD custom marshal?
|
double[] |
dofPosture
dof_posture child element TBD custom marshal?
|
double[] |
dofTarget
dof_target child element TBD custom marshal?
|
Joint.Type |
jointType
joint_type attribute TBD custom marshal?
|
boolean |
mobilityInverted
mobility_inverted attribute
|
java.lang.String[] |
mobilityToParent
mobility_to_parent child element TBD custom marshal?
|
boolean |
positioningTransformsLocked
positioning_transforms_locked attribute
|
float |
softGoalPriority
soft_goal_priority attribute
|
double |
softGoalWeight
soft_goal_weight attribute
|
DAEMSimStiffnessProps |
stiffnessProps
stiffness_props child element
|
explicitlyHidden, explicitlyHighlighted, explicitlyMasked, explicitlyVisible, name
MSIM_EXTRAS, MSIM_EXTRAS_ARRAY, MSIM_PROFILE
Constructor and Description |
---|
DAEMSimJoint() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChildSubframe()
Get the name of the child subframe indicated by
childToMobility , if any. |
java.lang.String |
getParentSubframe()
Get the name of the parent subframe indicated by
mobilityToParent , if any. |
DAEMSimJoint |
readFrom(Joint joint)
Read all settings from joint.
|
DAEMSimJoint |
writeChildToMobilityTo(Joint joint)
Interpret
childToMobility as either a subframe name or an
RX TXEM vector, and set it to joint. |
DAEMSimJoint |
writeMobilityToParentTo(Joint joint)
Interpret
mobilityToParent as either a subframe name or an
RX TXEM vector, and set it to joint. |
DAEMSimJoint |
writeTo(Joint joint,
vona.math.RX jointRX)
Write all settings to joint.
|
getXMLElementName, getXMLElementName, parse, parse, unparse, unparse
private static final java.lang.String cvsid
public Joint.Type jointType
public boolean mobilityInverted
public boolean positioningTransformsLocked
public float softGoalPriority
public double softGoalWeight
public java.lang.String[] childToMobility
public java.lang.String[] mobilityToParent
public double[] dofLimits
public double[] dofTarget
public double[] dofPosture
public double[] dofLock
public DAEMSimStiffnessProps stiffnessProps
public DAEMSimJoint writeTo(Joint joint, vona.math.RX jointRX)
Write all settings to joint.
The joint transform must be supplied by the caller, as it corresponds to the pose of the ancestor COLLADA "node" containing this extra element.
DAEMSimLinkageNode.name
is not written to joint.
public DAEMSimJoint writeMobilityToParentTo(Joint joint)
Interpret mobilityToParent
as either a subframe name or an
RX
TXEM vector, and set it to joint.
Subframe can only be set if joint is currently connected to a parent link (else it is ignored).
public DAEMSimJoint writeChildToMobilityTo(Joint joint)
Interpret childToMobility
as either a subframe name or an
RX
TXEM vector, and set it to joint.
Subframe can only be set if joint is currently connected to a child link (else it is ignored).
public DAEMSimJoint readFrom(Joint joint)
Read all settings from joint.
Note that the overall joint transform corresponds to the pose of the ancestor COLLADA "node" containing this extra element.
DAEMSimLinkageNode.name
is read from joint.
public java.lang.String getChildSubframe()
Get the name of the child subframe indicated by childToMobility
, if any.
public java.lang.String getParentSubframe()
Get the name of the parent subframe indicated by mobilityToParent
, if any.