aimstil
5.0.5
|
Attempt to label a vertex as removable, and if successfull, label its neighbors as unremovable. More...
#include <cathier/mesh_decimation.h>
Public Types | |
enum | { UNPROCESSED = 0, KEEP, REMOVE } |
Vertex labels. More... | |
typedef unsigned char | Label |
typedef std::vector< Label > | LabelCollection |
Public Member Functions | |
Neigh_decimation_labeler (TVertexCollection const &vertices, TNeighborhoodCollection const &neighs, LabelCollection &label) | |
TVertexCollection const & | vertices () |
TNeighborhoodCollection const & | neighs () |
LabelCollection & | label () |
bool | operator() (std::size_t i) |
Try to remove i-th point. Returns true if successful. More... | |
Attempt to label a vertex as removable, and if successfull, label its neighbors as unremovable.
Definition at line 1606 of file mesh_decimation.h.
typedef unsigned char til::Neigh_decimation_labeler< TVertexCollection, TNeighborhoodCollection >::Label |
Definition at line 1609 of file mesh_decimation.h.
typedef std::vector<Label> til::Neigh_decimation_labeler< TVertexCollection, TNeighborhoodCollection >::LabelCollection |
Definition at line 1610 of file mesh_decimation.h.
anonymous enum |
Vertex labels.
Unprocessed: no decision has been made yet. Remove: vertex labeled as to be removed. Keep: vertex labeled as unremovable.
Enumerator | |
---|---|
UNPROCESSED | |
KEEP | |
REMOVE |
Definition at line 1616 of file mesh_decimation.h.
|
inline |
Definition at line 1619 of file mesh_decimation.h.
|
inline |
Definition at line 1634 of file mesh_decimation.h.
|
inline |
Definition at line 1633 of file mesh_decimation.h.
|
inline |
Try to remove i-th point. Returns true if successful.
Definition at line 1637 of file mesh_decimation.h.
References til::quantizer(), and til::size().
|
inline |
Definition at line 1632 of file mesh_decimation.h.