CGAL::Qt::TriangulationGraphicsItem<T>

Definition

An object of type Qt::TriangulationGraphicsItem<T> is a graphics item that encapsulates a 2D triangulation.

#include <CGAL/Qt/TriangulationGraphicsItem.h>

Parameters

The template parameter of Qt::TriangulationGraphicsItem<T> must be a CGAL 2D triangulation class.

Inherits From

Qt::GraphicsItem

Creation

Qt::TriangulationGraphicsItem<T> tgi ( T* t);
Constructs a graphics item for a triangulation pointed by t.

Operations

QPen tgi.verticesPen() () Returns the pen used to draw vertices.

void tgi.setVerticesPen() ( QPen p) Sets the pen used to draw vertices.

QPen tgi.edgesPen() () Returns the pen used to draw edges.

void tgi.setEdgesPen() ( QPen p) Sets the pen used to draw edges.

bool tgi.visibleVertices () Returns true, iff vertices are drawn.

void tgi.setVisibleVertices ( bool b) Sets the property.

bool tgi.visibleEdges () Returns true, iff edges are drawn.

void tgi.setVisibleEdges ( bool b) Sets the property.