VCG Library 0.1
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>

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

◆ FaceConnectedFF()

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceConnectedFF ( MeshType & m)
inlinestatic

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

◆ FaceFromVertexStrict()

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::FaceFromVertexStrict ( MeshType & m)
inlinestatic

Select ONLY the faces with ALL the vertices selected.

◆ FaceOutOfRangeEdge()

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

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

◆ VertexFromFaceLoose()

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceLoose ( MeshType & m)
inlinestatic

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

◆ VertexFromFaceStrict()

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromFaceStrict ( MeshType & m)
inlinestatic

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.

◆ VertexFromQualityRange()

template<class ComputeMeshType >
static size_t vcg::tri::UpdateSelection< ComputeMeshType >::VertexFromQualityRange ( MeshType & m,
float minq,
float maxq )
inlinestatic

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