- New interface Viewer_interface to that the pointer is a pointer to
Viewer_interface instead of a pointer to Viewer.
- New functions overloads
draw(Viewer_interface*)
drawEdges(Viewer_interface*)
and so on.
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.
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.