Step 3:
- Update the API of the Scene and Viewer class (some methods are not yet used).
- Update the CMakeLists.txt, to compile all major classes of the
framework (Scene, Viewer, Scene_item) into a demo_framework library.
- Scene::bbox() is moved to Scene_nef_and_polyhedron_operations.cpp
- Fix display of Nef_polyhedron entries.
Details:
- no longer use <CGAL/Nef_3/OGL_helper.h>
- Scene::gl_render_nef_facets(Nef_polyhedron*) has been written from
scratch (inspired by pieces of OGL_helper).
- Use model light FRONT_AND_BACK for Nef_polyhedron entries, because
Nef_polyhedron does not have the inside_out operation.
a setAntiAliasing fucntion.
- One can now drag-drop several files at once. Scene::open(QString) is
called for each.
- In Scene.cpp, Scene::open() displays a warning dialog when the file is
not an OFF file.
- The polyhedra list is now in a QDockWidget, on the left by default. That
way the list can be moved in the user interface (like other dock
widgets). The "View" menu has an option to show/hide the dock widget.
- Subdivision methods now call viewer-updateGL(), so that the viewer
repaint itself after a polygon is modified.