aimstil
5.0.5
|
Remove vertices from a graph list mesh, given a set of index. More...
#include <cathier/mesh_decimation.h>
Public Types | |
typedef MeshVertexNodeX< std::size_t > | VertexNode |
typedef MeshFaceNodeX< VertexNode > | FaceNode |
typedef std::list< VertexNode > | VertexNodeCollection |
typedef std::list< FaceNode > | FaceNodeCollection |
Public Member Functions | |
bool | complete () const |
Returns true if it has been able to remove all desired points. More... | |
unsigned int | niter () const |
Number of iterations that has been necessary to remove all points or to reach a configuration where no more points can be removed. More... | |
unsigned int | count () const |
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() (std::list< VertexNode > &graph_vertices, std::list< FaceNode > &graph_faces, TIndexCollection const &removed) |
Remove vertices from a graph list mesh, given a set of index.
This obviously assume that the graph nodes contains such an index.
Definition at line 1413 of file mesh_decimation.h.
typedef MeshFaceNodeX<VertexNode> til::Remove_indexed_graph_vertices< TIndexCollection >::FaceNode |
Definition at line 1417 of file mesh_decimation.h.
typedef std::list<FaceNode> til::Remove_indexed_graph_vertices< TIndexCollection >::FaceNodeCollection |
Definition at line 1419 of file mesh_decimation.h.
typedef MeshVertexNodeX<std::size_t> til::Remove_indexed_graph_vertices< TIndexCollection >::VertexNode |
Definition at line 1416 of file mesh_decimation.h.
typedef std::list<VertexNode> til::Remove_indexed_graph_vertices< TIndexCollection >::VertexNodeCollection |
Definition at line 1418 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 1426 of file mesh_decimation.h.
|
inline |
Returns the number of points that have been effectively removed.
Definition at line 1433 of file mesh_decimation.h.
|
inline |
Number of iterations that has been necessary to remove all points or to reach a configuration where no more points can be removed.
Definition at line 1430 of file mesh_decimation.h.
|
inline |
[in] | removed | 1 if wished to be removed, 0 otherwise. |
Definition at line 1441 of file mesh_decimation.h.
|
inline |
Returns a binary index of those points who have been removed.
Definition at line 1436 of file mesh_decimation.h.