Maxime Gimeno
a84acd367d
Add the misisng interface file
2017-05-30 15:17:12 +02:00
Maxime Gimeno
f85a6a52aa
Finish updating the in code doc.
2017-05-30 15:17:12 +02:00
Maxime Gimeno
2570bd3a53
Explicitates the TextRenderer's doc.
2017-05-30 15:15:55 +02:00
Maxime Gimeno
05126f0971
Enhancements :
...
- Explicitate the doc
- Make the Scnee_print_item_interface a real interface
2017-05-30 15:15:54 +02:00
Maxime Gimeno
965e6f545d
Make Viewer_interface more interface-like.
2017-05-30 15:12:31 +02:00
Maxime Gimeno
38a991006b
Use dynamic properties to determine isPolyhedronMode()
2017-05-19 14:07:06 +02:00
Maxime Gimeno
92c7f227a7
- Clarify doc
...
- make the indices map local
- make the Polyhedron Mode a setting in the preference dialog
2017-05-19 14:06:34 +02:00
Maxime Gimeno
e07e19271d
Add a toggle to specify if we are in Polyhedron_mode(default) or Surface_mesh mode, in the Edit menu. This value is accessible from a Scene_interface object under the name isPolyhedronMode().
2017-05-19 14:05:01 +02:00
Maxime Gimeno
7e87b88762
Make a zoomToPosition function for the Scene_polyhedron_item
2017-05-12 09:24:18 +02:00
Maxime Gimeno
a732bb3c66
Don't use signals/slots system but override itemAboutToBeDestroyed
2017-03-24 12:10:22 +01:00
Maxime Gimeno
d5fc592135
clean the surface_mesh_item, point-set_item and c3t3_item as well
2017-03-24 12:10:01 +01:00
Maxime Gimeno
0632a86970
Factorize program declaration and use special shader for flat shading without pre computing the normals.
2017-02-21 15:20:33 +01:00
Maxime Gimeno
ebfa4a7ea5
Add a shrinking possibility to the facets of the c3t3_item.
...
To apply it, either use the slider in the item's menu, or use + and - when the item is selected.
2017-02-08 11:42:15 +01:00
Sébastien Loriot
50510c05ea
add include directive for license of all GPL header files
...
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
grep -v Operations_on_polyhedra | \
grep -v Algebraic_kernel_for_circles | \
grep -v Algebraic_kernel_for_spheres | \
grep -v Polyhedron_IO`;
do
echo $i
python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Maxime Gimeno
ec4deace20
Update ids when invalidateOpenGLBuffers() is called
2017-01-12 12:05:39 +01:00
Laurent Rineau
a5e254f0d8
Merge pull request #1737 from maxGimeno/Polyhedron_demo-Fix_large_coordinates_bug-GF
...
Polyhedron_demo: Fix display bugs when the scene is greatly offsetted
2017-01-12 11:10:11 +01:00
Laurent Rineau
ba6a05a134
Fix -Wconversion warnings
2016-12-30 16:44:08 +01:00
Maxime Gimeno
1c55bef931
Update the doc forthe group_items and the plugins.
2016-12-15 13:26:38 +01:00
Laurent Rineau
847906e2e4
Extend --no-try-catch to catching of C++ exceptions in Qt scripts
2016-12-02 13:05:43 +01:00
Maxime Gimeno
ca5ea47e48
Add an offset vector to the viewer.
2016-12-02 12:03:46 +01:00
Laurent Rineau
5e38a93815
At least return a Boolean
...
When the wrapped function return type is `void`, the return type of
`wrap_a_call_to_cpp` is now `bool`.
2016-11-04 12:10:19 +01:00
Laurent Rineau
690c5f6623
Fix a compilation error
2016-11-04 12:10:16 +01:00
Laurent Rineau
54dbab9d3c
fixup! Better exception handling (with Qt Script)
2016-10-27 18:11:33 +02:00
Laurent Rineau
418fbdef69
Better exception handling (with Qt Script)
...
- Uncaught Qt Script exception are now converted to a C++ exception of
type `CGAL::Three::Script_exception`.
- With `<CGAL/Three/exceptions.h>` and the use of `QScriptable` and
`CGAL::Three::wrap_a_call_to_cpp`, if a C++ exception is thrown by a C++
piece of code that was called from a script, then a Javascript
exception is thrown, so that a script can have a chance to catch it.
- Add a method `throw_exception()` in the `trivial_plugin`, as well as
test scripts in `javascript/tests/`, to test that new set of features
in C++/QtScript exceptions handling.
2016-10-26 18:39:06 +02:00
Laurent Rineau
e7b2920315
Merge pull request #1579 from maxGimeno/Polyhedron_demo-save_c3t3_state_when_reload-GF
...
Polyhedron_demo : Keep the c3t3_item's state when reloading
2016-10-20 09:47:32 +02:00
Maxime Gimeno
3ba5277d97
Clean-up
2016-10-17 09:36:44 +02:00
Maxime Gimeno
29d7a375bc
Restore the spheres, grid, intersections and CNC state when reloading a c3t3_item.
2016-10-14 16:58:20 +02:00
Maxime Gimeno
ff25c2bac6
Move ShadedPoints in the enum to preserve some of the binary compatibility.
2016-08-09 15:05:23 +02:00
Maxime Gimeno
e99655ab87
Add a renderingMode to distinguish between ShadedPoints and regular Points.
2016-08-02 11:52:27 +02:00
Maxime Gimeno
a3ed36ee25
Externalize the triangulation code for the facets in items
...
- Use an external class to triangulate the facets in Polyhedron_item, Surface_mesh_item, Polygon_soup_item and Polyhedron_selection_item.
2016-06-06 16:12:18 +02:00
Maxime Gimeno
060377f231
Add a function to get the diagonal of an item's Bbox.
2016-06-03 11:16:11 +02:00
Maxime Gimeno
56a75095ad
Merge branch 'Polyhedron_demo-Use_d_pointers-GF-old' into Polyhedron_demo-Use_d_pointers-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/Scene_image_item.cpp
Polyhedron/demo/Polyhedron/Scene_image_item.h
Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
Polyhedron/demo/Polyhedron/Scene_polylines_item.cpp
2016-06-03 10:38:05 +02:00
Maxime Gimeno
b5ef4c2938
Merge branch 'Polyhedron_demo-Use_d_pointers-GF-old' into Polyhedron_demo-Use_d_pointers-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
2016-05-31 11:51:59 +02:00
Sébastien Loriot
d9a0ef25e3
change init order
2016-05-30 18:04:46 +02:00
Maxime Gimeno
084662ea87
Print the information on screen.
2016-05-27 17:02:08 +02:00
Sébastien Loriot
11b8eb428b
Merge pull request #558 from maxGimeno/Polyhedron_demo-display_indices_of_primitives-GF
...
Display indices of Polyhedron_item primitives in Polyhedron_demo
2016-05-26 17:09:23 +02:00
Sébastien Loriot
cea729de5a
fix header
2016-05-26 17:05:34 +02:00
Maxime Gimeno
84a32d2685
Merge branch 'Polyhedron_demo-Use_d_pointers-GF-old' into Polyhedron_demo-Use_d_pointers-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_deformation/Scene_edit_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.h
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
Three/include/CGAL/Three/Scene_group_item.h
2016-05-26 10:42:23 +02:00
Maxime Gimeno
9abe59c917
Fix the bug of single textItems on multiple scene_items.
2016-05-25 17:02:26 +02:00
Maxime Gimeno
7fde6ef3a2
Fix plugins with disconnected actions.
2016-05-13 16:13:15 +02:00
Maxime Gimeno
473c92c00c
Remove the init() function without Messages_interface from the plugins API
2016-05-10 17:10:59 +02:00
Maxime Gimeno
57a5a91ccf
Clean-up
2016-05-09 15:15:05 +02:00
Maxime Gimeno
7900079127
D-pointer for the nef_polyhedron_item and the Scene_plane_item
2016-05-09 09:19:11 +02:00
Maxime Gimeno
ce279e9cda
Merge branch 'Three_doc_for_review_rebase-GF' into Polyhedron_demo-Use_d_pointers-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/Plugins/Operations_on_polyhedra/Scene_combinatorial_map_item.cpp
Polyhedron/demo/Polyhedron/Plugins/Operations_on_polyhedra/Scene_combinatorial_map_item.h
Polyhedron/demo/Polyhedron/Plugins/PCA/Scene_polyhedron_transform_item.cpp
Polyhedron/demo/Polyhedron/Plugins/PCA/Scene_polyhedron_transform_item.h
Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Scene_polyhedron_shortest_path_item.cpp
Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Scene_polyhedron_shortest_path_item.h
Polyhedron/demo/Polyhedron/Scene_implicit_function_item.cpp
Polyhedron/demo/Polyhedron/Scene_implicit_function_item.h
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
Three/include/CGAL/Three/Scene_item.h
2016-05-06 16:03:30 +02:00
Maxime Gimeno
96c9d2eb70
Fix the rebase
2016-05-06 12:15:04 +02:00
Maxime Gimeno
92e86c50a8
WIP clean-up
2016-05-06 11:12:10 +02:00
Maxime Gimeno
3f0f27a5ac
Plugin API made in CamelCase
2016-05-06 11:12:09 +02:00
Maxime Gimeno
4dadba77c4
Clean-up the plugin helper
2016-05-06 10:51:59 +02:00
Maxime Gimeno
542ee48ddb
Finished doc update and replaced BBox by CGAL::BBox_3
2016-05-06 10:50:50 +02:00
Maxime Gimeno
111f3b666b
Fix removeChild
2016-05-06 10:50:49 +02:00