mirror of https://github.com/CGAL/cgal
45 lines
1.2 KiB
TeX
45 lines
1.2 KiB
TeX
\ccDefGlobalScope{CGAL::}
|
|
\begin{ccRefClass}[Qt::]{TriangulationGraphicsItem<T>}
|
|
|
|
\ccDefinition
|
|
An object of type \ccRefName\ is a graphics item that encapsulates a 2D triangulation.
|
|
|
|
\ccInclude{CGAL/Qt/TriangulationGraphicsItem.h}
|
|
|
|
\ccParameters
|
|
|
|
The template parameter of \ccRefName\ must be a
|
|
\cgal\ 2D triangulation class.
|
|
|
|
|
|
\ccInheritsFrom
|
|
\ccc{Qt::GraphicsItem}
|
|
|
|
\ccCreation
|
|
\ccCreationVariable{tgi}
|
|
|
|
\ccConstructor{TriangulationGraphicsItem<T>(T* t);}{Constructs a graphics
|
|
item for triangulation pointed by \ccc{t}.}
|
|
|
|
\ccOperations
|
|
|
|
\ccMethod{QPen verticesPen()() const;}{Get the pen that is used to draw vertices.}
|
|
\ccMethod{void setVerticesPen()(const QPen& p);}{Set the pen that is used to draw vertices.}
|
|
|
|
\ccMethod{QPen edgesPen()() const;}{Get the pen that is used to draw edges.}
|
|
\ccMethod{void setEdgesPen()(const QPen& p);}{Set the pen that is used to draw edges.}
|
|
|
|
\ccMethod{bool drawVertices();}{Property to switch drawing of vertices on or off.}
|
|
\ccMethod{bool setDrawVertices(bool b);}{Set the property.}
|
|
|
|
\ccMethod{bool drawEdges();}{Property to switch drawing of edges on or off.}
|
|
\ccMethod{bool setDrawEdges(bool b);}{Set the property.}
|
|
\end{ccRefClass}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|