Package WildMagic.LibFoundation.Meshes
Class MeshSmoother
- java.lang.Object
-
- WildMagic.LibFoundation.Meshes.MeshSmoother
-
- All Implemented Interfaces:
java.io.Serializable
public class MeshSmoother extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]m_aiIndexprotected int[]m_aiNeighborCountprotected Vector3f[]m_akMeanprotected Vector3f[]m_akNormalprotected Vector3f[]m_akVertexprotected intm_iTQuantityprotected intm_iVQuantityprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description MeshSmoother()MeshSmoother(int iVQuantity, Vector3f[] akVertex, int iTQuantity, int[] aiIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidCreate(int iVQuantity, Vector3f[] akVertex, int iTQuantity, int[] aiIndex)voidDestroy()voiddispose()int[]GetIndices()Vector3f[]GetMeans()Vector3f[]GetNormals()protected floatGetNormalWeight(int i, float fTime)protected floatGetTangentWeight(int i, float fTime)intGetTQuantity()Vector3f[]GetVertices()intGetVQuantity()voidUpdate()voidUpdate(float fTime)protected booleanVertexInfluenced(int i, float fTime)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
m_iVQuantity
protected int m_iVQuantity
-
m_akVertex
protected Vector3f[] m_akVertex
-
m_iTQuantity
protected int m_iTQuantity
-
m_aiIndex
protected int[] m_aiIndex
-
m_akNormal
protected Vector3f[] m_akNormal
-
m_akMean
protected Vector3f[] m_akMean
-
m_aiNeighborCount
protected int[] m_aiNeighborCount
-
-
Constructor Detail
-
MeshSmoother
public MeshSmoother()
-
MeshSmoother
public MeshSmoother(int iVQuantity, Vector3f[] akVertex, int iTQuantity, int[] aiIndex)
-
-
Method Detail
-
Create
public void Create(int iVQuantity, Vector3f[] akVertex, int iTQuantity, int[] aiIndex)
-
Destroy
public void Destroy()
-
dispose
public void dispose()
-
GetIndices
public int[] GetIndices()
-
GetMeans
public Vector3f[] GetMeans()
-
GetNormals
public Vector3f[] GetNormals()
-
GetTQuantity
public int GetTQuantity()
-
GetVertices
public Vector3f[] GetVertices()
-
GetVQuantity
public int GetVQuantity()
-
Update
public void Update()
-
Update
public void Update(float fTime)
-
GetNormalWeight
protected float GetNormalWeight(int i, float fTime)
-
GetTangentWeight
protected float GetTangentWeight(int i, float fTime)
-
VertexInfluenced
protected boolean VertexInfluenced(int i, float fTime)
-
-