![]() |
VCG Library
|
Generation of per-vertex and per-face topological information. More...
#include <vcg/complex/algorithms/update/topology.h>
Classes | |
class | PEdge |
Auxiliairy data structure for computing face face adjacency information. More... | |
class | PEdgeTex |
Auxiliairy data structure for computing face face adjacency information. More... | |
class | PFace |
Auxiliary data structure for computing tetra tetra adjacency information. More... | |
class | PVertexEdge |
Static Public Member Functions | |
static void | FillEdgeVector (MeshType &m, std::vector< PEdge > &edgeVec, bool includeFauxEdge=true) |
static void | AllocateEdge (MeshType &m) |
Initialize the edge vector all the edges that can be inferred from current face vector, setting up all the current adjacency relations. | |
static void | ClearTetraTetra (MeshType &m) |
Clear the tetra-tetra topological relation, setting each involved pointer to null. useful when you passed a mesh with tt adjacency to an algorithm that does not use it and chould have messed it. | |
static void | TetraTetra (MeshType &m) |
Updates the Tetra-Tetra topological relation by allowing to retrieve for each tetra what other tetras share their faces. | |
static void | ClearFaceFace (MeshType &m) |
Clear the Face-Face topological relation setting each involved pointer to null. useful when you passed a mesh with ff adjacency to an algorithm that does not use it and could have messed it. | |
static void | FaceFace (MeshType &m) |
Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges. | |
static void | VertexTetra (MeshType &m) |
Update the vertex-tetra topological relation. | |
static void | VertexFace (MeshType &m) |
Update the Vertex-Face topological relation. | |
static void | FaceFaceFromTexCoord (MeshType &m) |
Update the Face-Face topological relation so that it reflects the per-wedge texture connectivity. | |
static void | TestVertexEdge (MeshType &m) |
Test correctness of VEtopology. | |
static void | TestVertexFace (MeshType &m) |
Test correctness of VFtopology. | |
static void | TestFaceFace (MeshType &m) |
Test correctness of FFtopology (only for 2Manifold Meshes!) | |
Generation of per-vertex and per-face topological information.
Definition at line 36 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Initialize the edge vector all the edges that can be inferred from current face vector, setting up all the current adjacency relations.
Definition at line 243 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Clear the Face-Face topological relation setting each involved pointer to null. useful when you passed a mesh with ff adjacency to an algorithm that does not use it and could have messed it.
Definition at line 374 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Clear the tetra-tetra topological relation, setting each involved pointer to null. useful when you passed a mesh with tt adjacency to an algorithm that does not use it and chould have messed it.
Definition at line 320 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Update the Face-Face topological relation by allowing to retrieve for each face what other faces shares their edges.
Definition at line 391 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Update the Face-Face topological relation so that it reflects the per-wedge texture connectivity.
Using this function two faces are adjacent along the FF relation IFF the two faces have matching texture coords along the involved edge. In other words F1->FFp(i) == F2 iff F1 and F2 have the same tex coords along edge i
Definition at line 546 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Fill a vector with all the edges of the mesh. each edge is stored in the vector the number of times that it appears in the mesh, with the referring face. optionally it can skip the faux edges (to retrieve only the real edges of a triangulated polygonal mesh)
Definition at line 194 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Test correctness of FFtopology (only for 2Manifold Meshes!)
Definition at line 656 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Test correctness of VEtopology.
Definition at line 582 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Test correctness of VFtopology.
Definition at line 616 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Updates the Tetra-Tetra topological relation by allowing to retrieve for each tetra what other tetras share their faces.
Definition at line 333 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Update the Vertex-Face topological relation.
The function allows to retrieve for each vertex the list of faces sharing this vertex. After this call all the VF component are initialized. Isolated vertices have a null list of faces.
Definition at line 465 of file complex/algorithms/update/topology.h.
|
inlinestatic |
Update the vertex-tetra topological relation.
Definition at line 435 of file complex/algorithms/update/topology.h.