CGAL 4.14 - CGAL and the Qt Graphics View Framework
|
#include <CGAL/Qt/VoronoiGraphicsItem.h>
An object of type VoronoiGraphicsItem
is a graphics item that encapsulates a Delaunay triangulation in order to draw its dual, the Voronoi diagram.
DT | must be a 2D Delaunay triangulation class. |
Creation | |
VoronoiGraphicsItem (DT *dt) | |
Constructs a graphics item for the dual of the Delaunay triangulation dt . | |
Operations | |
QPen | edgesPen ()() const |
Returns the pen used to draw edges. | |
void | setEdgesPen ()(const QPen &p) |
Set the pen used to draw edges. | |
bool | visibleEdges () |
Returns true , iff edges are drawn. | |
bool | setVisibleEdges (bool b) |
Set the property. | |
Additional Inherited Members | |
Public Member Functions inherited from CGAL::Qt::GraphicsItem | |
virtual void | modelChanged () |
This slot must be provided by derived classes. | |