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_aiIndex
protected int[]
m_aiNeighborCount
protected Vector3f[]
m_akMean
protected Vector3f[]
m_akNormal
protected Vector3f[]
m_akVertex
protected int
m_iTQuantity
protected int
m_iVQuantity
private static long
serialVersionUID
-
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 void
Create(int iVQuantity, Vector3f[] akVertex, int iTQuantity, int[] aiIndex)
void
Destroy()
void
dispose()
int[]
GetIndices()
Vector3f[]
GetMeans()
Vector3f[]
GetNormals()
protected float
GetNormalWeight(int i, float fTime)
protected float
GetTangentWeight(int i, float fTime)
int
GetTQuantity()
Vector3f[]
GetVertices()
int
GetVQuantity()
void
Update()
void
Update(float fTime)
protected boolean
VertexInfluenced(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)
-
-