CGAL 5.1 - CGAL and the Qt Graphics View Framework
CGAL::Qt::ConstrainedTriangulationGraphicsItem< CT > Class Template Reference

#include <CGAL/Qt/ConstrainedTriangulationGraphicsItem.h>

Inherits CGAL::Qt::TriangulationGraphicsItem< T >.

Definition

template<typename CT>
class CGAL::Qt::ConstrainedTriangulationGraphicsItem< CT >

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. More...
 

Operations

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

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. More...
 
QPen verticesPen ()() const
 Returns the pen used to draw vertices. More...
 
void setVerticesPen ()(const QPen &p)
 Sets the pen used to draw vertices. More...
 
QPen edgesPen ()() const
 Returns the pen used to draw edges. More...
 
void setEdgesPen ()(const QPen &p)
 Sets the pen used to draw edges. More...
 
bool visibleVertices ()
 Returns true, iff vertices are drawn. More...
 
void setVisibleVertices (bool b)
 Sets the property. More...
 
bool visibleEdges ()
 Returns true, iff edges are drawn. More...
 
void setVisibleEdges (bool b)
 Sets the property. More...
 
- Public Member Functions inherited from CGAL::Qt::GraphicsItem
virtual void modelChanged ()
 This slot must be provided by derived classes. More...
 

Constructor & Destructor Documentation

◆ ConstrainedTriangulationGraphicsItem()

Constructs a graphics item for triangulation ct.

Member Function Documentation

◆ constraintsPen()

template<typename CT >
QPen CGAL::Qt::ConstrainedTriangulationGraphicsItem< CT >::constraintsPen ( ) const

Returns the pen used to draw constraints.

◆ setConstraintsPen()

template<typename CT >
void CGAL::Qt::ConstrainedTriangulationGraphicsItem< CT >::setConstraintsPen ( ) const &

Sets the pen used to draw constraints.