VCG Library  0.1
Static Public Member Functions
vcg::tri::UpdateSelection< ComputeMeshType > Class Template Reference

Management, updating and computation of per-vertex and per-face normals. More...

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

List of all members.

Static Public Member Functions

static size_t VertexFromFaceLoose (MeshType &m)
 Select all the vertices that are touched by at least a single selected faces.
static size_t VertexFromFaceStrict (MeshType &m)
 Select ONLY the vertices that are touched ONLY by selected faces.
static size_t FaceFromVertexStrict (MeshType &m)
 Select ONLY the faces with ALL the vertices selected.
static size_t FaceOutOfRangeEdge (MeshType &m, ScalarType MinEdgeThr=0, ScalarType MaxEdgeThr=(std::numeric_limits< ScalarType >::max)())
 This function select the faces that have an edge outside the given range.
static size_t FaceConnectedFF (MeshType &m)
 This function expand current selection to cover the whole connected component.
static size_t VertexFromQualityRange (MeshType &m, float minq, float maxq)
 Select ONLY the vertices whose quality is in the specified closed interval.

Detailed Description

template<class ComputeMeshType>
class vcg::tri::UpdateSelection< ComputeMeshType >

Management, updating and computation of per-vertex and per-face normals.

This class is used to compute or update the normals that can be stored in the vertex or face component of a mesh.


Member Function Documentation

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceConnectedFF ( MeshType &  m) [inline, static]

This function expand current selection to cover the whole connected component.

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceFromVertexStrict ( MeshType &  m) [inline, static]

Select ONLY the faces with ALL the vertices selected.

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceOutOfRangeEdge ( MeshType &  m,
ScalarType  MinEdgeThr = 0,
ScalarType  MaxEdgeThr = (std::numeric_limits<ScalarType>::max)() 
) [inline, static]

This function select the faces that have an edge outside the given range.

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceLoose ( MeshType &  m) [inline, static]

Select all the vertices that are touched by at least a single selected faces.

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceStrict ( MeshType &  m) [inline, static]

Select ONLY the vertices that are touched ONLY by selected faces.

In other words all the vertices having all the faces incident on them selected.

Warning:
Isolated vertices will not selected.
template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromQualityRange ( MeshType &  m,
float  minq,
float  maxq 
) [inline, static]

Select ONLY the vertices whose quality is in the specified closed interval.


The documentation for this class was generated from the following file:

Generated on Mon Sep 27 08:13:16 2004 for VCG Library by doxygen 1.3.7