Step 3 (bis): I forgot those small but important patches. The compilation
was OK. The run on Linux too, but there could have been runtime linking
errors on Windows, and subtle runtime issues (such as a missing draw
refresh).
Step 4:
- Update the MainWindow class, to use all the new possibilities of the
framework:
- multi-selection of items in the scene,
- activate the use of the items popup-menus.
- Add Qt Script possibilities.
- New actions in the "View" menu: "Look at", copy-paste of camera
positions, select background color.
- New action "Reload item", to reload an item if it was loaded from a
file.
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.
Step 2:
- Update the Scene_item class (a class from the framework):
- add the popup menu (not used at the moment),
- add the selection (not used).
- Update the Scene_polyhedron_item class.
- menu,
- picking.
Step 1:
- Polyhedron_type.h no longer defines Kernel and geometric
types. Kernel_type.h defines the EPIC kernel.
- Each plugin typedefs the geometric types it needs.
- Polyhedron defined in Polyhedron_type.h uses special "demo items":
- edges can be marked as "feature edge",
- facets have a "patch id" (an integer),
- and vertices have a set of patch ids.
revert parts of modifications done in r58343, r58233, r58232
The constness problem fixed by the aforementioned modifications
was induced by a non-used function that I commented.
Yesterday, I did a partial import of a patch from
/branches/experimental-packages/Mesh_3-protecting_balls-branch/Polyhedron/demo/Polyhedron/CMakeLists.txt
but my patch was wrong!
I should have tested!
If CGAL_INSTALLATION_PACKAGE_DIR is not set in CGALConfig.cmake, then when
one compile a demo/example on Windows, Installation/auxiliary (where
precompiled version of some third party libraries should be put) cannot be
found and used. That replaces the old CMake variable CGAL_SOURCE_DIRECTORY
(before branch-build).