CGAL 5.1.1 - CGAL and the Qt Graphics View Framework

#include <CGAL/Qt/GraphicsItem.h>

Inherits from

QGraphicsItem.

Inherited by CGAL::Qt::CircularArcGraphicsItem< CK >, CGAL::Qt::TriangulationGraphicsItem< T >, and CGAL::Qt::VoronoiGraphicsItem< DT >.

Definition

The CGAL graphics items hold pointers to CGAL data structures.

When a data structure changes, a signal is emitted. An object derived from type GraphicsItem must provide an implementation of the virtual slot modelChanged(). This typically triggers redrawing, as well as recomputation of the bounding box which in turn may trigger redrawing of overlapping graphics items.

Slots

virtual void modelChanged ()
 This slot must be provided by derived classes.