\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.12 - CGAL and the Qt Graphics View Framework
CGAL::Qt::ConstrainedTriangulationGraphicsItem< CT > Class Template Reference

#include <CGAL/Qt/ConstrainedTriangulationGraphicsItem.h>

Inherits from

CGAL::Qt::TriangulationGraphicsItem< T >.

Definition

An object of type ConstrainedTriangulationGraphicsItem is a graphics item that encapsulates a constrained triangulation.

Template Parameters
CTmust be a CGAL 2D constrained triangulation class.

Creation

 ConstrainedTriangulationGraphicsItem (CT *ct)
 Constructs a graphics item for triangulation ct.
 

Operations

QPen constraintsPen ()() const
 Returns the pen used to draw constraints.
 
void setConstraintsPen ()(const QPen &p)
 Sets the pen used to draw constraints.
 

Additional Inherited Members

- Public Member Functions inherited from CGAL::Qt::TriangulationGraphicsItem< T >
 TriangulationGraphicsItem (T *t)
 Constructs a graphics item for a triangulation pointed by t.
 
QPen verticesPen ()() const
 Returns the pen used to draw vertices.
 
void setVerticesPen ()(const QPen &p)
 Sets the pen used to draw vertices.
 
QPen edgesPen ()() const
 Returns the pen used to draw edges.
 
void setEdgesPen ()(const QPen &p)
 Sets the pen used to draw edges.
 
bool visibleVertices ()
 Returns true, iff vertices are drawn.
 
void setVisibleVertices (bool b)
 Sets the property.
 
bool visibleEdges ()
 Returns true, iff edges are drawn.
 
void setVisibleEdges (bool b)
 Sets the property.
 
- Public Member Functions inherited from CGAL::Qt::GraphicsItem
virtual void modelChanged ()
 This slot must be provided by derived classes.