![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static void | AdjSetsSmoother (MeshData mData, AdjacencySets adjacencySets) |
static void | ConditionalAdjSetsSmoother (MeshData mData, AdjacencySets adjacencySets) |
static void | AdjSetsHCSmoother (Mesh mesh, AdjacencySets adjacencySets) |
Static Private Member Functions | |
static Vector3 | TrueAverageVertex (List< Vector3 > neighbors, Vector3 v) |
static Vector3 | AverageOfNeighbors (List< Vector3 > neighbors) |
static Vector3 | NudgeVertex (List< Vector3 > neighbors, Vector3 v) |
static void | BuildNeighborsLists (AdjacencySets adjSets, List< Vector3 > neighbors, List< int > neighborIndices, int i, Vector3[] vertices) |
static bool | IsInsideVertex (List< Vector3 > neighbors, List< int > nIndices, AdjacencySets aSets) |
Static Private Attributes | |
static float | NUDGE_COEF = 0.05f |
static float | BETA = 0.85f |
static float | ONE_MINUS_BETA = 1f - BETA |
static float | HC_CORRECT = 0.2f |
Definition at line 12 of file SmoothFilter.cs.
|
static |
Definition at line 188 of file SmoothFilter.cs.
References AverageOfNeighbors(), BuildNeighborsLists(), IsInsideVertex(), and TrueAverageVertex().
|
static |
Definition at line 153 of file SmoothFilter.cs.
References BuildNeighborsLists(), TrueAverageVertex(), and MeshData.vertices.
Referenced by GenerateMesh.CreateSurfaceObjects().
|
staticprivate |
Definition at line 82 of file SmoothFilter.cs.
Referenced by AdjSetsHCSmoother().
|
staticprivate |
Definition at line 107 of file SmoothFilter.cs.
References AdjacencySets.GetAdjacencySet().
Referenced by AdjSetsHCSmoother(), AdjSetsSmoother(), and ConditionalAdjSetsSmoother().
|
static |
Definition at line 169 of file SmoothFilter.cs.
References BuildNeighborsLists(), IsInsideVertex(), TrueAverageVertex(), and MeshData.vertices.
|
staticprivate |
Definition at line 119 of file SmoothFilter.cs.
References AdjacencySets.GetAdjacencySet().
Referenced by AdjSetsHCSmoother(), and ConditionalAdjSetsSmoother().
|
staticprivate |
Definition at line 95 of file SmoothFilter.cs.
|
staticprivate |
Definition at line 65 of file SmoothFilter.cs.
Referenced by AdjSetsHCSmoother(), AdjSetsSmoother(), and ConditionalAdjSetsSmoother().
|
staticprivate |
Definition at line 14 of file SmoothFilter.cs.
|
staticprivate |
Definition at line 21 of file SmoothFilter.cs.
|
staticprivate |
Definition at line 13 of file SmoothFilter.cs.
|
staticprivate |
Definition at line 15 of file SmoothFilter.cs.