Commit Graph

720 Commits

Author SHA1 Message Date
Sébastien Loriot b2afce039a add a mechanism to prevent a plugin to be loaded
for example, adding in the config file

plugin_blacklist=gocad_plugin|

will prevent the gocad to be loaded
2012-10-17 16:18:07 +00:00
Laurent Rineau abd413f3fc Cherry pick a bug-fix to demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp
| ------------------------------------------------------------------------
  | r72724 | lrineau | 2012-10-09 15:30:02 +0200 (Tue, 09 Oct 2012) | 4 lines
  | Changed paths:
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/Polyhedron_demo_orient_soup_plugin.cpp
  | 
  | The orient_soup_plugin applies also to polyhedron items
  | 
  | because of the "shuffle" function.
  | 
  | ------------------------------------------------------------------------
2012-10-09 13:33:06 +00:00
Andreas Fabri b8b7a5dad3 get rid of spurious XX 2012-10-03 17:02:54 +00:00
Philipp Möller bc48dfe5a0 Be consistent about author/authors 2012-10-03 16:40:16 +00:00
Andreas Fabri 16992d9713 change link for \ccDepends 2012-10-03 11:00:43 +00:00
Andreas Fabri 57196c4c54 dont refer to undocumented class 2012-10-03 09:38:58 +00:00
Philipp Möller 272a52ee44 Do a global pass over Doxygen warnings/errors. 2012-10-02 15:12:54 +00:00
Philipp Möller c9fdbf3edb Add an anchor to each level one heading, so we get a nice tree in the
user manuals.
2012-10-02 11:53:01 +00:00
Philipp Möller 37778547bf Fix example to point to paths similar to a flat layout 2012-10-01 18:02:44 +00:00
Philipp Möller b240d7e8d5 Simplify layout, remove a few linker errors 2012-10-01 14:29:28 +00:00
Laurent Rineau 778ba6174f Bug fix when the polygons soup is a polyhedron with borders
An orientable polygons soup with border was incorrectly said
non-orientable.
2012-09-27 14:11:22 +00:00
Laurent Rineau fe83cbfaa1 Fix the overriding of the cursor
When several polygon soups are oriented at the same time, there was a bug.
2012-09-27 14:10:32 +00:00
Philipp Möller 9d96057636 Add PkgDependsOn to the package summary 2012-09-27 11:13:37 +00:00
Philipp Möller b64ba48134 The changes to move the package overview labels into the
PackageDescription.
2012-09-25 17:17:49 +00:00
Philipp Möller 6ba81fca79 Fix floating stray \code in incremental builder and some all around fixes. 2012-09-24 14:41:48 +00:00
Laurent Rineau a83fcd1632 Better "orient polygons soup"
- The list of non manifold edges is now a set of canonicalized edges.
- The flooding process that orients the polygons no stops at edges that are
  known to be non manifold.

The result is better that way.
2012-09-24 12:03:13 +00:00
Laurent Rineau 0e2878da8c Add shortcuts to actions 2012-09-24 12:01:21 +00:00
Philipp Möller 1954eff3d6 * build normalized mainpage anchors
* better naming for Pkg commands
* User and Reference Manual links from the PackageOverview
2012-09-20 15:30:03 +00:00
Philipp Möller 1b3a78a08f Salvage the demo information from the old package description. 2012-09-20 13:30:49 +00:00
Philipp Möller 50e5409ffe Merge next and restore the temporary delete of Bounding_volumes/doc 2012-09-20 11:37:03 +00:00
Laurent Rineau 773fb1cf5a Fix calls to addToRecentFiles
The menu of "recent files" was no longer filled correctly.
2012-09-20 10:32:39 +00:00
Philipp Möller d59f28537d remove duplicated anchor 2012-09-18 13:34:52 +00:00
Andreas Fabri 6f61e2b2ee Downsize headings 2012-09-17 14:53:05 +00:00
Andreas Fabri 11d83f019d fix /</I> 2012-09-13 14:19:15 +00:00
Philipp Möller 864aebe2e5 Merge next.
This commit also updates the respective mock-headers when the
corresponding .tex documentation has changed. This has been the case for:

AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABB_traits.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_features.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_no_features.tex
Number_types/doc_tex/NumberTypeSupport_ref/Interval_nt.tex
Number_types/doc_tex/NumberTypeSupport_ref/Lazy_exact_nt.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_2.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_3.tex
Triangulation_2/doc_tex/Triangulation_2_ref/Constrained_Delaunay_triangulation_2.tex
2012-09-12 14:14:22 +00:00
Andreas Fabri a5a4f2d313 change name of illustration for package description 2012-09-12 09:59:11 +00:00
Sébastien Loriot a18b9ee368 add Pierre's polyline smoother in item context menu 2012-09-12 07:34:15 +00:00
Andreas Fabri b1a8b56610 de-math 2012-09-11 20:06:33 +00:00
Andreas Fabri 2017b214c3 linking of \sa 2012-09-11 19:30:03 +00:00
Andreas Fabri f8d7c643f7 linking of \sa 2012-09-11 19:18:53 +00:00
Philipp Möller 714b1956fb mistakenly moved some nested types into a deeper nesting than they are
supposed to be
2012-09-11 16:05:54 +00:00
Philipp Möller 761548eb26 Add Polyhedron doc 2012-09-11 15:24:57 +00:00
Sébastien Loriot 83253064e3 convex hull can also be applied to polylines 2012-09-11 08:59:18 +00:00
Laurent Rineau a53a1f305f Use the wait cursor during the loading of a file (can last long) 2012-09-03 13:54:58 +00:00
Sébastien Loriot df2fb628cf clear incorrect tag 2012-08-28 11:48:12 +00:00
Sébastien Loriot 082612b1ce add camera position plugin from Mesh_3-experiments-GF
if I did not forget something, the demos are now in sync except the mesh_3 related parts
2012-08-22 16:06:18 +00:00
Sébastien Loriot 39dc711a64 manual import of patches from feature branch Mesh_3-experiments-GF
------------------------------------------------------------------------
r66318 | lrineau | 2011-11-14 19:40:54 +0100 (Mon, 14 Nov 2011) | 4 lines

Default context menu for the infoLabel

Now that the infoLabel is browsable, use the default context menu, instead
of the scene context menu.
------------------------------------------------------------------------

------------------------------------------------------------------------
r66316 | lrineau | 2011-11-14 19:40:51 +0100 (Mon, 14 Nov 2011) | 3 lines

The text of the infoLabel is now browsable

The text of the infoLabel can be selected and copied to the clipboard.
------------------------------------------------------------------------

------------------------------------------------------------------------
r68601 | lrineau | 2012-04-18 12:00:20 +0200 (Wed, 18 Apr 2012) | 1 line

Read/Save the antialiasing setting
------------------------------------------------------------------------

only the children part from this one:
------------------------------------------------------------------------
r64283 | lrineau | 2011-06-21 16:57:09 +0200 (Tue, 21 Jun 2011) | 5 lines

Make mesh_3_plugin call the slot detectSharpEdges() directly

Plugins are now children of the main window. mesh_3_plugin can search for
the detect_sharp_edges_plugin among the children of MainWindow, and call
its slot detectSharpEdges() directly.
-----------------------------------------------------------------------
2012-08-22 15:55:32 +00:00
Sébastien Loriot c6df9cdc85 manual import of patches from feature branch Mesh_3-experiments-GF
|------------------------------------------------------------------------
  |r66673 | lrineau | 2011-12-06 15:40:22 +0100 (Tue, 06 Dec 2011) | 1 line
  |
  |Fix the "Erase all" action
  |------------------------------------------------------------------------

  |------------------------------------------------------------------------
  |r66512 | lrineau | 2011-11-24 15:33:59 +0100 (Thu, 24 Nov 2011) | 5 lines
  |
  |Do not use GL_COMPILE_AND_EXECUTE with display lists
  |
  |If we call glNewList with GL_COMPILE_AND_EXECUTE, then any glGetError()
  |inside triggers an GL_INVALID_OPERATION error. Now one uses GL_COMPILE and
  |then call the list just after its creation.
  |------------------------------------------------------------------------

  |------------------------------------------------------------------------
  |r64472 | sloriot | 2011-06-29 14:28:00 +0200 (Wed, 29 Jun 2011) | 3 lines
  |
  |draw only one out of the two opposite halfedges in nef
  |
  |
  |------------------------------------------------------------------------
  |------------------------------------------------------------------------
  |r67665 | lrineau | 2012-02-08 16:12:11 +0100 (Wed, 08 Feb 2012) | 1 line
  |
  |Display the selected vertex's point, if the polyhedron selection
  |------------------------------------------------------------------------

  |------------------------------------------------------------------------
  |r64570 | lrineau | 2011-07-04 16:04:28 +0200 (Mon, 04 Jul 2011) | 5 lines
  |
  |The Show Point dialog is pre-filled with the clipboard.
  |
  |If the content of the clipboard (either the selection clipboard or the
  |normal clipboard) matches, the line edit of the Show Point dialog is
  |pre-filled with that content.
  |-----------------------------------------------------------------------

  |------------------------------------------------------------------------
  |r66511 | lrineau | 2011-11-24 15:33:57 +0100 (Thu, 24 Nov 2011) | 5 lines
  |
  |Fix an OpenGL bug
  |
  |"::glDisable(GL_POLYGON_SMOOTH_HINT)" is not right. That gives an
  |GL_INVALID_ENUM error. One must use "glHint(GL_LINE_SMOOTH_HINT,
  |GL_FASTEST)" instead.
  |------------------------------------------------------------------------

  |------------------------------------------------------------------------
  |r66510 | lrineau | 2011-11-24 15:33:55 +0100 (Thu, 24 Nov 2011) | 4 lines
  |
  |New file with a function CGAL::check_gl_error(filename, line_nb)
  |
  |That function checks if the OpenGL stack has errors, and display them. It
  |uses GLU to get error strings for error enums (gluErrorString).
  |------------------------------------------------------------------------
2012-08-22 15:36:50 +00:00
Sébastien Loriot 6b602e456f restore cursor if changed 2012-08-22 14:56:26 +00:00
Sébastien Loriot 1f05b45c31 add gocad plugin from from feature branch Mesh_3-experimental-GF 2012-08-22 14:51:11 +00:00
Sébastien Loriot 99392cffd6 add stl_plugin from feature branch Mesh_3-experimental-GF 2012-08-22 14:47:46 +00:00
Laurent Rineau 2db4effa7e CMake: Fix the handling of cmake_policy
That is a followup-to my commit last year:
  | ------------------------------------------------------------------------
  | r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
  | 
  | Try to fix my last revision about cmake_policy, with CMake-2.6.x
  | 
  | CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
  | x.y.z is greater than the current CMake version.
  | 
  | ------------------------------------------------------------------------

The following check:
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
 cmake_minimum_required(VERSION 2.6.2)



The script used to fix that was:


#!/usr/bin/env perl

$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
  cmake_policy(VERSION 2.8.4)
else()
  cmake_policy(VERSION 2.6)
endif()
END

while(<>) {
    if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
        while(<>) {
            if(/^endif\(\)/) {
                print "$replacement";
                while(<>) {
                    print;
                }
                exit 0
            }
        }
    }
    print;
}
2012-08-22 12:35:03 +00:00
Philipp Möller 5688d58b1b break apart multi-cites, TO BE UNMERGED 2012-08-17 13:17:11 +00:00
Laurent Rineau d0f837e36d Restore the default cursor after an exception catching 2012-08-17 08:55:05 +00:00
Laurent Rineau a04891ff93 WARNFIX: fix some warnings triggered by -Wconversion on g++ 2012-08-09 16:06:54 +00:00
Laurent Rineau 1838684a6a Fix compilation of Polyhedron and Mesh_3 demos on Windows 2012-08-09 14:26:24 +00:00
Laurent Rineau ecbd229369 WARNFIX: bad use of size_t whereas int was the right type 2012-08-09 12:45:11 +00:00
Philipp Möller a11939ab53 Make the linking explicit
The change in CGAL_USE_FILE made it necessary to specify linking
dependencies explicitly. Adds a small macro add_item to smooth out the
process for items.
2012-08-09 10:14:20 +00:00
Sébastien Loriot 8459fc6485 update the default polyhedron to have indices in simplices
so that plugin can simply attach properties to them.
2012-08-03 15:22:58 +00:00
Sébastien Loriot 8fdfaaf041 add a way to not update automatically the color vector
(in case a plugin has fixed it)
2012-08-03 13:20:30 +00:00
Philipp Möller e65a8028ea Replace tex-style quotes with quotes that you would expect, as there
is no way to handle them in the converter.

Needs to be revert before this is being merged into next.
2012-08-02 12:55:15 +00:00
Sébastien Loriot b2bb0ce45a simpler patch for removing info with item (r67819).
Revert r70929
2012-08-01 15:22:03 +00:00
Sébastien Loriot 94a1c41aa3 please test your change before commiting 2012-08-01 15:05:11 +00:00
Sébastien Loriot 5429eb8b3e give access to the color vector to let a plugin use its own colors 2012-08-01 14:18:14 +00:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Sébastien Loriot ea408a8602 update info when items are deleted 2012-08-01 06:16:15 +00:00
Sébastien Loriot eecde00a77 import nef io plugin from Mesh_3-experimental-GF 2012-08-01 05:37:55 +00:00
Sébastien Loriot 9e16ac5e21 update polyline filters 2012-08-01 05:35:31 +00:00
Sébastien Loriot e7b9064869 import Polyhedron affine transform plugin from Mesh_3-experimental-GF 2012-08-01 05:27:21 +00:00
Sébastien Loriot 6799a36fb0 do not try plugins to load if the file does not exist 2012-08-01 05:19:40 +00:00
Sébastien Loriot 48f8192d76 fix normal display 2012-08-01 05:13:43 +00:00
Laurent Rineau e852c4d62b std::invalid_argument derives from std::logic_error. 2012-07-31 15:46:23 +00:00
Laurent Rineau 5e9afc49f7 Cherry-pick that revision, to restore scripts in the demo:
| ------------------------------------------------------------------------
  | r70911 | lrineau | 2012-07-31 17:30:38 +0200 (Tue, 31 Jul 2012) | 4 lines
  | Changed paths:
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.cpp
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.h
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.ui
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/geomodel.js
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/testsuite.js
  | 
  | Restore the handling of scripts
  | 
  | + add a shortcut to the new "load script" action.
  | 
  |
  ------------------------------------------------------------------------
The .js files are not commited in next.
2012-07-31 15:45:47 +00:00
Sébastien Loriot 96506df9c1 match composed extensions and several extension per file type 2012-07-31 14:03:20 +00:00
Laurent Rineau 10dd183ca6 Stupid bug: the script *loader* must use getOpenFileName
instead of getSaveFileName! Please test what you commit!!
2012-07-31 12:39:34 +00:00
Philipp Möller 495fac8ea1 Merge from next 2012-07-27 17:58:52 +00:00
Sébastien Loriot eb95b00499 fix display mode selection induced by introduction of a new display mode 2012-07-27 13:52:01 +00:00
Sébastien Loriot b22a192d40 fix display of polyhedron items 2012-07-27 13:32:48 +00:00
Sébastien Loriot e060d19f7d display error 2012-07-27 13:24:39 +00:00
Sébastien Loriot 9deba05a96 restore properties accidently erased 2012-07-27 13:10:37 +00:00
Sébastien Loriot 740d865f09 remove local_spacing plugin that was needed for splatting 2012-07-27 10:53:31 +00:00
Sébastien Loriot 19422b5103 convex hull works with points 2012-07-27 09:52:29 +00:00
Sébastien Loriot 980ddfb16a remove warning+forgot to test things 2012-07-26 07:17:58 +00:00
Sébastien Loriot 822e6ecf7f remove splatting. If someone really wants it, we can think about importing it 2012-07-25 12:50:40 +00:00
Sébastien Loriot c6bd2e92bc missing one 2012-07-25 11:21:56 +00:00
Sébastien Loriot 46d4312d48 correct export 2012-07-25 11:20:36 +00:00
Sébastien Loriot 6ab6f956ea add applicable for new plugins and udate nameFilter for polyline 2012-07-25 10:40:47 +00:00
Sébastien Loriot d0c904e01f merge from next 2012-07-25 08:34:04 +00:00
Sébastien Loriot 49f64c87b0 update license to GPL v3 2012-07-25 07:37:34 +00:00
Sébastien Loriot febeceacff extra ; and missing template keyword needed by gcc-3.4 2012-07-17 07:56:10 +00:00
Sébastien Loriot ce858d47c6 enhance loader:
-propose only io plugin that matches the extension
  -if only one matches, use that one
  -if none match let the user choose among all available
2012-07-14 11:28:08 +00:00
Sébastien Loriot b5db0afc5b propose only io_plugin's which extension match nameFilters() 2012-07-14 10:37:53 +00:00
Sébastien Loriot 003b2fa150 renable open from command line 2012-07-14 08:18:09 +00:00
Sébastien Loriot c6c8fc571b fix conversion from size_t to unsigned 2012-07-14 08:03:33 +00:00
Sébastien Loriot 0ce2a5cd54 fix constness issue detected by clang 2012-07-14 07:52:34 +00:00
Sébastien Loriot 5ebcd6416f remove extra ; and warnings 2012-07-14 07:22:46 +00:00
Sébastien Loriot 59431aaff6 add average spacing plugin 2012-07-13 14:05:06 +00:00
Sébastien Loriot 59e096cc9a rename target 2012-07-13 14:02:48 +00:00
Sébastien Loriot daec486eff renaming 2012-07-13 13:54:45 +00:00
Sébastien Loriot a148123253 add todo 2012-07-13 13:06:57 +00:00
Sébastien Loriot 3d3517408b update testsuite to compile new plugins 2012-07-13 07:23:25 +00:00
Sébastien Loriot 04b2551e51 add plugin to load a point set from an off 2012-07-11 21:02:34 +00:00
Sébastien Loriot 2570cf238c import missing part for key shortcut 2012-07-11 17:26:00 +00:00
Sébastien Loriot 69c48f86d0 add polyline io plugin 2012-07-11 16:59:02 +00:00
Sébastien Loriot 0d4ec036c7 import polyline scene item.
corefinement and intersection plugin compiles and work nicely (except event key)
2012-07-11 16:54:58 +00:00
Sébastien Loriot 85f341e1ef import the key press for item from Mesh_3-experimental-GF 2012-07-11 16:43:41 +00:00
Philipp Möller e43b2636d2 Also filter sub-menus when selection operations, sort the menu 2012-07-11 16:38:37 +00:00
Sébastien Loriot b45da9c327 naive import from Mesh_3-experimental-GF of plugins 2012-07-11 16:37:02 +00:00
Sébastien Loriot e2e155fdb4 add include files for the demo 2012-07-11 16:21:54 +00:00
Philipp Möller d2ae93d5ce Add an all option with manual plug-in selection to the loader. 2012-07-11 15:41:44 +00:00
Philipp Möller f847452488 * errors in the main application are now handled through exceptions
* remove example copy-paste mistake
2012-07-11 15:22:02 +00:00
Sébastien Loriot 3055753149 fix extension parsing 2012-07-11 14:36:59 +00:00
Philipp Möller 1bc5244886 Filter the Operations menu by querying plug-ins for the applicability.
Some meta-programming might make that mechanism less boiler-plate-y,
but it is fine for now.
2012-07-11 13:15:37 +00:00
Philipp Möller 371aa42481 Reintegrate the history mechanism with a little awkward hack and a
selection box.
2012-07-11 10:27:04 +00:00
Sébastien Loriot bf8241061c refactorize the code inside an include file and name clean up 2012-07-10 19:09:45 +00:00
Philipp Möller 5ccaa9c293 more todos to build some plan 2012-07-10 17:12:20 +00:00
Philipp Möller 95354ebaae Change the loader mechanism to enable plugin specific selection
The loading files now checks which plug-in can actually handle the
requested file type. items remember which loader has been used to load
them. Loading scripts has been separated out into a separate function.

Recently used history is not yet aware of that change and has to be
pried out of the base class.
2012-07-10 17:05:56 +00:00
Sébastien Loriot f1bdb9c8a7 merge from next 2012-07-10 14:33:09 +00:00
Sébastien Loriot 621ef92371 make plugin callable 2012-07-10 14:19:11 +00:00
Sébastien Loriot a751d0153e fix plugin name 2012-07-10 14:03:47 +00:00
Philipp Möller b6829ddc06 * Port Point_set_local_spacing
* merge the todo lists
2012-07-09 15:03:09 +00:00
Sébastien Loriot 0c8fc79c9f color normals 2012-07-06 13:25:10 +00:00
Sébastien Loriot ea5569e377 remove warnings 2012-07-06 13:01:00 +00:00
Sébastien Loriot aedb8d606e update todo 2012-07-06 09:40:35 +00:00
Sébastien Loriot 02060279f5 add jet smoothing 2012-07-06 09:23:01 +00:00
Sébastien Loriot 5b6e959512 add outlier selection plugin 2012-07-06 08:50:12 +00:00
Sébastien Loriot 601a5e4fa2 add point set simplification plugin 2012-07-06 08:17:01 +00:00
Sébastien Loriot e6b01c4c3b automatic registration of plugin is done if inheritence from helper is public 2012-07-06 08:14:47 +00:00
Sébastien Loriot 1d3092b7d8 add poisson reconstruction plugin 2012-07-06 07:52:19 +00:00
Sébastien Loriot a5c6c49c52 add normal estimation plugin 2012-07-05 14:40:32 +00:00
Sébastien Loriot ca17d4fe47 * add plugin to read/write points, and points with normal
* convex hull is now working with points as input
* modification to able the display of points with normal
2012-07-05 13:31:04 +00:00
Sébastien Loriot 76d9a00426 naive import of scene item for points with normal 2012-06-29 15:57:01 +00:00
Sébastien Loriot e702f20986 Eigen 3-1 is out.
Require Eigen 3.1.0 in CMake scripts.
2012-06-27 12:38:32 +00:00
Philipp Möller b529971917 Merge the changes to ccPrecond and ccPostcond that have been in
features/doxy-pmoeller and add changes for ccRequires on top of it.

ATTN: This changeset should be unmerged before the whole branch goes
      back into next.
2012-06-20 13:57:36 +00:00
Philipp Möller d3ee04897c merged next 2012-05-09 13:50:00 +00:00
Laurent Rineau 579a606a75 Rename - to _, to have same naming scheme as .gif files 2012-04-20 09:35:35 +00:00
Laurent Rineau 41cef5c422 Vectorial versions 2012-04-20 09:33:43 +00:00
Laurent Rineau 7cc00d2449 SVG version of the euler fig 2012-04-20 09:29:56 +00:00
Philipp Möller 8f1ce2412c Removed all places where the CGAL_CFG_NO_TMPL_IN_TMPL work-around was
used. Those were mostly in Polyhedron and HalfedgeDS but some places
in Arrangement_2 used it, too. Neither of the parts of Arrangement_2
have been documented.
2012-04-13 13:13:30 +00:00
Sébastien Loriot ecf6aa105a correct wrong typedef 2012-03-23 16:29:54 +00:00
Sébastien Loriot 03a4862746 initial working example to detect if a point is inside a polyhedron,
using a grid or a ray
2012-03-23 15:58:42 +00:00
Laurent Rineau 3239da640d merge changes from next; 2012-01-17 10:28:12 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Sébastien Loriot cee248ca54 merge from next 2012-01-13 18:48:35 +00:00
Laurent Rineau 2af2160942 Turn \ccLicenseQPL into \ccLicenseGPL 2012-01-13 17:13:55 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Sébastien Loriot 3e4ea6c3b1 merge from next 2012-01-13 13:19:58 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Sébastien Loriot 9b75cd5506 require Eigen 3.1 or greater 2011-12-22 16:06:37 +00:00
Sébastien Loriot bdcf26bb20 merge next 2011-12-01 09:19:02 +00:00
Laurent Rineau 93486787c3 The inside of ccPkgDescription must not contain black lines between macros
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Laurent Rineau c7ca93c07e Include <CGAL/glu.h> before any use of GLU 2011-11-09 14:24:17 +00:00
Laurent Rineau 88ef561715 Fix the call to Q_INIT_RESOURCE
For resources that are shipped by the CGAL_Qt4 library, one need to call
CGAL_QT4_INIT_RESOURCES, a macro that calls CGAL_Qt4_init_resources
(exported by the CGAL_Qt4 DLL)
2011-10-11 09:51:29 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri d10a333947 Add a file with the copyright holder(s) to the package_info 2011-09-29 20:45:16 +00:00
Laurent Rineau fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Sébastien Loriot 26e10e4722 merge from next 2011-09-23 11:52:20 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Sébastien Loriot 62ed832e2b *Add a model for SVDTraits using Eigen and use it by default. Update the doc.
*Add non-sparse matrix class (thus renamimg of the existing one)
*specialisation of the matrix class in Eigen_solver_traits according
 whether this is a symmetric or asymmetric matrix
*update use-files of lapack and Taucs to get definitions
2011-09-21 12:36:13 +00:00
Laurent Rineau 35d5400079 Remove extra ';' 2011-08-01 12:35:14 +00:00
Sébastien Loriot ec00745941 Scene_polygon_soup -> Scene_polygon_soup_item 2011-07-01 13:22:23 +00:00
Laurent Rineau ac9877372d Update all PkgDescription files to CGAL-3.9 2011-06-27 14:31:45 +00:00
Laurent Rineau 637dfffc54 scene_edit_polyhedron_item depends on scene_polyhedron_item
(The Windows linker is picky whereas Linux linker is not.)
2011-06-27 13:49:46 +00:00
Laurent Rineau 0626846321 Fix the order, so that target are made in an order compatible with the
dependency graph
2011-06-16 10:38:41 +00:00
Laurent Rineau b81ae9f7e9 Update the cgal_test of the polyhedron demo.
Currently the testsuite shows a red cell in the tests results but the
polyhedron demo is OK. The test is wrong.
2011-06-16 10:33:29 +00:00
Philipp Möller 175a2ea6e9 Merged next into this branch 2011-06-14 15:22:46 +00:00
Sébastien Loriot 9a2b3759ff merge from trunk 2011-06-14 12:43:48 +00:00
Laurent Rineau 28bc7ca5c0 Add some decl spec (import|export) to CGAL_Qt4
That allows to build libCGAL_Qt4 and the Polyhedron demo with
-fvisibility-ms-compat on Linux.

That may allow to build CGAL_Qt4 as a DLL on Windows, one day.
2011-06-10 17:14:27 +00:00
Philipp Möller 34d6ac52ec Replaced [U]Integer* with boost::[u]int*_t in Polyhedron, Polyhedron_IO and Stream_support 2011-06-10 14:51:30 +00:00
Laurent Rineau 1aef74348d Scene_edit_polyhedron_item are now editable. 2011-06-08 17:15:29 +00:00
Laurent Rineau 2b61af17ec Compute the nearest vertex only if there is a slot connected to the signal 2011-06-08 12:24:49 +00:00
Laurent Rineau 77be9fd21c One step in the direction of editable polyhedra in the polyhedron demo
For the moment, the Scene_edit_polyhedron_item is not yet editable. To be
continued...
2011-06-07 18:03:11 +00:00
Laurent Rineau 93a4063a3b Update the cgal_test: polygon_soup has been renamed scene_polygon_soup 2011-06-06 15:01:31 +00:00
Laurent Rineau 538ad27a5a Fix a warning 2011-06-03 17:03:15 +00:00
Laurent Rineau 28bc66c69d Remove this cast, now that scene->numberOfEntries() is an int. 2011-06-03 16:54:25 +00:00
Laurent Rineau 409c28464f numberOfEntries() must return an int, because it is a Qt property. 2011-06-03 16:51:48 +00:00
Laurent Rineau 3e100e387d Fix linking errors on Windows. 2011-06-03 16:44:36 +00:00
Laurent Rineau abd3051dbf Forgot this file! 2011-06-03 16:02:09 +00:00
Laurent Rineau c5c6b5f9a8 Add the Scene_polygon_soup, and the orient_soup plugin. 2011-06-03 15:50:19 +00:00
Laurent Rineau c0df6c5134 Sync with the branch: missing (?) #include 2011-06-03 15:49:53 +00:00
Laurent Rineau 3adc79986d Update the triangulate_facets plugin, that was buggy in the trunk/next branch 2011-06-03 15:48:56 +00:00
Laurent Rineau 2111f2b395 Fix OFF I/O for polyhedra and Nef polyhedra 2011-06-03 15:48:04 +00:00
Laurent Rineau 2f039d1b57 Remove warnings. 2011-06-03 15:42:04 +00:00
Laurent Rineau cef624afb7 Begin to update Polyhedron demo from work done in the Mesh_3 dev'branch
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).
2011-06-03 15:36:38 +00:00
Laurent Rineau fd4d050b39 Begin to update Polyhedron demo from work done in the Mesh_3 dev'branch
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.
2011-06-03 15:18:56 +00:00
Laurent Rineau 9670c42403 Begin to update Polyhedron demo from work done in the Mesh_3 dev'branch
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.
2011-06-03 14:40:06 +00:00
Laurent Rineau d6f8ae61d1 Begin to update Polyhedron demo from work done in the Mesh_3 dev'branch
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.
2011-06-03 13:46:14 +00:00
Laurent Rineau e5d8b79a9f Begin to update Polyhedron demo from work done in the Mesh_3 dev'branch
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.
2011-06-03 13:06:15 +00:00
Laurent Rineau 8460d82726 Fix my patch of yesterday, which was obviously wrong!
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!
2011-05-25 13:32:55 +00:00
Laurent Rineau cdb9ca77ff Backport a fix for Windows from the Mesh_3-with-protecting ball branch 2011-05-24 14:24:44 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Laurent Rineau 95cde53b17 Merge "Mesh_3 with features" in trunk, so that it is in CGAL-3.8, at last!
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Mesh_3_with_features
2011-01-10 15:43:22 +00:00
Laurent Rineau 55540024a0 Remove that old not submitted directory. No need to keep old stuff in our
SVN working copies.
2010-12-02 10:51:50 +00:00
Andreas Fabri 04482d4a54 clang is right: std::size_t is always >= 0 2010-11-12 13:04:17 +00:00
Laurent Rineau 360ae76da7 Fix the compute_normal: sum normals and *then* divide the normal by its
length.
2010-10-04 08:36:27 +00:00
Andreas Fabri 6b1e578377 Take care of collinear points when computing a facet normal 2010-09-27 10:53:45 +00:00
Andreas Fabri b0bb407625 Add convex decomposition to the Polyhedron demo 2010-09-24 15:43:14 +00:00
Laurent Rineau 7606b93406 Merge last unmerged revision from the branch CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r57979 | lrineau | 2010-08-11 15:24:20 +0200 (Wed, 11 Aug 2010) | 1 line
  | 
  | Global fix of all uses of qt4_generate_moc: the destination file path must be absolute.
  | ------------------------------------------------------------------------
  | r58026 | stayeb | 2010-08-12 17:40:41 +0200 (Thu, 12 Aug 2010) | 2 lines
  | 
  | Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted.
  | 
  | ------------------------------------------------------------------------

(That shows it is difficult to avoid to merge the release branch in the
trunk from time to time.)
2010-08-20 13:09:22 +00:00
Andreas Fabri c818d09799 drapg and drop come from the base class 2010-08-16 12:04:07 +00:00
Laurent Rineau 2577fe87b2 adapt fwd declaration of EPIC after a change of its declaration 2010-08-14 11:18:43 +00:00
Sébastien Loriot 5471e90cd1 s/succesful/successful 2010-08-12 08:30:26 +00:00
Laurent Rineau af3ad196a0 Global fix of all uses of qt4_generate_moc: the destination file path must be absolute. 2010-08-11 13:24:20 +00:00
Stéphane Tayeb dfc2f8d019 Fix warnings: replace some 'int' by 'std::size_t'. 2010-07-05 07:02:58 +00:00
Laurent Rineau f143335c07 Merged revisions 57149 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r57149 | sloriot | 2010-06-28 14:39:16 +0200 (Mon, 28 Jun 2010) | 4 lines
  
  fix-bug in test_facet of Polyhedron_incremental_builder:
    the function did not test if while making a vertex manifold,
    no other facet incident to that vertex breaks the manifold property.
........
2010-06-28 12:47:18 +00:00
Andreas Fabri 2c7474ce80 int/Integer32 -> size_t 2010-06-26 14:48:33 +00:00
Andreas Fabri bcf1591719 Add static_cast<double>(size_t) 2010-06-25 08:36:22 +00:00