Commit Graph

38067 Commits

Author SHA1 Message Date
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00
Pierre Alliez 21bba71a11 started adding some icons - but could not figure out how to specify transparency 2008-07-16 20:30:03 +00:00
Laurent Rineau d72c431eb3 Add a global preference "View edges", which is a QAction in the View menu.
Update: rename it "Superimpose edges".
2008-07-16 18:33:47 +00:00
Laurent Rineau a872041a55 Add a global preference "View edges", which is a QAction in the View menu. 2008-07-16 18:32:15 +00:00
Laurent Rineau fb91fc9f90 New icons for the checkmark in treeView. 2008-07-16 18:31:32 +00:00
Laurent Rineau 0c53947443 Add toolbars. We need icons. 2008-07-16 17:47:09 +00:00
Laurent Rineau 9ddb771a75 To reduce inter-dependancies, and thus compilation time, MainWindow no
longer derives from Ui::MainWindow. Instead, MainWindow now has a member:

         Ui::MainWindow* ui;

That way, a single change in MainWindow.ui will no longer trigger the
recompilation of all .cpp that depend on MainWindow.h
2008-07-16 17:21:03 +00:00
Peter Hachenberger f6747b6fd7 final change for feature freeze 2008-07-16 17:07:27 +00:00
Laurent Rineau 6ae6c2f660 Add tooltips to the Scene. Viewed in the treeView. 2008-07-16 17:07:22 +00:00
Peter Hachenberger d7b01ede28 final change for feature 2008-07-16 17:05:32 +00:00
Laurent Rineau 96a79fccf5 Fix drawing of edges. 2008-07-16 16:39:19 +00:00
Laurent Rineau d47ab0f489 Reindent. 2008-07-16 16:21:04 +00:00
Sylvain Pion 6c257a56f6 Shorten the code. 2008-07-16 16:19:33 +00:00
Sylvain Pion 1dd253906f Remove unneeded commented code 2008-07-16 16:10:44 +00:00
Sylvain Pion 91d2d7478b Move Uncertain.h from Filtered_kernel to STL_Extension 2008-07-16 16:07:27 +00:00
Pierre Alliez 930db7897a display lists - faster but not simpler 2008-07-16 15:16:29 +00:00
Laurent Rineau 1a6d8a5dbc Add a toolbar. 2008-07-16 14:54:55 +00:00
Laurent Rineau 2841cf29ee Fix a compilation error: Scene.cpp no longer includes the complete
definition of the type Polyhedron. You must use Scene::destroy instead of
"delete".
2008-07-16 14:50:50 +00:00
Laurent Rineau e550425440 New function:
template <class Poly_A, class Poly_B>
  void copy_to(const Poly_A& poly_a, Poly_B& poly_b)
to avoid the ugly hack using a temp file in
MainWindow_boolean_operations.cpp.

Maybe that function should be in CGAL, actually.
2008-07-16 14:48:15 +00:00
Pierre Alliez 6d6e98bb08 update TODO list 2008-07-16 14:41:48 +00:00
Pierre Alliez 069b83759b more cleanup on simplify 2008-07-16 14:20:38 +00:00
Michael Hemmer 6801fb35c3 fixed typo 2008-07-16 14:15:53 +00:00
Michael Hemmer 1570772295 wrap up
added several TODOs
2008-07-16 14:07:28 +00:00
Pierre Alliez 1a4079f2f8 simplification: added timer and output 2008-07-16 14:02:22 +00:00
Sylvain Pion 6ee113f820 Document the kernel typedefs specifying the return types of the predicates:
Bool_type, Sign, Comparison_result, Orientation, Oriented_side, Bounded_side and Angle.
2008-07-16 13:59:26 +00:00
Laurent Rineau b98175b4f2 Updated todo: we need to disable several menu items. 2008-07-16 13:51:08 +00:00
Laurent Rineau 7ef44188a8 Attempt to fix a compilation error under Windows. 2008-07-16 13:49:50 +00:00
Sylvain Pion 1ad6e53cbd remove end-of-line blanks 2008-07-16 13:48:44 +00:00
Laurent Rineau 8f569aa382 Use QInputDialog::getInteger to get the parameter for the simplification
algorithm.
2008-07-16 13:48:26 +00:00
Sylvain Pion 173ef7c590 Allow propagation of Uncertain-ty in more places, to reduce the number of exceptions.
- Use K::Bool_type, K::Orientation... instead of bool, CGAL::Orientation...
- More functions around Uncertain<> : make_certain(), extract_singleton(),
                                      possible conversions tightenning.

Many conversions still remain, e.g. for switch and if statements, &&, ||...
2008-07-16 13:45:13 +00:00
Laurent Rineau a30e08123b Fix two warnings under Windows. 2008-07-16 13:16:48 +00:00
Pierre Alliez 592921e134 fix compilation issue 2008-07-16 13:01:55 +00:00
Pierre Alliez 69f346a20d tried fixing compilation issues 2008-07-16 12:30:27 +00:00
Laurent Rineau 7273f1997c Add a struct Scene::Bbox to avoid the inclusion of any CGAL header in
Scene.h. That should reduce compilation times.
2008-07-16 11:18:29 +00:00
Laurent Rineau c5654c95e3 - Rename several actions, to remove all "_" in their names.
- Add several "&" in action texts.

- NEW files:
   - "Polyhedron_type.h" defines the Kernel and Polyhedron types,
   - "Polyhedron_type_fwd.h" can be used for a forward declaration of the
     type "Polyhedron".

- New functions in Scene:
    int selectionAndex();
    int selectionBindex();
  Boolean operations now use those functions to get the indices of the
  polyhedra.

- The Exact_polyhedron is now only defined in
  MainWindow_boolean_operations.cp, to reduce compilation times.

- The min/max problem is handled better, in MainWindow_pca.cpp (quote the
  macros with () instead of using #undef).

- MainWindow_simplify.cpp now works!!

- Scene.h and Scene.cpp has been splitted in several parts, to decrease
  compilation times:
    - Scene_rendering.h declares:
        void gl_render_facets(Polyhedron* poly);
        void gl_render_edges(Polyhedron *poly);
    - Scene_rendering.cpp defines those two functions by using
      <CGAL/gl_render.h>
    - Scene_polyhedron_operations.cpp contains operations that
      create/delete/load/save polyhedra.
  That way, Scene.h and Scene.cpp are CGAL-agnostic.
2008-07-16 11:08:06 +00:00
Michael Hemmer 96a229ad3c added functor Divides, required by IntegralDomain 2008-07-16 09:45:36 +00:00
Michael Hemmer 2e90fee8ea added functor divides, required by IntegralDomain 2008-07-16 09:40:46 +00:00
Michael Hemmer 4f469db2f0 added Divides Functor to AlgeraicStructureTraits 2008-07-16 09:29:39 +00:00
Efi Fogel b0c859f3ee removed 2008-07-16 09:25:36 +00:00
Michael Hemmer 5ae691fd3b added
AST::Divides functor, required by IntegralDomain
 default implementation
 tests 
 function CGAL::divides
2008-07-16 09:24:50 +00:00
Michael Hemmer 60dfc5dd8d added functor Divides, required by IntegralDomain 2008-07-16 09:20:44 +00:00
Michael Hemmer d07cbb4247 added functor Divides()(d,n), returns true if d divides n 2008-07-16 09:14:57 +00:00
Sylvain Pion 538458336c Rename *.C to *.cpp. 2008-07-16 08:46:48 +00:00
Pierre Alliez 792bc2eea8 a bit of cleanup on Scene 2008-07-16 08:41:43 +00:00
Sylvain Pion b7be7b4c09 Remove unused (most probably superceeded) *.C files. 2008-07-16 08:39:29 +00:00
Sylvain Pion 9ca693f926 Rename *.C to *.cpp 2008-07-16 08:36:20 +00:00
Pierre Alliez 66130f35a6 removed menu "Selections" - we'll see this for later 2008-07-16 08:33:00 +00:00
Sylvain Pion 82f4aee076 Rename *.C to *.cpp 2008-07-16 08:32:34 +00:00
Michael Hemmer 21eb003459 changed names of template arguments in MACRO to avoid name conflicts 2008-07-16 08:28:26 +00:00
Sylvain Pion fd8fa1d51b Rename *.C to *.cpp 2008-07-16 08:28:03 +00:00