|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.femmodels.SkinMesh.BodyInfo
artisynth.core.femmodels.SkinMesh.FrameInfo
public class SkinMesh.FrameInfo
Contains information for each frame controlling this SkinMesh.
Method Summary | |
---|---|
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. |
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() . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setIndex(int idx)
public Frame getFrame()
public void setFrame(Frame frame)
public RigidTransform3d getBasePose()
public void setBasePose(RigidTransform3d T)
public RigidTransform3d getDeltaPose()
XFW * inv(XBW)The computation is done in
public DualQuaternion getBlendQuaternion()
getDeltaPose()
.
public PolygonalMesh getMesh()
SkinMesh.BodyInfo
getMesh
in class SkinMesh.BodyInfo
public 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |