Commit Graph

468 Commits

Author SHA1 Message Date
Laurent Saboret b95b41f7ab Large rewrite of the OpenGL rendering mode management:
* New OpenGL rendering modes: 
- New modes "points", "points+normals" and "Gouraud". 
- "fill" mode is renamed "flat". 
- "Superimpose edges" menu item replaced by "flat+edges" mode.

* New Scene_item::supportsRenderingMode() method allows or not each rendering mode for each item.
- Point_set_scene_item supports "points" and "points+normals".
- Scene_polyhedron_item supports new modes points" and "Gouraud".

* New Scene_item::draw_points() and draw_normals() methods to implement the "points" and "points+normals" modes. 

* New Scene_item::renderingModeName() method to factorize code to write the "rendering mode" field.
2009-04-07 14:30:17 +00:00
Laurent Saboret 5fefaf52a4 Merge with experimental-packages\Polyhedron_demo-refactoring r48660 2009-04-07 14:03:45 +00:00
Laurent Saboret 88264bc2df Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 5:
- added "Edit >> Convert to Point Set" menu item to convert a mesh to a point set
2009-04-06 15:21:22 +00:00
Laurent Saboret 206c29a68a Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 4:
- added xyz_plugin to load/save .xyz/.pwn point set files
2009-04-06 11:53:44 +00:00
Laurent Saboret 0760ac6624 Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 3:
- Revert filenames of files identical in the Polyhedron demo (=> easier comparison)
- Merge changes in Polyhedron_demo-refactoring up to r48617
2009-04-06 08:40:03 +00:00
Laurent Saboret f6ddd6ae06 Port to Linux/g++ 2009-04-03 17:51:59 +00:00
Laurent Saboret e15091df91 Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 3:
- Revert filenames of files identical in the Polyhedron demo (=> easier comparison)
- Merge changes in Polyhedron_demo-refactoring up to r48617
2009-04-03 17:15:13 +00:00
Laurent Saboret 9cea4c0899 Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 2:
- Can load and save point sets (OFF format)
- Draw point sets
2009-04-03 15:44:48 +00:00
Laurent Saboret 8556fa0452 Changes after submission review by AF (1):
* Point_set_processing_3 IO functions take now as parameter a std::istream instead of a filename.
* Removed read/write_pwn_point_set() which are replaced by read/write_xyz_point_set().
* Removed read_pnb_point_set() which obsolete.
2009-04-03 12:47:33 +00:00
Laurent Saboret 89db6de696 Create Qt Point Set demo from Qt Polyhedron demo and Poisson MFC demo.
Step 1:
This is a subset of experimental-packages/Polyhedron_demo-refactoring r48588 with only the features that make sense for the Point Set demo.
- 'Polyhedron demo' renamed as 'Point Set demo'.
- Removed Nef support.
- Removed boolean operations, curvature estimation, parameterization, kernel, orientation, self-intersection, subdivision algorithms.
- Kept PCA plug-in. Will change it to compute bounding sphere, bounding box, centroid and min ellipsis.
- Kept mesh simplification plug-in. Will change it to simplify point sets.
- Kept remeshing plug-in. Will change it to Poisson and APSS plug-ins.
- Kept Scene_polygon_soup class. Will change it to a point set class.
2009-03-31 14:55:24 +00:00
Laurent Saboret 8b0cf449c1 Temporary:
Turn on traces to debug segmentation fault in test suite (non reproductible on my machine).
2009-03-23 14:33:04 +00:00
Laurent Saboret 802e03ffa6 Temporary:
Turn on traces to debug segmentation fault in test suite (non reproductible on my machine).
2009-03-19 11:11:14 +00:00
Laurent Saboret a1ca106809 Speed up test suite (by a factor 3) 2009-03-16 17:48:49 +00:00
Laurent Saboret 63aab5b714 Split Surface_reconstruction_3 into Point_set_processing_3 and Surface_reconstruction_points_3 (part 4):
Update documentation and package_info.
2009-03-16 13:50:28 +00:00
Laurent Saboret 6910d12b97 Split Surface_reconstruction_3 into Point_set_processing_3 and Surface_reconstruction_points_3 (part 2):
Fixed compilation errors with Visual C++.
2009-03-13 17:26:14 +00:00
Laurent Saboret d0ff567259 Split Surface_reconstruction_3 into Point_set_processing_3 and Surface_reconstruction_points_3 (part 1):
* Move/rename files and folders.
* Rename point set IO functions.

Status: 
* Both packages compile on Unix/g++ 4.1.2. The test suite is OK.
* The documentation compiles for both packages.

TODO:
* Update the documentation and package_info
* Update Groviz
* Delete Surface_reconstruction_3
2009-03-13 15:50:14 +00:00
Laurent Saboret b63c026685 Split Surface_reconstruction_3 into Point_set_processing_3 and Surface_reconstruction_points_3 (part 1):Move/rename files and folders 2009-03-12 15:19:31 +00:00
Laurent Saboret 6b51c1f330 Split Surface_reconstruction_3 into Point_set_processing_3 and Surface_reconstruction_points_3 (part 1):Move/rename files and folders 2009-03-12 15:15:24 +00:00