Laurent Rineau
55c30d0808
Qt::AA_UseDesktopOpenGL is usable from Qt-5.3 only
2015-08-04 10:55:26 +02:00
Laurent Rineau
30e5d129f8
Remove Scene_item_with_display_list
2015-07-31 13:45:37 +02:00
Laurent Rineau
bc21fe6ad7
Use findChild to get the pointer to Viewer
...
Should fix #218 , because the class MainWindow is no longer used.
2015-07-30 18:45:09 +02:00
Laurent Rineau
ad81d725f2
Fix the moc warning
...
"No relevant classes found. No output generated."
2015-07-29 16:38:58 +02:00
Laurent Rineau
94a793621d
Remove 'QOpenGLFunctions_3_3_Core gl;' from Scene_item
...
... and use the base class of Viewer instead.
See also issue #178 .
2015-07-29 16:26:41 +02:00
Laurent Rineau
d2a51ce08a
Change the API of Scene_item::draw
...
Now, the viewer pointer type is Viewer instead if QGLViewer.
2015-07-29 16:06:38 +02:00
Laurent Rineau
a0d82358b0
Fix a warning (unneeded local typedef 'Facet')
2015-07-29 14:53:51 +02:00
Maxime Gimeno
ed4663ace5
SEGFAULT Fix
...
- corrected a pointer's issue.
2015-07-29 09:10:26 +02:00
Sébastien Loriot
c00da93d1d
fix warning about using a bool in a switch
2015-07-22 15:49:19 +02:00
Sébastien Loriot
6dc5695989
remove unused variable warning
2015-07-22 15:47:23 +02:00
Sébastien Loriot
590106f5fc
Changes in the other demos due to Polygon_mesh_processing package (PMP)
2015-07-16 17:27:17 +02:00
Sébastien Loriot
6b15ec643c
Merge branch 'CGAL-Qt5_support-GF' into cgal-public-dev/Polygon_mesh_processing-GF
...
Conflicts:
Mesh_3/demo/Mesh_3/include/CGAL/gl_render.h
Polyhedron/demo/Polyhedron/CMakeLists.txt
Polyhedron/demo/Polyhedron/GlSplat/GlSplat.cpp
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
2015-07-16 16:52:53 +02:00
Laurent Rineau
32a3f4b60b
The `make clean` can fail when there is no target at all
2015-07-15 16:36:19 +02:00
Maxime Gimeno
a1cf35a982
Merge branch 'CGAL-Qt5_support-GF' of github.com:CGAL/cgal-public-dev into CGAL-Qt5_support-GF
2015-07-15 08:21:33 +02:00
Maxime Gimeno
e3b1db9869
Segfault fix :
...
- made textureId mutable
- moved the initialization of textureId in the draw function with the initialization of the QOpenGLFunctions
2015-07-15 08:20:04 +02:00
Laurent Rineau
04db43556f
Do not warn when Qt5 is not found.
2015-07-13 15:55:41 +02:00
Laurent Rineau
f9917c487e
CMake 2.8.11
2015-07-13 12:36:43 +02:00
Laurent Rineau
15c1469a54
CGAL requires CMake>=2.8.11.
2015-07-10 17:01:42 +02:00
Laurent Rineau
3708b2da47
Re-add a file removed by error
...
This partially reverts commit 842b3bb5b4 ,
reversing changes made to df76f756d4 .
Only the file:
Mesh_3/examples/Mesh_3/data/liver.inr.gz
is modified (re-added).
2015-07-10 16:04:34 +02:00
Andreas Fabri
842b3bb5b4
static_cast, less typename, fix CMakeLists
2015-07-10 15:03:39 +02:00
Maxime Gimeno
9bb28e331e
Merge branch 'CGAL-Qt5_support-GF' of github.com:CGAL/cgal-public-dev into CGAL-Qt5_support-GF
2015-07-10 13:46:04 +02:00
Maxime Gimeno
3b8f0e471f
gl functions fix
...
- added a QOpenGLFunctions item to scene_item
2015-07-10 13:45:14 +02:00
Andreas Fabri
df76f756d4
static_casts; gl ->> gl.gl
2015-07-10 12:41:36 +02:00
Andreas Fabri
135f70c65a
Merge branch 'CGAL-Qt5_support-GF' of github.com:CGAL/cgal-public-dev into CGAL-Qt5_support-GF
2015-07-10 12:28:49 +02:00
Andreas Fabri
46fac706ec
fixes for VC++
2015-07-10 12:28:27 +02:00
Laurent Rineau
3ec0c69f8f
We want 2.8.10 for all demos
...
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Laurent Rineau
38657c4591
Fix a warning -Wsign-compare
2015-07-08 15:59:04 +02:00
Laurent Rineau
f17d91f4e3
Fix warnings about unused variables/local types/local functions
2015-07-08 15:01:36 +02:00
Maxime Gimeno
278e9d9829
Merge branch 'CGAL-Qt5_support-GF' of github.com:CGAL/cgal-public-dev into CGAL-Qt5_support-GF
...
Conflicts:
Circular_kernel_3/demo/Circular_kernel_3/Circular_kernel_3.cpp
Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/MainWindow.h
2015-07-08 12:40:14 +02:00
Maxime Gimeno
f76bb19734
Windows fix
...
- add an attribute at the application in the main() function
- add a custom context to the viewer
2015-07-08 12:16:51 +02:00
Sébastien Loriot
1d4358e052
update qt urls
2015-07-08 09:48:45 +02:00
Sébastien Loriot
e199f546d4
remove QT4 specific code
2015-07-07 19:36:04 +02:00
Sébastien Loriot
722abba27b
cosmetic changes to remove mentions of QT4
2015-07-07 18:00:43 +02:00
Andreas Fabri
3c46e5262d
less typenames
2015-07-07 16:45:26 +02:00
Sébastien Loriot
84dfabf3b4
remove REQUIRED keyword for CGAL_Qt5 in demos
...
The handling should be with a status message
2015-07-07 11:23:46 +02:00
Maxime Gimeno
a540bef1d8
Changed() fixed.
2015-07-07 09:31:05 +02:00
Laurent Rineau
e5bcdc5f3e
Update all CMakeLists.txt
...
- CMake 2.8.11 or later is now required
- GLEW is no longer used by demo/Polyhedron/
2015-07-06 18:14:34 +02:00
Maxime Gimeno
2bf6e15e96
ifdef SCENE_SEGMENTED_IMAGE_GL_BUFFERS_AVAILABLE Fix
...
- Removed the GLEW dependency in the CMakeList and the includes
- Moved the definition of SCENE_SEGMENTED_IMAGE_GL_BUFFERS_AVAILABLE to if(Qt5_FOUND) in the CMAkeList
2015-07-02 10:00:54 +02:00
Andreas Fabri
8d86bebcaf
Merge remote-tracking branch 'cgal-dev/Polygon_mesh_processing-GF' into Polygon_mesh_processing-GF
2015-07-01 17:25:13 +02:00
Jane Tournois
cd3493d139
fix compilation
2015-07-01 14:40:22 +02:00
Andreas Fabri
20c1b1a1f6
Merge branch 'Polygon_mesh_processing-GF-old' into Polygon_mesh_processing-GF
...
Conflicts:
BGL/include/CGAL/boost/graph/Euler_operations.h
BGL/include/CGAL/boost/graph/iterator.h
Documentation/doc/Documentation/Doxyfile.in
Documentation/doc/Documentation/dependencies
Polyhedron/demo/Polyhedron/Polyhedron_demo_point_inside_polyhedron_plugin.cpp
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Selection_widget.ui
2015-07-01 13:52:44 +02:00
Maxime Gimeno
0a55b1399e
Mesh_3 fix post merge
2015-06-30 13:47:52 +02:00
Maxime Gimeno
a0e7a60973
Merge remote-tracking branch 'cgal/master' into CGAL-Qt5_support-GF
...
Conflicts:
Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt
Alpha_shapes_3/demo/Alpha_shapes_3/MainWindow.cpp
Alpha_shapes_3/demo/Alpha_shapes_3/Viewer.h
GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt
GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt
GraphicsView/demo/Bounding_volumes/CMakeLists.txt
GraphicsView/demo/Circular_kernel_2/CMakeLists.txt
GraphicsView/demo/Generator/CMakeLists.txt
GraphicsView/demo/GraphicsView/CMakeLists.txt
GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt
GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt
GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt
GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt
GraphicsView/demo/Snap_rounding_2/CMakeLists.txt
GraphicsView/demo/Spatial_searching_2/CMakeLists.txt
GraphicsView/demo/Stream_lines_2/CMakeLists.txt
GraphicsView/demo/Triangulation_2/CMakeLists.txt
Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt
Mesh_3/demo/Mesh_3/CMakeLists.txt
Mesh_3/demo/Mesh_3/include/CGAL_demo/Scene_item_with_display_list.h
Mesh_3/demo/Mesh_3/src/CGAL_demo/Scene.cpp
Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt
Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/Scene.cpp
Polyhedron/demo/Polyhedron/CMakeLists.txt
Polyhedron/demo/Polyhedron/Polyhedron_demo_join_and_split_polyhedra_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_trivial_plugin.cpp
Polyhedron/demo/Polyhedron/Scene.cpp
Polyhedron/demo/Polyhedron/Scene_combinatorial_map_item.h
Polyhedron/demo/Polyhedron/Scene_implicit_function_item.h
Polyhedron/demo/Polyhedron/Scene_plane_item.h
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
Polyhedron/demo/Polyhedron/Scene_polyhedron_transform_item.h
Polyhedron/demo/Polyhedron/Scene_polylines_item.h
Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt
Surface_mesher/demo/Surface_mesher/CMakeLists.txt
Triangulation_3/demo/Triangulation_3/CMakeLists.txt
Triangulation_3/demo/Triangulation_3/MainWindow.cpp
2015-06-30 09:17:26 +02:00
Laurent Rineau
76cf7e789f
Merge remote-tracking branch 'cgal/releases/CGAL-4.6-branch'
...
- Merge pull request #140 from
lrineau/Mesh_3-demo_fix_QGLViewer-2.6.0-lrineau
Fix for libQGLViewer>=2.6.0
Conflicts:
Installation/changes.html
2015-06-28 18:25:04 +02:00
Laurent Rineau
ad01608c2c
Fix for libQGLViewer>=2.6.0
...
Fix #138
2015-06-26 18:04:25 +02:00
Jane Tournois
32f0c9b37b
rename Point_inside_polygon_mesh to Side_of_triangle_mesh
...
and document it
2015-06-25 11:51:45 +02:00
Laurent Rineau
22242f69c7
Merge pull request #125 from lrineau/Mesh_3-fix_with_gcc44_cpp11-lrineau
...
Fix a compilation error with gcc44 -std=c++0x
Conflicts:
Mesh_3/include/CGAL/Mesh_3/Refine_facets_3.h
2015-06-18 17:31:09 +02:00
Sébastien Loriot
3fbc191693
Revert parts of "On Polygon_mesh_processing_OpenMesh-GF: fairing pour openmesh"
...
This reverts commit eb23730432aaeeef35b85feb013942175ae504f8, reversing
changes made to 1f0191190bcd9dfce903cf5af155ee114d00ac4b.
Only undo the permission changes
Conflicts:
Polygon_mesh_processing/examples/Polygon_mesh_processing/hole_filling_example_OM.cpp
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Hole_filling/Weights.h
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/fair_impl.h
Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_hole.h
2015-06-17 17:59:42 +02:00
Laurent Rineau
b221fd0328
Fix an incoherent indentation
2015-06-17 12:24:01 +02:00
Laurent Rineau
21a699368d
Fix a compilation error with gcc44 -std=c++0x
...
Should fix issue https://github.com/CGAL/cgal/issues/121
The error was that the "domain" class returns a `CGAL::Point_3<K>`, the
triangulation uses `CGAL::Weighted_point<CGAL::Point_3<K>, double>`, and
one piece of code from Mesh_3 in <CGAL/Mesh_3/Refine_facets_3.h> uses an
implicit conversion from
tuple<something_A, something_B, CGAL::Point_3<K> >
to
tuple<something_A, something_B, CGAL::Weighted_point<P, double> >
and plugs that into a `boost::optional`. For some reason, the g++-4.4
compiler does not like that, but recent g++ compilers accept the code.
The fix is to use an explicit conversion from `Point_3` to
`Weighted_point<Point_3, double>`.
2015-06-17 12:21:15 +02:00