Files
cgal/GraphicsView/doc/GraphicsView/CGAL/Qt/TriangulationGraphicsItem.h
T
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00

74 lines
1.2 KiB
C++

namespace CGAL {
namespace Qt {
/*!
\ingroup PkgGraphicsViewGraphicsItemClasses
An object of type `TriangulationGraphicsItem` is a graphics item that encapsulates a 2D triangulation.
\tparam T must be a 2D triangulation class.
*/
template< typename T >
class TriangulationGraphicsItem : public Qt::GraphicsItem {
public:
/// \name Creation
/// @{
/*!
Constructs a graphics
item for a triangulation pointed by `t`.
*/
TriangulationGraphicsItem<T>(T* t);
/// @}
/// \name Operations
/// @{
/*!
Returns the pen used to draw vertices.
*/
QPen verticesPen()() const;
/*!
Sets the pen used to draw vertices.
*/
void setVerticesPen()(const QPen& p);
/*!
Returns the pen used to draw edges.
*/
QPen edgesPen()() const;
/*!
Sets the pen used to draw edges.
*/
void setEdgesPen()(const QPen& p);
/*!
Returns `true`, iff vertices are drawn.
*/
bool visibleVertices();
/*!
Sets the property.
*/
void setVisibleVertices(bool b);
/*!
Returns `true`, iff edges are drawn.
*/
bool visibleEdges();
/*!
Sets the property.
*/
void setVisibleEdges(bool b);
/// @}
}; /* end TriangulationGraphicsItem */
} /* end namespace Qt */
} /* end namespace CGAL */