|
Graphite Version 3
An experimental 3D geometry processing program
|
Baseclass for user functions called for each polygon of a surfacic restricted Voronoi diagram. More...
#include <geogram/voronoi/RVD_callback.h>
Public Member Functions | |
| RVDPolygonCallback () | |
| PolyhedronCallback constructor. | |
| ~RVDPolygonCallback () override | |
| PolyhedronCallback destructor. | |
| void | begin () override |
| Called at the beginning of the RVD traversal. | |
| void | end () override |
| Called at the end of the RVD traversal. | |
| virtual void | operator() (index_t v, index_t t, const GEOGen::Polygon &C) const |
| The default callback called for each polygon. | |
Public Member Functions inherited from GEO::RVDCallback | |
| RVDCallback () | |
| RVDCallback constructor. | |
| virtual | ~RVDCallback () |
| RVDCallback destructor. | |
| index_t | seed () const |
| Gets the index of the seed that corresponds to the current polygon/polyhedron. | |
| index_t | simplex () const |
| Gets the index of the simplex that corresponds to the current polygon/polyhedron. | |
| void | set_spinlocks (Process::SpinLockArray *spinlocks) |
| Sets the spinlocks array. | |
Additional Inherited Members | |
Protected Attributes inherited from GEO::RVDCallback | |
| index_t | seed_ |
| index_t | simplex_ |
| Process::SpinLockArray * | spinlocks_ |
Baseclass for user functions called for each polygon of a surfacic restricted Voronoi diagram.
A surfacic restricted Voronoi diagram is the intersection between Voronoi cells and the triangles of a given triangulated mesh. The member functions of this class are called for each intersection between a Voronoi cell and a triangle.
Definition at line 153 of file RVD_callback.h.
|
overridevirtual |
Called at the beginning of the RVD traversal.
Reimplemented from GEO::RVDCallback.
|
overridevirtual |
Called at the end of the RVD traversal.
Reimplemented from GEO::RVDCallback.
|
virtual |
The default callback called for each polygon.
| [in] | v | index of current Delaunay seed |
| [in] | t | index of current mesh triangle |
| [in] | C | intersection between current mesh triangle and the Voronoi cell of v |