From 4d59f718ac9638cfe9a52af9e30a0e3ade44e029 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Fri, 24 Jul 2020 13:10:51 +0200 Subject: [PATCH] Add setters to set all those Booleans afterwards --- .../include/CGAL/Qt/Basic_viewer_qt.h | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h index dd2dd4be1ba..0b418211a50 100644 --- a/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h +++ b/GraphicsView/include/CGAL/Qt/Basic_viewer_qt.h @@ -362,6 +362,31 @@ public: vao[i].destroy(); } + void set_draw_vertices(bool b) { + m_draw_vertices = b; + } + void set_draw_edges(bool b) { + m_draw_edges = b; + } + void set_draw_rays(bool b) { + m_draw_rays = b; + } + void set_draw_lines(bool b) { + m_draw_lines = b; + } + void set_draw_faces(bool b) { + m_draw_faces = b; + } + void set_use_mono_color(bool b) { + m_use_mono_color = b; + } + void set_inverse_normal(bool b) { + m_inverse_normal = b; + } + void set_draw_text(bool b) { + m_draw_text = b; + } + void clear() { for (unsigned int i=0; i