public 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(). |
RigidTransform3d |
getDeltaPose()
Returns the displacement from the base pose to the Frame's
current pose.
|
Frame |
getFrame()
Returns the Frame component itself.
|
int |
getIndex() |
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 |
setIndex(int idx) |
void |
updateDualQuaternion() |
void |
updatePosState()
Computes the quantities returned by
getDeltaPose(), and, for
non-linear blending, getBlendQuaternion(). |
public void setIndex(int idx)
public int getIndex()
public Frame getFrame()
public void setFrame(Frame frame)
public RigidTransform3d getBasePose()
public void setBasePose(RigidTransform3d T)
public RigidTransform3d getDeltaPose()
TFW * inv(XBW)The computation is done in
public DualQuaternion getBlendQuaternion()
getDeltaPose().public PolygonalMesh getMesh()
SkinMeshBody.BodyInfogetMesh in class SkinMeshBody.BodyInfopublic void updatePosState()
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()