|
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Collaboration diagram for VertexTree:Public Member Functions | |
| VertexTree (Vector3 b0, Vector3 b1) | |
| int | AddVertex (Vector3 v, int ind) |
| bool | FindOrAddVertex (Vector3 v, int ind) |
| int | GetIndex (Vector3 v) |
Private Member Functions | |
| void | AddVertexToLeaf (Vector3 v, int i) |
| Vector3 | GetOffset (Vector3 b0, Vector3 b1, int i) |
| int | GetChildIndex (Vector3 v) |
| void | Subdivide () |
Private Attributes | |
| Vector3 | bound0 |
| Vector3 | bound1 |
| Vector3 | split |
| List< Vector3 > | vertices |
| List< int > | indices |
| VertexTree[] | children |
| bool | isLeaf = true |
Static Private Attributes | |
| static float | THRESHOLD = 0.01f |
| static float | SQ_THRESHOLD = THRESHOLD * THRESHOLD |
| static int | MAX_VERTICES = 16 |
Definition at line 5 of file VertexTree.cs.
| VertexTree.VertexTree | ( | Vector3 | b0, |
| Vector3 | b1 | ||
| ) |
Definition at line 20 of file VertexTree.cs.
Referenced by Subdivide().
Here is the caller graph for this function:| int VertexTree.AddVertex | ( | Vector3 | v, |
| int | ind | ||
| ) |
Definition at line 111 of file VertexTree.cs.
References AddVertex(), AddVertexToLeaf(), and GetChildIndex().
Referenced by AddVertex(), and MarchingCubes.MarchCube().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 29 of file VertexTree.cs.
References Subdivide().
Referenced by AddVertex(), FindOrAddVertex(), and Subdivide().
Here is the call graph for this function:
Here is the caller graph for this function:| bool VertexTree.FindOrAddVertex | ( | Vector3 | v, |
| int | ind | ||
| ) |
Definition at line 135 of file VertexTree.cs.
References AddVertexToLeaf(), FindOrAddVertex(), and GetChildIndex().
Referenced by FindOrAddVertex().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 73 of file VertexTree.cs.
Referenced by AddVertex(), FindOrAddVertex(), GetIndex(), and Subdivide().
Here is the caller graph for this function:| int VertexTree.GetIndex | ( | Vector3 | v | ) |
Definition at line 158 of file VertexTree.cs.
References GetChildIndex(), and GetIndex().
Referenced by GetIndex().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 38 of file VertexTree.cs.
Referenced by Subdivide().
Here is the caller graph for this function:
|
private |
Definition at line 86 of file VertexTree.cs.
References AddVertexToLeaf(), bound0, GetChildIndex(), GetOffset(), MAX_VERTICES, and VertexTree().
Referenced by AddVertexToLeaf().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 6 of file VertexTree.cs.
Referenced by Subdivide().
|
private |
Definition at line 6 of file VertexTree.cs.
|
private |
Definition at line 10 of file VertexTree.cs.
|
private |
Definition at line 9 of file VertexTree.cs.
|
private |
Definition at line 11 of file VertexTree.cs.
|
staticprivate |
Definition at line 16 of file VertexTree.cs.
Referenced by Subdivide().
|
private |
Definition at line 6 of file VertexTree.cs.
Definition at line 15 of file VertexTree.cs.
|
staticprivate |
Definition at line 14 of file VertexTree.cs.
|
private |
Definition at line 8 of file VertexTree.cs.