public static class SkinMeshBody.FrameInfo extends SkinMeshBody.BodyInfo
Modifier and Type | Method and Description |
---|---|
RigidTransform3d |
getBasePose()
Returns the current base pose for this frame.
|
DualQuaternion |
getBlendQuaternion()
Returns the DualQuaternion representation of the transform
returned by
getDeltaPose() . |
Frame |
getBody() |
RigidTransform3d |
getDeltaPose()
Returns the displacement from the base pose to the Frame's
current pose.
|
Frame |
getFrame()
Returns the Frame component itself.
|
PolygonalMesh |
getMesh()
Returns the PolygonalMesh, if any, associated with this body.
|
void |
setBasePose(RigidTransform3d T)
Sets the base pose for this frame.
|
void |
setFrame(Frame frame) |
void |
updateDualQuaternion() |
void |
updatePosState(SkinMeshBody.FrameBlending frameBlending)
Computes the quantities returned by
getDeltaPose() , and, for
non-linear blending, getBlendQuaternion() . |
getIndex, setIndex
public Frame getFrame()
public void setFrame(Frame frame)
public RigidTransform3d getBasePose()
public void setBasePose(RigidTransform3d T)
public RigidTransform3d getDeltaPose()
TFW * inv(XBW)
public DualQuaternion getBlendQuaternion()
getDeltaPose()
.public PolygonalMesh getMesh()
SkinMeshBody.BodyInfo
getMesh
in class SkinMeshBody.BodyInfo
public Frame getBody()
getBody
in class SkinMeshBody.BodyInfo
public void updatePosState(SkinMeshBody.FrameBlending frameBlending)
getDeltaPose()
, and, for
non-linear blending, getBlendQuaternion()
. This should be
called, before these quantities are used, whenever the Frame's
pose changes.public void updateDualQuaternion()