Commit Graph

68164 Commits

Author SHA1 Message Date
Guillaume Damiand 406a2d4f1c Update user manual 2016-03-10 16:47:55 +01:00
Guillaume Damiand 2367827151 Update the doc to deprecate all global operations. 2016-03-10 16:37:00 +01:00
Simon Giraudot b9606f5d6c Some text corrections in Hello World 2016-03-10 16:31:50 +01:00
Simon Giraudot cec789483d Reference tutorial page in sidebar menu and header menu 2016-03-10 16:14:37 +01:00
Simon Giraudot b9d9db321c Add new page to manual: Tutorials 2016-03-10 16:13:49 +01:00
Simon Giraudot 3b840a2c04 Change tag of page Hello World 2016-03-10 16:13:27 +01:00
Simon Giraudot b83659fa87 Remove reference to Hello World from Getting_started 2016-03-10 16:12:57 +01:00
Simon Giraudot 64a212eb29 Move Hello World to tutorials 2016-03-10 16:12:34 +01:00
Laurent Rineau 0737a33a33 Merge pull request #899 from CGAL/OPT_2-add_missing_endcond
Fix doc typo
2016-03-10 12:39:28 +01:00
Sebastien Loriot 0a2afbfb45 Update Sample.h 2016-03-10 12:15:27 +01:00
Laurent Rineau 31d416df4e Fixes the PR #788
With the split of `CGALConfig.cmake` into several files, one for each
lib, then the variable `CGAL_ImageIO_USE_ZLIB` was no longer stored in
`CGALConfig.cmake`.

That led to a full blue line in the testsuite:
  https://cgal.geometryfactory.com/CGAL/Members/testsuite/results-4.8-Ic-155.shtml#Mesh_3_Examples
2016-03-10 11:56:55 +01:00
Sébastien Loriot c82ceaf435 improve description about boost libs allowed to be used 2016-03-10 11:21:10 +01:00
Guillaume Damiand 37e95ca593 Remove trailling whitespaces. 2016-03-10 10:47:24 +01:00
Guillaume Damiand 7741e0accb Update bug in doc of CMap. 2016-03-10 10:47:06 +01:00
Clément Jamin 69f4fea34c Update "Design and Implementation History" section (ERC support) 2016-03-10 10:40:28 +01:00
Guillaume Damiand e24572c942 demo updating for LCC after deprecation of global functions. 2016-03-09 19:00:16 +01:00
Guillaume Damiand fb4bc44829 examples and tests updating for LCC after deprecation of global functions. 2016-03-09 18:48:29 +01:00
Guillaume Damiand 4a5ee86271 examples and tests updating for CMap after deprecation of global functions. 2016-03-09 18:47:23 +01:00
Guillaume Damiand 7f45f5faea Update LCC following the deprecated global functions of CMap 2016-03-09 17:25:10 +01:00
Guillaume Damiand b73e3293ae Add this->template when calling templated member functions 2016-03-09 17:24:31 +01:00
Andreas Fabri d12e511097 Change license to LGPL for files that were moved from point set processing to STL_extension and Property_map 2016-03-09 17:04:07 +01:00
Andreas Fabri 324daa0b78 move value_traits 2016-03-09 16:35:49 +01:00
Simon Giraudot 5852b1134f Remove OFF_to_xyz plugin 2016-03-09 11:21:45 +01:00
Simon Giraudot e009926859 New plugin to create point set from polyhedron vertices (to replace OFF_to_xyz plugin) 2016-03-09 11:21:10 +01:00
Simon Giraudot 8bbf01f9af OFF_io_plugin now saves point sets too 2016-03-09 10:03:38 +01:00
Simon Giraudot f6bb959bc4 OFF_io_plugin now also reads OFF point sets 2016-03-09 09:58:10 +01:00
Simon Giraudot 73617d0704 Remove OFF_to_xyz plugin from CMakeLists 2016-03-09 09:57:54 +01:00
Guillaume Damiand 1493fa7e63 Modification of tests following the removal of global functions (nyf) 2016-03-09 09:43:25 +01:00
Guillaume Damiand 68ed581ee3 Modification of tests following the removal of global functions (nyf) 2016-03-09 08:48:32 +01:00
Frédérik Paradis 43c54aac1f Adding moc files to gitignore 2016-03-08 17:45:59 -05:00
Guillaume Damiand f348cc634a Bug fix 2016-03-08 19:02:27 +01:00
Guillaume Damiand dec4d3a732 Deprecated construction operations. 2016-03-08 19:01:37 +01:00
Guillaume Damiand f3ee141223 Update example following the code deprecated. 2016-03-08 19:01:19 +01:00
Guillaume Damiand 6a171dcc77 Deprecate global modification functions. 2016-03-08 18:45:55 +01:00
Andreas Fabri 2320786df4 many small fixes 2016-03-08 12:27:22 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Sébastien Loriot 2d191d6651 commit CMakeLists.txt for all examples and tests 2016-03-07 17:39:36 +01:00
Sebastien Loriot 67556fbef3 Merge pull request #887 from odevil/patch-1
bug fix in doc spatial_sorting
2016-03-07 15:52:08 +01:00
Olivier Devillers 3f5af4219d bug fix in doc spatial_sorting 2016-03-07 14:22:12 +01:00
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Sebastien Loriot 6a5525be7e Merge pull request #884 from afabri/patch-1
Fix typo
2016-03-05 09:38:10 +01:00
Andreas Fabri cd4457407b Fix typo 2016-03-04 17:31:32 +01:00
Laurent Rineau 80d7a738e4 Change the semantic of the Scene_group_item
New feature: an object of class `Scene_group_item`, or derived, is
responsible for drawing its children items. That is the first
approximation of a scene graph.

For that goal, several steps were needed.

- Remove the overload of `Scene::draw()` and `Scene::drawWithNames()`
  that does not have the viewer as parameter. Remove then from
  `Scene_draw_interface` as well.

- Add `Viewer::inDrawWithNames()` so that items, including the
  `Scene_group_item`, can now if a draw function is called for the
  picking or not.

- Add the draw function in `Scene_group_item`:
```
  virtual void draw(CGAL::Three::Viewer_interface*) const;
  virtual void draw_edges(CGAL::Three::Viewer_interface*) const;
  virtual void draw_points(CGAL::Three::Viewer_interface*) const;
  virtual void draw_splats(CGAL::Three::Viewer_interface*) const;
```
  Those draw functions actually call the draw functions of all the
  visible children, depending on their rendering mode. If
  `viewer->inDrawWithNames()`, draw nothing, and let the children be
  drawn with their own names. Another solution could be that the draw
  functions of `Scene_group_item` use `glPushName/glPopName`. That API
  seems to be usable with a scene graph.

- Add in `Scene_item` two functions:
```
  void moveToGroup(Scene_group_item* group);
  Scene_group_item* parentGroup() const;
```
  That is one first step to allow the `has_group` data member to become
  a private member, instead a public one (ugly!!).

Then the big change is in the scene:

- The scene will not call the draw function of items with a parent
  group, if the group itself is visible. If the group is not visible but
  the children are set to visible, then they are drawn anyway. That
  means that a group can "steal" the drawing of its children when it is
  visible. That behavior is really convenient for the use case I have in
  mind, but it may be strange.

- In the picking, in `drawWithName()`, the draw function of all items
  are called, even if they have a parent group.

Cosmetic:

  - Move the definition of the constructor `Scene_item::Scene_item` in
    the cpp file.
2016-03-04 14:37:53 +01:00
Sébastien Loriot 103687fbc7 move documentation file 2016-03-04 14:13:30 +01:00
Sébastien Loriot 96c4dc60de Merge pull request #879 from maxGimeno/Polyhedron_demo-c3t3_color_fix-GF
Polyhedron demo : c3t3 color fix
2016-03-04 13:31:00 +01:00
Sebastien Loriot ef3721a581 Merge pull request #881 from janetournois/PMP-isotropic_remeshing_reduce_aabbtree-jtournois
PMP isotropic remeshing : reduce the internal aabb_tree to the input face_range
2016-03-04 13:28:11 +01:00
Sebastien Loriot 60c29f4b8f Merge pull request #882 from janetournois/Polyhedron_demo-fix_colors_only-jtournois
Polyhedron_item : fix "colors_only'
2016-03-04 13:26:16 +01:00
Sebastien Loriot 337d5cbf77 Merge pull request #878 from afabri/Mesh_3-segmented_image-GF
Only interpolate for existing labels
2016-03-04 13:25:17 +01:00
Sebastien Loriot 59ed4a9462 Merge pull request #876 from afabri/Periodic_2-init_double-GF
Call init_double in Periodic_T2 static filters
2016-03-04 13:24:55 +01:00
Sebastien Loriot 8e6c92b738 Merge pull request #859 from sloriot/Polyhedron_demo-add_cdt2_mesher
Polyhedron demo: add cdt2 mesher
2016-03-04 13:08:52 +01:00