#include <clustering.h>
Classes | |
class | SimpleTri |
Public Types | |
typedef MeshType::CoordType | CoordType |
typedef MeshType::FaceIterator | FaceIterator |
typedef MeshType::FaceType | FaceType |
typedef MeshType::ScalarType | ScalarType |
typedef std::unordered_set < SimpleTri, SimpleTri > ::iterator | TriHashSetIterator |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
Public Member Functions | |
void | AddMesh (MeshType &m) |
void | AddPointSet (MeshType &m, bool UseOnlySelected=false) |
int | CountPointSet () |
void | ExtractMesh (MeshType &m) |
void | ExtractPointSet (MeshType &m) |
void | Init (Box3< ScalarType > _mbb, int _size, ScalarType _cellsize=0) |
void | SelectPointSet (MeshType &m) |
Public Attributes | |
bool | DuplicateFaceParam |
BasicGrid< ScalarType > | Grid |
std::unordered_map< Point3i, CellType > | GridCell |
std::unordered_set< SimpleTri, SimpleTri > | TriSet |
Definition at line 150 of file clustering.h.
typedef MeshType::CoordType vcg::tri::Clustering< MeshType, CellType >::CoordType |
Definition at line 154 of file clustering.h.
typedef MeshType::FaceIterator vcg::tri::Clustering< MeshType, CellType >::FaceIterator |
Definition at line 159 of file clustering.h.
typedef MeshType::FaceType vcg::tri::Clustering< MeshType, CellType >::FaceType |
Definition at line 156 of file clustering.h.
typedef MeshType::ScalarType vcg::tri::Clustering< MeshType, CellType >::ScalarType |
Definition at line 153 of file clustering.h.
typedef std::unordered_set<SimpleTri,SimpleTri>::iterator vcg::tri::Clustering< MeshType, CellType >::TriHashSetIterator |
Definition at line 244 of file clustering.h.
typedef MeshType::VertexIterator vcg::tri::Clustering< MeshType, CellType >::VertexIterator |
Definition at line 158 of file clustering.h.
typedef MeshType::VertexPointer vcg::tri::Clustering< MeshType, CellType >::VertexPointer |
Definition at line 157 of file clustering.h.
typedef MeshType::VertexType vcg::tri::Clustering< MeshType, CellType >::VertexType |
Definition at line 155 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::AddMesh | ( | MeshType & | m | ) | [inline] |
Definition at line 260 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::AddPointSet | ( | MeshType & | m, |
bool | UseOnlySelected = false |
||
) | [inline] |
Definition at line 248 of file clustering.h.
int vcg::tri::Clustering< MeshType, CellType >::CountPointSet | ( | ) | [inline] |
Definition at line 283 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::ExtractMesh | ( | MeshType & | m | ) | [inline] |
Definition at line 316 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::ExtractPointSet | ( | MeshType & | m | ) | [inline] |
Definition at line 296 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::Init | ( | Box3< ScalarType > | _mbb, |
int | _size, | ||
ScalarType | _cellsize = 0 |
||
) | [inline] |
inflate the bb calculated
Definition at line 220 of file clustering.h.
void vcg::tri::Clustering< MeshType, CellType >::SelectPointSet | ( | MeshType & | m | ) | [inline] |
Definition at line 285 of file clustering.h.
bool vcg::tri::Clustering< MeshType, CellType >::DuplicateFaceParam |
Definition at line 167 of file clustering.h.
BasicGrid<ScalarType> vcg::tri::Clustering< MeshType, CellType >::Grid |
Definition at line 241 of file clustering.h.
std::unordered_map<Point3i,CellType> vcg::tri::Clustering< MeshType, CellType >::GridCell |
Definition at line 245 of file clustering.h.
std::unordered_set<SimpleTri,SimpleTri> vcg::tri::Clustering< MeshType, CellType >::TriSet |
Definition at line 243 of file clustering.h.