Functions | |
template<class EdgeType > | |
bool | vcg::edge::IsEdgeBorder (EdgeType const &e, const int j) |
template<class EdgeType > | |
bool | vcg::edge::IsEdgeManifoldFF (EdgeType const &e, const int j) |
template<class EdgeType > | |
void | vcg::edge::VEAppend (EdgeType *e, int z) |
Append an edge in the VE list of vertex e->V(z) | |
template<class EdgeType > | |
int | vcg::edge::VEDegree (const typename EdgeType::VertexType *vp) |
template<class EdgeType > | |
void | vcg::edge::VEDetach (EdgeType &e) |
Completely detach an edge from the VE adjacency. Useful before deleting it. | |
template<class EdgeType > | |
void | vcg::edge::VEDetach (EdgeType &e, int z) |
template<class MeshType > | |
void | vcg::edge::VEEdgeCollapse (MeshType &poly, typename MeshType::EdgeType *e0, const int z) |
template<class MeshType > | |
void | vcg::edge::VEEdgeCollapse (MeshType &poly, typename MeshType::VertexType *v) |
template<class MeshType > | |
void | vcg::edge::VEEdgeSplit (MeshType &poly, typename MeshType::EdgeType *e, typename MeshType::VertexType &v) |
template<class MeshType > | |
MeshType::VertexPointer | vcg::edge::VEEdgeSplit (MeshType &poly, typename MeshType::EdgeType *e, const typename MeshType::CoordType &p) |
template<class MeshType > | |
MeshType::VertexPointer | vcg::edge::VEEdgeSplit (MeshType &poly, typename MeshType::EdgeType *e, const typename MeshType::CoordType &p, const typename MeshType::CoordType &n) |
template<class EdgeType > | |
void | vcg::edge::VEStarVE (const typename EdgeType::VertexType *vp, std::vector< EdgeType * > &starVec) |
template<class VertexType > | |
void | vcg::edge::VVStarVE (VertexType *vp, std::vector< VertexType * > &starVec) |
bool vcg::edge::IsEdgeBorder | ( | EdgeType const & | e, |
const int | j | ||
) | [inline] |
Return a boolean that indicate if the j-th edge of the face is a border.
j | Index of the edge |
Definition at line 50 of file simplex/edge/topology.h.
bool vcg::edge::IsEdgeManifoldFF | ( | EdgeType const & | e, |
const int | j | ||
) | [inline] |
Definition at line 35 of file simplex/edge/topology.h.
void vcg::edge::VEAppend | ( | EdgeType * | e, |
int | z | ||
) |
Append an edge in the VE list of vertex e->V(z)
Definition at line 122 of file simplex/edge/topology.h.
int vcg::edge::VEDegree | ( | const typename EdgeType::VertexType * | vp | ) |
Returns the number of incident edges over a vertex vp; Using the VE adjacency.
It just follows the chain of incident edges of the VE adjacency.
Definition at line 242 of file simplex/edge/topology.h.
void vcg::edge::VEDetach | ( | EdgeType & | e | ) |
Completely detach an edge from the VE adjacency. Useful before deleting it.
Definition at line 85 of file simplex/edge/topology.h.
void vcg::edge::VEDetach | ( | EdgeType & | e, |
int | z | ||
) |
It detaches the given edge e from the VE adjacency on the vertex z It is used for careful hand stictching of topologies.
Definition at line 94 of file simplex/edge/topology.h.
void vcg::edge::VEEdgeCollapse | ( | MeshType & | poly, |
typename MeshType::EdgeType * | e0, | ||
const int | z | ||
) |
Perform a simple edge collapse using VE adjacency
It collapses the two edges incidnent on the indicated vertex so that the passed edge survives, the indicated vertex is deleted, and the edge ajacent to e0 along z is deleted too. It assumes that the edge mesh is 1-Manifold. If the indicated vertex <vd> is boundary or non manifold the function do nothing.
v0 vd v1 ---O-------O-------O--- z0 e0 z e1 z1
v0 v1 ---O---------------O--- e0
Definition at line 161 of file simplex/edge/topology.h.
void vcg::edge::VEEdgeCollapse | ( | MeshType & | poly, |
typename MeshType::VertexType * | v | ||
) |
Definition at line 197 of file simplex/edge/topology.h.
void vcg::edge::VEEdgeSplit | ( | MeshType & | poly, |
typename MeshType::EdgeType * | e, | ||
typename MeshType::VertexType & | v | ||
) |
Perform a simple edge split using VE adjacency
Definition at line 205 of file simplex/edge/topology.h.
MeshType::VertexPointer vcg::edge::VEEdgeSplit | ( | MeshType & | poly, |
typename MeshType::EdgeType * | e, | ||
const typename MeshType::CoordType & | p | ||
) |
Definition at line 220 of file simplex/edge/topology.h.
MeshType::VertexPointer vcg::edge::VEEdgeSplit | ( | MeshType & | poly, |
typename MeshType::EdgeType * | e, | ||
const typename MeshType::CoordType & | p, | ||
const typename MeshType::CoordType & | n | ||
) |
Definition at line 228 of file simplex/edge/topology.h.
void vcg::edge::VEStarVE | ( | const typename EdgeType::VertexType * | vp, |
std::vector< EdgeType * > & | starVec | ||
) |
Definition at line 72 of file simplex/edge/topology.h.
void vcg::edge::VVStarVE | ( | VertexType * | vp, |
std::vector< VertexType * > & | starVec | ||
) |
Definition at line 60 of file simplex/edge/topology.h.