Face

Classes

class  vcg::face::JumpingPos< FACE_TYPE >
class  vcg::face::Pos< FaceType >
class  vcg::face::PosN< FaceType >
class  vcg::face::VFIterator< FaceType >

Functions

template<class FaceType >
void vcg::face::AssertAdj (FaceType &f)
template<class FaceType >
void vcg::face::Attach (FaceType *&f, int z1, FaceType *&f2, int z2)
template<class FaceType >
int vcg::face::BorderCount (FaceType const &f)
 Count border edges of the face.
template<class FaceType >
static bool vcg::face::CheckFlipEdge (FaceType &f, int z)
template<class FaceType >
bool vcg::face::CheckOrientation (FaceType &f, int z)
template<class FaceType >
int vcg::face::ComplexSize (FaceType &f, const int e)
 Counts the number of incident faces in a complex edge.
template<class FaceType >
int vcg::face::CountSharedVertex (FaceType *f0, FaceType *f1)
template<class FaceType >
bool vcg::face::FFCorrectness (FaceType &f, const int e)
template<class FaceType >
void vcg::face::FFDetach (FaceType &f, const int e)
template<class FaceType >
void vcg::face::FFDetachManifold (FaceType &f, const int e)
template<class FaceType >
static void vcg::face::FlipEdge (FaceType &f, const int z)
template<class FaceType >
bool vcg::face::IsBorder (FaceType const &f, const int j)
template<class FaceType >
bool vcg::face::IsManifold (FaceType const &f, const int j)
template<class FaceType >
bool vcg::face::SharedVertex (FaceType *f0, FaceType *f1, int &i, int &j)
template<class FaceType >
bool vcg::face::ShareEdgeFF (FaceType *f0, FaceType *f1, int *i0=0, int *i1=0)
template<class FaceType >
void vcg::face::SwapEdge (FaceType &f, const int z)
template<class FaceType >
void vcg::face::VFAppend (FaceType *&f, int z)
 Append a face in VF list of vertex f->V(z).
template<class FaceType >
void vcg::face::VFDetach (FaceType &f, int z)
template<class FaceType >
void vcg::face::VVStarVF (typename FaceType::VertexType *vp, std::vector< typename FaceType::VertexType * > &starVec)

Detailed Description


Function Documentation

template<class FaceType >
void vcg::face::AssertAdj ( FaceType &  f  )  [inline]

Definition at line 265 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::Attach ( FaceType *&  f,
int  z1,
FaceType *&  f2,
int  z2 
) [inline]

This function attach the face (via the edge z1) to another face (via the edge z2). It's possible to use it also in non-two manifold situation. The function cannot be applicated if the adjacencies among faces aren't define.

Parameters:
z1 Index of the edge
f2 Pointer to the face
z2 The edge of the face f2

Definition at line 240 of file simplex/face/topology.h.

template<class FaceType >
int vcg::face::BorderCount ( FaceType const &  f  )  [inline]

Count border edges of the face.

Definition at line 68 of file simplex/face/topology.h.

template<class FaceType >
static bool vcg::face::CheckFlipEdge ( FaceType &  f,
int  z 
) [inline, static]

Check if the z-th edge of the face f can be flipped.

Parameters:
f pointer to the face
z the edge index

Definition at line 364 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::CheckOrientation ( FaceType &  f,
int  z 
) [inline]

Check if the given face is oriented as the one adjacent to the specified edge.

Parameters:
f Face to check the orientation
z Index of the edge

Definition at line 291 of file simplex/face/topology.h.

template<class FaceType >
int vcg::face::ComplexSize ( FaceType &  f,
const int  e 
) [inline]

Counts the number of incident faces in a complex edge.

Definition at line 84 of file simplex/face/topology.h.

template<class FaceType >
int vcg::face::CountSharedVertex ( FaceType *  f0,
FaceType *  f1 
) [inline]

Count the number of vertices shared between two faces.

Parameters:
f0,f1 the two face to be checked ;

Definition at line 562 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::FFCorrectness ( FaceType &  f,
const int  e 
) [inline]

This function check the FF topology correctness for an edge of a face. It's possible to use it also in non-two manifold situation. The function cannot be applicated if the adjacencies among faces aren't defined.

Parameters:
f the face to be checked
e Index of the edge to be checked

Definition at line 117 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::FFDetach ( FaceType &  f,
const int  e 
) [inline]

This function detach the face from the adjacent face via the edge e. It's possible to use it also in non-two manifold situation. The function cannot be applicated if the adjacencies among faces aren't defined.

Parameters:
f the face to be detached
e Index of the edge to be detached

Definition at line 188 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::FFDetachManifold ( FaceType &  f,
const int  e 
) [inline]

This function detach the face from the adjacent face via the edge e. It's possible to use this function it ONLY in non-two manifold situation. The function cannot be applicated if the adjacencies among faces aren't defined.

Parameters:
f the face to be detached
e Index of the edge to be detached

Definition at line 158 of file simplex/face/topology.h.

template<class FaceType >
static void vcg::face::FlipEdge ( FaceType &  f,
const int  z 
) [inline, static]

Flip the z-th edge of the face f. Check for topological correctness first using CheckFlipFace().

Parameters:
f pointer to the face
z the edge index

Note: For edge flip we intend the swap of the diagonal of the rectangle formed by the face f and the face adjacent to the specified edge.

Definition at line 409 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::IsBorder ( FaceType const &  f,
const int  j 
) [inline]

Return a boolean that indicate if the j-th edge of the face is a border.

Parameters:
j Index of the edge
Returns:
true if j is an edge of border, false otherwise

Definition at line 55 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::IsManifold ( FaceType const &  f,
const int  j 
) [inline]

Return a boolean that indicate if the face is complex.

Parameters:
j Index of the edge
Returns:
true se la faccia e' manifold, false altrimenti

Definition at line 41 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::SharedVertex ( FaceType *  f0,
FaceType *  f1,
int &  i,
int &  j 
) [inline]

find the first shared vertex between two faces.

Parameters:
f0,f1 the two face to be checked
i,j the indexes of the shared vertex in the two faces. Meaningful only if there is one single shared vertex ;

Definition at line 580 of file simplex/face/topology.h.

template<class FaceType >
bool vcg::face::ShareEdgeFF ( FaceType *  f0,
FaceType *  f1,
int *  i0 = 0,
int *  i1 = 0 
) [inline]

Check if two faces share and edge through the FF topology.

Parameters:
f0,f1 the two face to be checked
i0,i1 the index of the shared edge;

Definition at line 541 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::SwapEdge ( FaceType &  f,
const int  z 
) [inline]

This function change the orientation of the face by inverting the index of two vertex.

Parameters:
z Index of the edge

Definition at line 312 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::VFAppend ( FaceType *&  f,
int  z 
) [inline]

Append a face in VF list of vertex f->V(z).

Definition at line 494 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::VFDetach ( FaceType &  f,
int  z 
) [inline]

Definition at line 464 of file simplex/face/topology.h.

template<class FaceType >
void vcg::face::VVStarVF ( typename FaceType::VertexType *  vp,
std::vector< typename FaceType::VertexType * > &  starVec 
) [inline]

Compute the set of vertices adjacent to a given vertex using VF adjacency.

Parameters:
vp pointer to the vertex whose star has to be computed.
starVec a std::vector of Vertex pointer that is filled with the adjacent vertices.

Definition at line 517 of file simplex/face/topology.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:21:30 2013