From 48cfa7ad61f1336550b6fd65e2f3cd05d104849c Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Thu, 27 Apr 2023 18:30:41 +0200 Subject: [PATCH] add default value in the doc --- .../doc/Basic_viewer/CGAL/Drawing_functor.h | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Basic_viewer/doc/Basic_viewer/CGAL/Drawing_functor.h b/Basic_viewer/doc/Basic_viewer/CGAL/Drawing_functor.h index dacba4b84a4..31c31e69561 100644 --- a/Basic_viewer/doc/Basic_viewer/CGAL/Drawing_functor.h +++ b/Basic_viewer/doc/Basic_viewer/CGAL/Drawing_functor.h @@ -20,33 +20,43 @@ template draw_vertex; /// std::function that returns true if the given edge must be drawn, false otherwise. + /// Returns true by default. std::function draw_edge; /// std::function that returns true if the given face must be drawn, false otherwise. + /// Returns true by default. std::function draw_face; /// std::function that returns true if the given vertex is colored, false otherwise. + /// Returns false by default. std::function colored_vertex; /// std::function that returns true if the given edge is colored, false otherwise. + /// Returns false by default. std::function colored_edge; /// std::function that returns true if the given face is colored, false otherwise. + /// Returns false by default. std::function colored_face; /// std::function that returns true if the given face is drawn in wireframe, false otherwise. + /// Returns false by default. std::function face_wireframe; /// std::function that returns the color of the given vertex. + /// nullptr by default. std::function vertex_color; /// std::function that returns the color of the given edge. + /// nullptr by default. std::function edge_color; /// std::function that returns the color of the given face. + /// nullptr by default. std::function face_color; /// Disable the drawing of vertices. @@ -93,16 +103,20 @@ struct Drawing_functor_with_volume : public Drawing_functor { /// std::function that returns true if the given volume must be drawn, false otherwise. - std::function draw_volume; + /// Returns true by default. + std::function draw_volume; /// std::function that returns the color of the given volume. - std::function colored_volume; + /// Returns false by default. + std::function colored_volume; /// std::function that returns true if the given volume is drawn in wireframe, false otherwise. - std::function volume_wireframe; + /// Returns false by default. + std::function volume_wireframe; /// std::function that returns the color of the given volume. - std::function volume_color; + /// nullptr by default. + std::function volume_color; /// Disable the drawing of volumes. void disable_volumes();