Commit Graph

41 Commits

Author SHA1 Message Date
Guillaume Damiand cc663c5e36 Bugfix for negate normals. 2019-11-13 12:18:27 +01:00
Guillaume Damiand bb117e9792 Bug fix 2019-11-13 11:51:54 +01:00
Guillaume Damiand d638c80b5a
Merge branch 'master' into gsoc2019-add_basic_viewer-jasmeet 2019-11-12 22:13:10 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Guillaume Damiand 0707d80d63 Update basic viewer to avoid conflict with another external function. 2019-10-15 11:16:02 +02:00
Jasmeet Singh c94965a0e1 Minor fix in is_empty() method. 2019-07-12 11:59:06 -07:00
Jasmeet Singh 8c2f10fec6 Fix bug in is_empty() method which was making the viewer window crash. 2019-07-12 10:13:51 -07:00
Guillaume Damiand c57cbb6173
Bug fix in is_empty method in Buffer_for_vao
The fix is small; tested locally.
2019-07-12 16:16:40 +02:00
Jasmeet Singh a542fbdb45 Merge remote-tracking branch 'cgal/master' into gsoc2019-add_basic_viewer-jasmeet and resolve conflicts 2019-07-10 11:48:38 -07:00
Jasmeet Singh 6843c2ed69 Add viewer for Nef Polyhedra. Only points viewed for now.
File Buffer_for_vao.h modified to classify the ambiguous call to the function newell_single_step_3().
Added namespace identifier 'internal::' to avoid conflict with function in normal_vector_newell_3.h included in
Nef_polyhedron_3.h
2019-06-27 12:44:38 -07:00
Jasmeet Singh c412d3b0f7 Fix bugs in Voronoi Diagram Viewer. Format code. Fix bug in voronoi diagram documentation.
Faces have the same color after toggling vertices - fixed.
Rays and dual vertices have different colors from edges and voronoi vertices - fixed.
Toggle for Voronoi vertices created, now V would only toggle vornoi vertices, not all vertices - fixed
2019-06-24 15:21:16 -07:00
Jasmeet Singh ce1b306d00 Add m_buffer_for_mono_lines and m_buffer_for_colored_lines to view lines.
Trying to visualize bisectors. Formatting changes.
2019-06-19 19:49:09 -07:00
Jasmeet Singh 955a982a5f Add an example for Voronoi diagram basic viewer.
For rays: draw a really big segment without modifying bounding box.
Hence, the initial screen of the viewer is correctly adjusted.
For faces: drawing only bounded faces for now. The function getSecondPoint(Halfedge)
can help to draw unbounded faces. Keypress R to view/unview rays.
2019-06-19 13:43:07 -07:00
Guillaume Damiand 67307dcead Merge master to remove conflicts; plus rephrase draw documentation following Sebastien comments. 2019-06-19 15:48:10 +02:00
Jasmeet Singh 2874ce940c Merge remote-tracking branch 'jasmeet9323/cgal/master' into gsoc2019-add_basic_viewer-jasmeet
Sync my branch with remote to avoid conflicts during PR.
2019-06-18 12:56:28 -07:00
Jasmeet Singh 1d4b6242f4 Show rays upto a bounding box 2019-06-17 20:02:08 -07:00
Jasmeet Singh 608ba3eee8 Start to implement infinite line in basic viewer. 2019-06-12 23:05:10 -07:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Guillaume Damiand 4b8bd40d8c Bugfix in Buffer_for_vao.h, in the method is_facet_convex. 2018-11-27 18:21:57 +01:00
Maxime Gimeno f14a335e10 Fix is_degenerate_triangle bug and NaN failures in highlighting Euler. 2018-10-29 11:12:28 +01:00
Guillaume Damiand 243a12be43 Fix viewer in 2D for 2D data sets. 2018-09-10 12:20:10 +02:00
Guillaume Damiand bf20b43ea5 Start to implement 2D mode for viewers; nyf. 2018-09-07 20:19:41 +02:00
Guillaume Damiand fc6e3c6a5a Improve the face end for non convex face to allow to draw faces with holes. 2018-09-07 19:19:40 +02:00
Andreas Fabri 4b14990209 Fix warnings; Remove typename in non-template code 2018-05-29 11:11:50 +02:00
Guillaume Damiand ed0c55df89 Bugfix in function that test if a face is convex. 2018-05-29 11:11:50 +02:00
Guillaume Damiand 21012cb0a3 Comment optimization done for convex facets for now, because there is a bug in the test code. Todo: solve the bug (maybe use a better test ?) 2018-05-29 11:11:50 +02:00
Guillaume Damiand 035dd7cd24 Add missing inline; to avoid a multiply defined function. 2018-05-29 11:11:50 +02:00
Guillaume Damiand 39de8ac459 Add licence includes 2018-05-29 11:11:49 +02:00
Guillaume Damiand d8a62aa2c8 Update licence headers of new files. 2018-05-29 11:11:49 +02:00
Guillaume Damiand b5a4cd1e4a One more bug fix in Buffer_for_vao.h 2018-05-29 11:04:57 +02:00
Guillaume Damiand 4f93b87634 Update is_facet_convex function; I think this is better now. 2018-05-29 11:04:57 +02:00
Guillaume Damiand 49de2dee13 Bug fix in quadrangular smooth normals 2018-05-29 11:04:57 +02:00
Guillaume Damiand e0aa99d798 Add the possibility to add weighted point 2 in basic viewer 2018-05-29 11:02:00 +02:00
Guillaume Damiand 62492150e0 Update Buffer_for_vao and Basic_viewer_qt 2018-05-29 11:02:00 +02:00
Guillaume Damiand b22c9959f6 Update buffer for vao to allow the use of indexed points 2018-05-29 11:02:00 +02:00
Guillaume Damiand 9bde858140 update 2018-05-29 11:02:00 +02:00
Guillaume Damiand a7b9656d52 Start to integrate version with indices 2018-05-29 11:02:00 +02:00
Guillaume Damiand 5b8e6d349b Update Buffer_for_vao: byf 2018-05-29 11:02:00 +02:00
Guillaume Damiand f70c6fed86 Update basic viewer to: (1) use a generic class that can maybe be used also in demos; (2) use same name to add mono/colored objects. 2018-05-29 11:02:00 +02:00