vcg::tri::UpdateSelection< ComputeMeshType > Class Template Reference
[Trimesh]

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

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

List of all members.

Public Types

typedef vcg::Box3< ScalarTypeBox3Type
typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FacePointer FacePointer
typedef MeshType::FaceType FaceType
typedef ComputeMeshType MeshType
typedef MeshType::ScalarType ScalarType
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Public Member Functions

void VertexNonManifoldEdges (MeshType &m)

Static Public Member Functions

static size_t AllFace (MeshType &m)
static size_t AllVertex (MeshType &m)
static void Clear (MeshType &m)
static size_t ClearFace (MeshType &m)
static size_t ClearVertex (MeshType &m)
static size_t CountFace (MeshType &m)
static size_t CountVertex (MeshType &m)
static size_t FaceConnectedFF (MeshType &m)
 This function expand current selection to cover the whole connected component.
static size_t FaceFromBorderFlag (MeshType &m)
static size_t FaceFromVertexLoose (MeshType &m)
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 InvertFace (MeshType &m)
static size_t InvertVertex (MeshType &m)
static size_t VertexFromBorderFlag (MeshType &m)
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 VertexFromQualityRange (MeshType &m, float minq, float maxq)
 Select ONLY the vertices whose quality is in the specified closed interval.
static int VertexInBox (MeshType &m, const Box3Type &bb)

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.

Definition at line 42 of file selection.h.


Member Typedef Documentation

template<class ComputeMeshType >
typedef vcg::Box3<ScalarType> vcg::tri::UpdateSelection< ComputeMeshType >::Box3Type

Definition at line 54 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::FaceIterator vcg::tri::UpdateSelection< ComputeMeshType >::FaceIterator

Definition at line 53 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::FacePointer vcg::tri::UpdateSelection< ComputeMeshType >::FacePointer

Definition at line 52 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::FaceType vcg::tri::UpdateSelection< ComputeMeshType >::FaceType

Definition at line 51 of file selection.h.

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

Definition at line 46 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::ScalarType vcg::tri::UpdateSelection< ComputeMeshType >::ScalarType

Definition at line 47 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::VertexIterator vcg::tri::UpdateSelection< ComputeMeshType >::VertexIterator

Definition at line 50 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::VertexPointer vcg::tri::UpdateSelection< ComputeMeshType >::VertexPointer

Definition at line 49 of file selection.h.

template<class ComputeMeshType >
typedef MeshType::VertexType vcg::tri::UpdateSelection< ComputeMeshType >::VertexType

Definition at line 48 of file selection.h.


Member Function Documentation

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

Definition at line 64 of file selection.h.

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

Definition at line 56 of file selection.h.

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

Definition at line 88 of file selection.h.

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

Definition at line 80 of file selection.h.

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

Definition at line 72 of file selection.h.

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

Definition at line 94 of file selection.h.

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

Definition at line 103 of file selection.h.

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.

Definition at line 273 of file selection.h.

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

Definition at line 231 of file selection.h.

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

Definition at line 196 of file selection.h.

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

Select ONLY the faces with ALL the vertices selected.

Definition at line 179 of file selection.h.

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.

Definition at line 249 of file selection.h.

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

Definition at line 112 of file selection.h.

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

Definition at line 128 of file selection.h.

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

Definition at line 213 of file selection.h.

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.

Definition at line 145 of file selection.h.

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.

Definition at line 164 of file selection.h.

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.

Definition at line 307 of file selection.h.

template<class ComputeMeshType >
static int vcg::tri::UpdateSelection< ComputeMeshType >::VertexInBox ( MeshType m,
const Box3Type bb 
) [inline, static]

Definition at line 325 of file selection.h.

template<class ComputeMeshType >
void vcg::tri::UpdateSelection< ComputeMeshType >::VertexNonManifoldEdges ( MeshType m  )  [inline]

Definition at line 339 of file selection.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