vcg::tri::UpdateFlags< UpdateMeshType > Class Template Reference
[Trimesh]

Management, updating and computation of per-vertex and per-face flags (like border flags). More...

#include <vcg/complex/trimesh/update/flag.h>

List of all members.

Classes

class  EdgeSorter

Public Types

typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FacePointer FacePointer
typedef MeshType::FaceType FaceType
typedef UpdateMeshType MeshType
typedef vcg::face::Pos
< typename
UpdateMeshType::FaceType > 
PosType
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Static Public Member Functions

static void Clear (MeshType &m)
 Reset all the mesh flags (both vertexes and faces) setting everithing to zero (the default value for flags).
static void FaceBorderFromFF (MeshType &m)
 Compute the border flags for the faces using the Face-Face Topology.
static void FaceBorderFromNone (MeshType &m)
static void FaceBorderFromVF (MeshType &m)
static void FaceClear (MeshType &m, unsigned int FlagMask=0xffffffff)
static void FaceClearB (MeshType &m)
static void FaceClearF (MeshType &m)
static void FaceClearV (MeshType &m)
static void FaceFauxCrease (MeshType &m, float AngleRad)
static void FaceProjection (MeshType &m)
static void FaceSet (MeshType &m, unsigned int FlagMask)
static void FaceSetB (MeshType &m)
static void FaceSetF (MeshType &m)
static void FaceSetV (MeshType &m)
static void VertexBorderFromFace (MeshType &m)
 Compute the PerVertex Border flag deriving it from the faces.
static void VertexBorderFromNone (MeshType &m)
static void VertexClear (MeshType &m, unsigned int FlagMask=0xffffffff)
static void VertexClearB (MeshType &m)
static void VertexClearV (MeshType &m)
static void VertexSet (MeshType &m, unsigned int FlagMask)
static void VertexSetB (MeshType &m)
static void VertexSetV (MeshType &m)

Detailed Description

template<class UpdateMeshType>
class vcg::tri::UpdateFlags< UpdateMeshType >

Management, updating and computation of per-vertex and per-face flags (like border flags).

This class is used to compute or update some of the flags that can be stored in the mesh components. For now just Border flags (e.g. the flag that tells if a given edge of a face belong to a border of the mesh or not).

Definition at line 107 of file flag.h.


Member Typedef Documentation

template<class UpdateMeshType >
typedef MeshType::FaceIterator vcg::tri::UpdateFlags< UpdateMeshType >::FaceIterator

Definition at line 119 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::FacePointer vcg::tri::UpdateFlags< UpdateMeshType >::FacePointer

Definition at line 118 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::FaceType vcg::tri::UpdateFlags< UpdateMeshType >::FaceType

Definition at line 117 of file flag.h.

template<class UpdateMeshType >
typedef UpdateMeshType vcg::tri::UpdateFlags< UpdateMeshType >::MeshType

Definition at line 111 of file flag.h.

template<class UpdateMeshType >
typedef vcg::face::Pos<typename UpdateMeshType::FaceType> vcg::tri::UpdateFlags< UpdateMeshType >::PosType

Definition at line 112 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::ScalarType vcg::tri::UpdateFlags< UpdateMeshType >::ScalarType

Definition at line 113 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::VertexIterator vcg::tri::UpdateFlags< UpdateMeshType >::VertexIterator

Definition at line 116 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::VertexPointer vcg::tri::UpdateFlags< UpdateMeshType >::VertexPointer

Definition at line 115 of file flag.h.

template<class UpdateMeshType >
typedef MeshType::VertexType vcg::tri::UpdateFlags< UpdateMeshType >::VertexType

Definition at line 114 of file flag.h.


Member Function Documentation

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::Clear ( MeshType m  )  [inline, static]

Reset all the mesh flags (both vertexes and faces) setting everithing to zero (the default value for flags).

Definition at line 123 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromFF ( MeshType m  )  [inline, static]

Compute the border flags for the faces using the Face-Face Topology.

Warning:
Obviously it assumes that the topology has been correctly computed (see: UpdateTopology::FaceFace )

Definition at line 183 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromNone ( MeshType m  )  [inline, static]

Computes per-face border flags without requiring any kind of topology It has a O(fn log fn) complexity.

Definition at line 348 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceBorderFromVF ( MeshType m  )  [inline, static]

Definition at line 199 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClear ( MeshType m,
unsigned int  FlagMask = 0xffffffff 
) [inline, static]

Definition at line 142 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearB ( MeshType m  )  [inline, static]

Definition at line 169 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearF ( MeshType m  )  [inline, static]

Definition at line 170 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceClearV ( MeshType m  )  [inline, static]

Definition at line 168 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceFauxCrease ( MeshType m,
float  AngleRad 
) [inline, static]

Definition at line 421 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceProjection ( MeshType m  )  [inline, static]

This function fill the flags with the info on what is the best projection direction for a given face. Used by the point-face distance function when do not exploiting pre-computed per-face data (the so called edge component)

Definition at line 331 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSet ( MeshType m,
unsigned int  FlagMask 
) [inline, static]

Definition at line 157 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetB ( MeshType m  )  [inline, static]

Definition at line 175 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetF ( MeshType m  )  [inline, static]

Definition at line 176 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::FaceSetV ( MeshType m  )  [inline, static]

Definition at line 174 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexBorderFromFace ( MeshType m  )  [inline, static]

Compute the PerVertex Border flag deriving it from the faces.

Definition at line 400 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexBorderFromNone ( MeshType m  )  [inline, static]

Definition at line 285 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClear ( MeshType m,
unsigned int  FlagMask = 0xffffffff 
) [inline, static]

Definition at line 134 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClearB ( MeshType m  )  [inline, static]

Definition at line 167 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexClearV ( MeshType m  )  [inline, static]

Definition at line 166 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSet ( MeshType m,
unsigned int  FlagMask 
) [inline, static]

Definition at line 150 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSetB ( MeshType m  )  [inline, static]

Definition at line 173 of file flag.h.

template<class UpdateMeshType >
static void vcg::tri::UpdateFlags< UpdateMeshType >::VertexSetV ( MeshType m  )  [inline, static]

Definition at line 172 of file flag.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:36 2013