|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjarp.MeshVertex
public class MeshVertex
A vertex on one of the meshes of the avatar.
Constructor Summary | |
---|---|
MeshVertex()
|
|
MeshVertex(JAInputStream jins,
int ix,
boolean mtgthasnorm)
Constructs this MeshVertex from the given stream. |
Method Summary | |
---|---|
void |
fixBoneReferences(Skeleton skeleton)
Defines the influencing-bones array for this vertex. |
int[] |
getAdjacentVertices()
Returns the array of indices of mesh-points adjacent to this one. |
Vector3f |
getBaseNormal(int b)
Returns the base-normal vector for this mesh-point. |
Bone |
getBone(int b)
Returns the specified influencing bone for this mesh-point. |
float |
getBoneEndDistance(int b)
Returns the distance from this point to its (main) bone-end. |
int |
getIndex()
Returns this point's index, w.r.t. |
int |
getNumBones()
Returns the number of bones influencing this point. |
Vector3f |
getOffset(int b)
Returns the specified offset vector for this mesh-point. |
float |
getWeight(int b)
Returns the specified weight component for this mesh-point. |
void |
save(JAOutputStream jouts)
Writes this MeshVertex to the given stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeshVertex()
public MeshVertex(JAInputStream jins, int ix, boolean mtgthasnorm) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public float getBoneEndDistance(int b)
public int getIndex()
public int getNumBones()
public Bone getBone(int b)
public float getWeight(int b)
public Vector3f getOffset(int b)
public Vector3f getBaseNormal(int b)
public int[] getAdjacentVertices()
public void fixBoneReferences(Skeleton skeleton)
public void save(JAOutputStream jouts) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |