aimstil
5.0.5
|
Remove vertices from a mesh, given a set of index. More...
#include <cathier/mesh_decimation.h>
Public Types | |
typedef Remove_indexed_graph_vertices< TIndexCollection >::VertexNodeCollection | VertexNodeCollection |
typedef Remove_indexed_graph_vertices< TIndexCollection >::FaceNodeCollection | FaceNodeCollection |
Public Member Functions | |
Remove_indexed_graph_vertices< TIndexCollection > & | remover () |
bool | complete () |
Returns true if it has been able to remove all desired points. More... | |
unsigned int | count () |
Returns the number of points that have been effectively removed. More... | |
std::vector< unsigned char > const & | removed () |
Returns a binary index of those points who have been removed. More... | |
void | operator() (TVertexCollection const &vertices, TFaceCollection const &faces, TCNeighborhoods const &neighc, TIndexCollection const &removed, TVertexCollection &verticesOut, TFaceCollection &facesOut) |
Remove vertices from a mesh, given a set of index.
Definition at line 1518 of file mesh_decimation.h.
typedef Remove_indexed_graph_vertices<TIndexCollection>::FaceNodeCollection til::Remove_indexed_vertices< TVertexCollection, TFaceCollection, TCNeighborhoods, TIndexCollection >::FaceNodeCollection |
Definition at line 1522 of file mesh_decimation.h.
typedef Remove_indexed_graph_vertices<TIndexCollection>::VertexNodeCollection til::Remove_indexed_vertices< TVertexCollection, TFaceCollection, TCNeighborhoods, TIndexCollection >::VertexNodeCollection |
Definition at line 1521 of file mesh_decimation.h.
|
inline |
Returns true if it has been able to remove all desired points.
NB: it is very frequent that due to topology constraints on the mesh, some points could not have been removed.
Definition at line 1530 of file mesh_decimation.h.
|
inline |
Returns the number of points that have been effectively removed.
Definition at line 1533 of file mesh_decimation.h.
|
inline |
[in] | removed | 1 if wished to be removed, 0 otherwise. |
Definition at line 1540 of file mesh_decimation.h.
References til::list2graph_mesh_conversion(), and til::remove_vertices().
|
inline |
Returns a binary index of those points who have been removed.
Definition at line 1536 of file mesh_decimation.h.
Referenced by til::remove_vertices().
|
inline |
Definition at line 1525 of file mesh_decimation.h.