Commit Graph

494 Commits

Author SHA1 Message Date
Andreas Fabri 78f805a6e2 Add IO and minor polish 2010-09-21 12:15:08 +00:00
Andreas Fabri 0ba646cb24 Add on/off for grid,input,output and allow to change delta 2010-09-21 10:42:11 +00:00
Andreas Fabri 7e26a61cf4 intial version of Qt4 based Snaprounding demo 2010-09-20 20:23:15 +00:00
Andreas Fabri 283ceae0b8 Rename vector field graphics item 2010-09-20 12:18:41 +00:00
Andreas Fabri 270081a303 cleanup 2010-09-20 09:44:32 +00:00
Andreas Fabri c04f9aa037 Recenter when loading 2010-09-19 19:32:17 +00:00
Andreas Fabri 779a234fab Add a GraphicsItem for the vector field 2010-09-17 20:56:59 +00:00
Andreas Fabri ed31acec91 Remove button 2010-09-07 11:29:44 +00:00
Andreas Fabri 14ea9ef8bc Change site and edge color 2010-09-07 11:28:04 +00:00
Andreas Fabri 31dcbec573 weight is the radius 2010-09-07 10:13:45 +00:00
Andreas Fabri 3b4a54546d Qt3 -> Qt3 2010-09-03 17:06:00 +00:00
Andreas Fabri 1545a1afe5 cleanup 2010-09-03 17:04:42 +00:00
Andreas Fabri ec956b4044 cleanup 2010-09-03 17:03:23 +00:00
Andreas Fabri f109e91c35 cleanup 2010-09-03 17:02:23 +00:00
Andreas Fabri 50617cdbeb cleanup of my mess 2010-09-03 16:59:29 +00:00
Andreas Fabri 57666e687c Qt4 based streamlines demo 2010-09-03 14:22:46 +00:00
Andreas Fabri c5818246ba cleanup 2010-08-31 12:59:10 +00:00
Andreas Fabri 82a6dfccd1 Towards a Qt4 based Apollonius_graph_2 demo 2010-08-25 15:02:06 +00:00
Andreas Fabri 4ff8be1faa Qt4 based largest empty iso rectangle demo 2010-08-24 17:11:41 +00:00
Andreas Fabri 3dc854d29c const QString& -> QString 2010-08-23 10:46:15 +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
Laurent Rineau 49c71b30ac Merge CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r58172 | lrineau | 2010-08-20 11:21:30 +0200 (Fri, 20 Aug 2010) | 3 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt
  | 
  | Fix buggy CMake logic: the GMP_arithmetic_kernel.cpp must me configured
  | only once.
  | 
  | ------------------------------------------------------------------------
  | r58173 | lrineau | 2010-08-20 11:25:35 +0200 (Fri, 20 Aug 2010) | 2 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2
  |    M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2/dual.cpp
  |    M /branches/CGAL-3.7-branch/BGL/examples/BGL_arrangement_2/primal.cpp
  | 
  | Fix warning about deprecated included headers.
  | 
  | ------------------------------------------------------------------------
  | r58174 | lrineau | 2010-08-20 11:39:25 +0200 (Fri, 20 Aug 2010) | 3 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Boolean_set_operations_2/test/Boolean_set_operations_2/test_polygon_validation.cpp
  | 
  | Modify the test file so that the check function do not display warnings
  | that result in a 'w' in the testsuite.
  | 
  | ------------------------------------------------------------------------
  | r58175 | lrineau | 2010-08-20 11:45:26 +0200 (Fri, 20 Aug 2010) | 9 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/GraphicsView/demo/Bounding_volumes/Bounding_volumes.cpp
  | 
  | Fix warnings:
  | 
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp: In constructor `MainWindow::MainWindow()':
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp:71: warning: `MainWindow::P' will be initialized after
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning:   base `CGAL::Qt::DemosMainWindow'
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning:   when initialized here
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp: In member function `void MainWindow::update()':
  | test/Bounding_volumes_Demo/Bounding_volumes.cpp:247: warning: comparison between signed and unsigned integer expressions
  | 
  | ------------------------------------------------------------------------
  | r58177 | lrineau | 2010-08-20 11:47:06 +0200 (Fri, 20 Aug 2010) | 3 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Min_circle_2/include/CGAL/Min_circle_2.h
  | 
  | Fix warning:
  | include/CGAL/Min_circle_2.h:197: warning: comparison between signed and unsigned integer expressions
  | 
  | ------------------------------------------------------------------------
  | r58178 | lrineau | 2010-08-20 11:49:09 +0200 (Fri, 20 Aug 2010) | 4 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/STL_Extension/include/CGAL/assertions.h
  | 
  | Avoid a warning if NDEBUG and CGAL_NDEBUG are both defined:
  | 
  | include/CGAL/assertions.h:59:1: warning: "CGAL_NDEBUG" redefined
  | 
  | ------------------------------------------------------------------------
  | r58179 | lrineau | 2010-08-20 11:50:54 +0200 (Fri, 20 Aug 2010) | 8 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/GraphicsView/include/CGAL/Qt/GraphicsViewCircularArcInput.h
  | 
  | Fix a warning:
  | 
  | include/CGAL/Qt/GraphicsViewCircularArcInput.h: In constructor 'CGAL::Qt::GraphicsViewCircularArcInput<K>::GraphicsViewCircularArcInput(QObject*, QGraphicsScene*) [with K = CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > >]':
  | cmake/platforms/i686_Linux-2.6_g++-4.1.2_CentOS-5.1/test/Circular_kernel_2_Demo/Circular_kernel_2.cpp:107:   instantiated from here
  | include/CGAL/Qt/GraphicsViewCircularArcInput.h:73: warning: 'CGAL::Qt::GraphicsViewCircularArcInput<CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > > >::scene_' will be initialized after
  | include/CGAL/Qt/GraphicsViewCircularArcInput.h:68: warning:   'int CGAL::Qt::GraphicsViewCircularArcInput<CGAL::Circular_kernel_2<CGAL::Cartesian<CGAL::Quotient<CGAL::MP_Float> >, CGAL::Algebraic_kernel_for_circles_2_2<CGAL::Quotient<CGAL::MP_Float> > > >::count'
  | include/CGAL/Qt/GraphicsViewCircularArcInput.h:79: warning:   when initialized here
  | 
  | ------------------------------------------------------------------------
  | r58180 | lrineau | 2010-08-20 11:56:19 +0200 (Fri, 20 Aug 2010) | 21 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Convex_hull_d/include/CGAL/Delaunay_d.h
  | 
  | Fix warnings:
  | 
  | include/CGAL/Delaunay_d.h: In member function 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator& CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::operator++() [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]':
  | include/CGAL/Delaunay_d.h:1011:   instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
  | cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:74:   instantiated from here
  | include/CGAL/Delaunay_d.h:229: warning: suggest parentheses around && within ||
  | include/CGAL/Delaunay_d.h: In member function 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator& CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::operator++() [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]':
  | include/CGAL/Delaunay_d.h:1011:   instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
  | cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:162:   instantiated from here
  | include/CGAL/Delaunay_d.h:229: warning: suggest parentheses around && within ||
  | include/CGAL/Delaunay_d.h: In constructor 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::Simplex_iterator(CGAL::Delaunay_d<R_, Lifted_R_>*, typename CGAL::Convex_hull_d<Lifted_R_>::Simplex_iterator, CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]':
  | include/CGAL/Delaunay_d.h:575:   instantiated from 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator CGAL::Delaunay_d<R_, Lifted_R_>::simplices_begin(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
  | include/CGAL/Delaunay_d.h:1011:   instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >, Lifted_R_ = CGAL::Cartesian_d<double, CGAL::Linear_algebraCd<double, std::allocator<double> > >]'
  | cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:74:   instantiated from here
  | include/CGAL/Delaunay_d.h:213: warning: suggest parentheses around && within ||
  | include/CGAL/Delaunay_d.h: In constructor 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator::Simplex_iterator(CGAL::Delaunay_d<R_, Lifted_R_>*, typename CGAL::Convex_hull_d<Lifted_R_>::Simplex_iterator, CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]':
  | include/CGAL/Delaunay_d.h:575:   instantiated from 'CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_iterator CGAL::Delaunay_d<R_, Lifted_R_>::simplices_begin(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
  | include/CGAL/Delaunay_d.h:1011:   instantiated from 'std::list<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle, std::allocator<typename CGAL::Delaunay_d<R_, Lifted_R_>::Simplex_handle> > CGAL::Delaunay_d<R_, Lifted_R_>::all_simplices(CGAL::Delaunay_d<R_, Lifted_R_>::Delaunay_voronoi_kind) const [with R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >, Lifted_R_ = CGAL::Homogeneous_d<CGAL::Gmpz, CGAL::Linear_algebraHd<CGAL::Gmpz, std::allocator<CGAL::Gmpz> > >]'
  | cmake/platforms/i686_Linux-2.6_g++-4.3.3_CentOS-5.1-O2/test/Convex_hull_d/delaunay_d-test.cpp:162:   instantiated from here
  | include/CGAL/Delaunay_d.h:213: warning: suggest parentheses around && within ||
  | 
  | ------------------------------------------------------------------------
  | r58181 | lrineau | 2010-08-20 12:11:35 +0200 (Fri, 20 Aug 2010) | 3 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Installation/test/Installation/link_to_CGAL_Qt4.cpp
  | 
  | Fix a warning:
  | test/Installation/link_to_CGAL_Qt4.cpp:11: warning: the address of 'f' will never be NULL
  | 
  | ------------------------------------------------------------------------
  | r58182 | lrineau | 2010-08-20 12:15:14 +0200 (Fri, 20 Aug 2010) | 3 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Jet_fitting_3/include/CGAL/Monge_via_jet_fitting.h
  | 
  | Fix a warning:
  | include/CGAL/Monge_via_jet_fitting.h:425: warning: comparison between signed and unsigned integer expressions
  | 
  | ------------------------------------------------------------------------
  | r58183 | lrineau | 2010-08-20 12:19:36 +0200 (Fri, 20 Aug 2010) | 4 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Min_circle_2/include/CGAL/Min_circle_2.h
  |    M /branches/CGAL-3.7-branch/Min_circle_2/test/Min_circle_2/test_Min_circle.cpp
  | 
  | Fix warnings:
  |     "comparison between signed and unsigned integer expressions"
  | and "unsigned is always >= 0"
  | 
  | ------------------------------------------------------------------------
  | r58184 | lrineau | 2010-08-20 12:22:35 +0200 (Fri, 20 Aug 2010) | 2 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Min_ellipse_2/test/Min_ellipse_2/test_Min_ellipse_2.cpp
  | 
  | Fix warnings about comparison between signed and unsigned.
  | 
  | ------------------------------------------------------------------------
2010-08-20 12:57:32 +00:00
Laurent Rineau c89de3f1f0 Fix warnings:
test/Bounding_volumes_Demo/Bounding_volumes.cpp: In constructor `MainWindow::MainWindow()':
test/Bounding_volumes_Demo/Bounding_volumes.cpp:71: warning: `MainWindow::P' will be initialized after
test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning:   base `CGAL::Qt::DemosMainWindow'
test/Bounding_volumes_Demo/Bounding_volumes.cpp:120: warning:   when initialized here
test/Bounding_volumes_Demo/Bounding_volumes.cpp: In member function `void MainWindow::update()':
test/Bounding_volumes_Demo/Bounding_volumes.cpp:247: warning: comparison between signed and unsigned integer expressions
2010-08-20 09:45:26 +00:00
Fernando Cacciola 72ed56006a Reverting to release 3.6 2010-08-19 05:06:11 +00:00
Andreas Fabri 117e2a3355 drag and drop now come from the demo base class 2010-08-14 14:26:05 +00:00
Andreas Fabri d56793d6b9 Add the CMakeLists of the Qt4 based Alpha_shapes_2 demo 2010-08-14 14:18:37 +00:00
Andreas Fabri 4b7f51399f Add drag and drop 2010-08-13 15:05:34 +00:00
Andreas Fabri 32c2d35f99 Add drag and drop 2010-08-13 15:04:14 +00:00
Andreas Fabri 7e02bcebfe Add drag and drop 2010-08-13 15:01:05 +00:00
Andreas Fabri e88b07fd02 Added a Qt4 based 2D Alpha Shape demo 2010-08-13 14:49:39 +00:00
Andreas Fabri eba2d33e3d Remove event dropping as it is now provided by DemosMainWindow 2010-08-13 14:44:00 +00:00
Andreas Fabri 8ec4806dcc Remove event dropping as it is now provided by DemosMainWindow 2010-08-13 14:42:09 +00:00
Laurent Rineau 26c4d0086d Fix drap&drops: the graphicsview must not accept drops. By default,
graphics views accepts them.
2010-08-13 13:31:41 +00:00
Laurent Rineau b88a30d51b Backport from trunk:
| ------------------------------------------------------------------------
  | r58013 | afabri | 2010-08-12 15:23:19 +0200 (Thu, 12 Aug 2010) | 1 line
  | Changed paths:
  |    A /trunk/GraphicsView/demo/Bounding_volumes/icons/convex_hull.png
  |    A /trunk/GraphicsView/demo/Bounding_volumes/icons/min_ellipse.png
  |    A /trunk/GraphicsView/demo/Bounding_volumes/icons/min_parallelogram.png
  |    A /trunk/GraphicsView/demo/Bounding_volumes/icons/min_quadrilateral.png
  |    A /trunk/GraphicsView/demo/Bounding_volumes/icons/p_center.png
  | 
  | more icons
  | ------------------------------------------------------------------------
  | r58014 | afabri | 2010-08-12 15:25:39 +0200 (Thu, 12 Aug 2010) | 1 line
  | Changed paths:
  |    M /trunk/GraphicsView/demo/Bounding_volumes/Bounding_volumes.cpp
  |    M /trunk/GraphicsView/demo/Bounding_volumes/Bounding_volumes.qrc
  |    M /trunk/GraphicsView/demo/Bounding_volumes/Bounding_volumes.ui
  | 
  | Added toggle buttons so that the different bounding_XX can be switched on and off
  | ------------------------------------------------------------------------
  | r58016 | afabri | 2010-08-12 15:46:50 +0200 (Thu, 12 Aug 2010) | 1 line
  | Changed paths:
  |    M /trunk/GraphicsView/include/CGAL/Qt/PolygonGraphicsItem.h
  | 
  | A GraphicsItem should not call itself show() and hide()
  | ------------------------------------------------------------------------
2010-08-12 13:49:43 +00:00
Andreas Fabri c40a4eb1f1 Added toggle buttons so that the different bounding_XX can be switched on and off 2010-08-12 13:25:39 +00:00
Andreas Fabri 2f9a4cd565 more icons 2010-08-12 13:23:19 +00:00
Laurent Rineau 225672765a Backport from trunk:
| ------------------------------------------------------------------------
  | r57993 | lrineau | 2010-08-11 18:02:00 +0200 (Wed, 11 Aug 2010) | 5 lines
  | 
  | Massive change in all .qrc files: the attribute lang= must not be used. It
  | must be only used to create an alternative for another lang. If a resource
  | exists only with lang=, then that resource will not be found if the locale
  | had not that language.
  | 
  | ------------------------------------------------------------------------
2010-08-11 16:03:25 +00:00
Laurent Rineau 9204de7204 Massive change in all .qrc files: the attribute lang= must not be used. It
must be only used to create an alternative for another lang. If a resource
exists only with lang=, then that resource will not be found if the locale
had not that language.
2010-08-11 16:02:00 +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
Laurent Rineau 2f830ab071 Backport from trunk:
| ------------------------------------------------------------------------
  | r57936 | lrineau | 2010-08-10 17:12:49 +0200 (Tue, 10 Aug 2010) | 2 lines
  | Changed paths:
  |    M /trunk/GraphicsView/demo/Polygon/CMakeLists.txt
  | 
  | Fix CMake error!
  | 
  | ------------------------------------------------------------------------
2010-08-10 15:23:18 +00:00
Laurent Rineau a968f82c31 Fix CMake error! 2010-08-10 15:12:49 +00:00
Laurent Rineau 4f5580b2b5 Backport from trunk:
| ------------------------------------------------------------------------
  | r57852 | afabri | 2010-08-06 15:03:15 +0200 (Fri, 06 Aug 2010) | 1 line
  | Changed paths:
  |    M /trunk/GraphicsView/demo/Polygon/Polygon_2.cpp
  | 
  | Having a rubberband polygon without a key modifier pressed needs mouseTracking switched on
  | ------------------------------------------------------------------------
2010-08-06 13:09:10 +00:00
Andreas Fabri fb6db200b5 Having a rubberband polygon without a key modifier pressed needs mouseTracking switched on 2010-08-06 13:03:15 +00:00
Laurent Rineau 283367f826 Backport from trunk:
| ------------------------------------------------------------------------
  | r57848 | lrineau | 2010-08-06 14:35:32 +0200 (Fri, 06 Aug 2010) | 4 lines
  | Changed paths:
  |    M /trunk/GraphicsView/demo/Polygon/CMakeLists.txt
  | 
  | Fix the CMakeLists.txt:
  |   - use CORE if available, do not fail otherwise
  |   - fix an out-of-sources compilation error.
  | 
  | ------------------------------------------------------------------------
2010-08-06 12:51:04 +00:00
Laurent Rineau 1dfbb1f9a9 Fix the CMakeLists.txt:
- use CORE if available, do not fail otherwise
  - fix an out-of-sources compilation error.
2010-08-06 12:35:32 +00:00
Fernando Cacciola d631ea562f Added ability to load weighted polygons (.wsl) and produce skeletons and offsets accordingly. 2010-07-29 07:06:22 +00:00
Laurent Rineau edeb82169c Remove the svn:executable property for C++ files. 2010-07-01 16:06:05 +00:00
Andreas Fabri 7c0663125c A correct demo. TODO: Add buttons to enable/disable bounding_something 2010-06-30 12:53:46 +00:00
Andreas Fabri d60f7b365e atan ->atan2 (suggested by Laurent) 2010-06-30 08:12:38 +00:00
Andreas Fabri 6fb159f935 asin -> atan (Thank you Bernd)
Reactive drawing of all bounding_whatsover
2010-06-29 15:34:18 +00:00
Andreas Fabri 892f8e4e1b draw only min circle and ellipse 2010-06-29 13:04:41 +00:00
Andreas Fabri 7271ce1e39 try to fix correct drawing of the p-centers 2010-06-29 12:29:32 +00:00
Andreas Fabri 0239fb8b68 Add actionShowMinEllipse 2010-06-22 16:44:56 +00:00
Andreas Fabri 9da3d00e19 int -> size_t 2010-06-22 09:53:36 +00:00
Andreas Fabri 90c4a4f0e2 Rotate the min ellipse correctly 2010-06-17 16:09:07 +00:00
Andreas Fabri 039c5add9d Added min ellipse 2010-06-17 15:32:37 +00:00
Andreas Fabri 7e1700df42 An Ellipse for Dummies 2010-06-17 15:30:57 +00:00
Andreas Fabri c33b848256 Add rectangular 3-center 2010-06-16 21:10:02 +00:00
Andreas Fabri a4f8cfc32a Add rectangular 3-center 2010-06-16 21:03:06 +00:00
Andreas Fabri 5fa1b25916 Initial convex_hull/min_circle/min_rectangle/min_parallelogram demo 2010-06-16 15:10:07 +00:00
Andreas Fabri 169964dede Add a Qt4 based demo for the Generator package 2010-06-16 09:46:51 +00:00
Sébastien Loriot 63ca9795b3 move missing file
rm void directory
2010-05-20 16:32:36 +00:00
Guillaume Damiand 6641d9d8de Move the demo 2010-04-08 16:21:35 +00:00
Andreas Fabri 675691a4f8 Move Qt4 based demo in the right package 2010-04-08 16:01:34 +00:00
Guillaume Damiand 5ee7c83207 Modification of name of method 2010-04-07 17:49:32 +00:00
Guillaume Damiand 3cc409abbb Update the viewing method 2010-03-27 21:28:10 +00:00
Guillaume Damiand 2b8df3fe5f Optimization of volume visualization 2010-03-27 18:50:21 +00:00
Guillaume Damiand f9dae70f7c Add different viewing modes 2010-03-27 18:04:04 +00:00
Guillaume Damiand e24fa2e64e * Add map characteristics in the status bar
* Add a creation of two volumes 3-sewn
2010-03-26 14:10:06 +00:00
Guillaume Damiand 55b961e1b6 Modification due to rename of classes 2010-03-24 11:54:25 +00:00
Eric Berberich 2275fd43f2 fixed name 2010-02-11 18:08:24 +00:00
Guillaume Damiand 8b3d041643 Add clear and subdivision operations 2010-02-10 14:49:32 +00:00
Guillaume Damiand 09a3786d7d Add subdivision operation. 2010-02-09 20:17:33 +00:00
Guillaume Damiand 4da2bbaeb0 Ann an entry to import a 3DTDS 2010-02-04 16:22:31 +00:00
Guillaume Damiand 4e370f4d7c Add import off / add off entries. 2010-02-04 09:56:48 +00:00
Guillaume Damiand 36ffb20def Boundig box correction - Add key managment 2010-02-04 08:22:58 +00:00
Guillaume Damiand 73f612bc91 Modify the demo to add a new method 2010-02-03 19:20:30 +00:00
Andreas Fabri 9a55b9e2b6 Another combinatorial map demo 2010-02-03 13:51:53 +00:00
Fernando Cacciola 3cce7075fe Fixed incorrect dialog parameter error 2010-02-02 14:51:40 +00:00
Laurent Rineau 185269032c Merged revisions 53906-53926,53928-53934 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r53918 | lrineau | 2010-01-29 18:23:40 +0100 (Fri, 29 Jan 2010) | 12 lines
  
  Merge from trunk:
    | ------------------------------------------------------------------------
    | r53910 | stayeb | 2010-01-29 16:33:26 +0100 (Fri, 29 Jan 2010) | 1 line
    | Changed paths:
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Lloyd_move.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_global_optimizer.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Mesh_sizing_field.h
    |    M /trunk/Mesh_3/include/CGAL/Mesh_3/Odt_move.h
    | 
    | Fix: ensure that no '0' is inserted in the sizing field.
    | ------------------------------------------------------------------------
........
  r53920 | lrineau | 2010-01-29 18:44:29 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fixes in a demo.
........
  r53924 | pmachado | 2010-01-29 20:48:24 +0100 (Fri, 29 Jan 2010) | 2 lines
  
  Bug fix: pre-condition + case of three different spheres with 2 coincident
  radical planes (and the consequences).
........
  r53928 | lrineau | 2010-01-31 13:13:10 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  Add a precision that AK/RS is not available on Windows.
........
  r53930 | lrineau | 2010-01-31 13:39:12 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  NSIS installer for CGAL-3.6
........
  r53932 | lrineau | 2010-01-31 13:42:35 +0100 (Sun, 31 Jan 2010) | 2 lines
  
  script_cgal.nsi is no longer named after a specific version.
........
2010-01-31 13:02:15 +00:00
Laurent Rineau 5e42fc9b07 Fix a uic warning. 2009-11-20 10:00:08 +00:00
Laurent Rineau 6de5b28f28 Revert the part of r53095 that were commited by error. 2009-11-18 15:19:18 +00:00
Laurent Rineau 23131c40b5 Merge change 53094 from branches/unsorted-branches/eric/CMAKE/GraphicsView 2009-11-18 15:17:14 +00:00
Laurent Rineau 1df2c5e127 Fix linking on non-Windows platforms: CGAL_Core is needed. 2009-11-17 10:24:37 +00:00
Andreas Fabri c9aeb32188 Initial version of a Qt4 based demo 2009-11-10 14:23:51 +00:00
Andreas Fabri 570ecfc719 Initial version of a Qt4 based demo 2009-11-10 13:44:35 +00:00
Sylvain Pion 4e7c43310e Remove svn:executable property 2009-09-19 05:36:12 +00:00
Fernando Cacciola caf5fa0883 Added offsetting demo 2009-07-06 16:11:03 +00:00
Laurent Rineau cc73b1b443 Remove the Terrain subdirectory.
A working-in-progress copy lies in
svn/cgal/branches/experimental-packages/Triangulation_2-projection_traits/
2009-03-06 15:03:58 +00:00
Laurent Rineau d5e0734193 - Back to the EPIC kernel, instead of EPEC.
- Use the filtered projection traits.
- Add timers, profilers, etc.
2009-02-06 15:35:05 +00:00
Laurent Rineau 002d7a33ce Add an action that inserts a given number of random points (inside the
current bounding box)
2009-02-05 10:54:08 +00:00
Laurent Rineau 7389127336 Add a constrained edge that complicates the data set a bit. 2009-02-05 10:53:13 +00:00
Laurent Rineau 5e7eb18e4c Display the projection axis. 2009-02-05 10:52:39 +00:00
Laurent Rineau e3306db3d2 - Add <CGAL/Triangulation_2_projection_traits_3.h> (need to be polished a
bit)
- demo/Triangulation_2/Terrain/ now use that projection traits, with a
  normal that can be changed interactively.
2009-02-04 22:56:45 +00:00
Laurent Rineau b7ad310cc9 Fix a warning about uninitialized stuff in "Point_3 p;" 2009-02-04 16:36:19 +00:00
Laurent Rineau 69bc2878c4 Add a data set with intersecting segments. 2009-02-04 16:35:34 +00:00
Laurent Rineau e3b02d40c5 - MainWindow.ui: add shortcuts
- Terrain.cpp: let users pass a filepath as first argument.
- Viewer: 
   - draw constraints edges in red,
   - use lighting when needed.
2009-01-30 16:09:47 +00:00
Andreas Fabri bc31311906 A terrain demo 2009-01-30 14:57:59 +00:00
Sylvain Pion eaba877fb2 Remove svn:executable property on *.xpm *.odp */maintainer files 2009-01-03 13:38:09 +00:00
Sylvain Pion e339f86cd2 More removal of svn:executable property on images. 2009-01-03 13:30:10 +00:00
Sylvain Pion 873efc64e1 Remove svn:executable property on images. 2009-01-03 13:27:56 +00:00
Laurent Rineau 6b445bdf13 Fix the registering of Triangulation_2 targets in the "demo" target. Bad copy-paste Fernando! :-) 2008-12-18 19:41:24 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Laurent Rineau 4a191299ed Fix out-of-sources build for Alpha_3 qt4 demo. 2008-12-18 11:48:39 +00:00
Andreas Fabri 740040e5a9 Add the resource file 2008-12-11 11:05:02 +00:00
Andreas Fabri 8310960e97 Add 'About' 2008-12-10 15:18:33 +00:00
Laurent Rineau 4309e29f6e Add icon 2008-12-08 16:51:01 +00:00
Andreas Fabri 39ae0c680a Remove debug output 2008-12-05 16:34:18 +00:00
Andreas Fabri e44aaafac0 Read weighted point instead of bare point 2008-12-05 16:33:43 +00:00
Andreas Fabri 092b565600 Remove debug output 2008-12-05 16:33:38 +00:00
Laurent Rineau 88cc6becf4 Fix the tooltip of input weighted point 2008-12-05 13:10:13 +00:00
Laurent Rineau a3b4c9226c new input point icon 2008-12-05 13:09:59 +00:00
Laurent Rineau c64c0df177 The polygon demo needs Core. 2008-12-05 13:09:44 +00:00
Andreas Fabri 27fa91ac1e Remove an action equivalent to 'Clear' 2008-12-03 18:30:40 +00:00
Laurent Rineau 46b70b7c25 Fix again FindQGLViewer.cmake so that it deals with debug and release
libraries, even on Linux where only the release one exists.

Rename QGLVIEWER_LIBRARY to QGLVIEWER_LIBRARIES (-IES), to mimic other
CMake packages.
2008-11-27 15:20:46 +00:00
Andreas Fabri 04e8e4f1d0 reorder member initialization 2008-11-25 18:45:03 +00:00
Laurent Rineau 5d49d36127 - Fix conditionnal compilation: test CGAL_Qt4_FOUND.
- Re-indentation.
- Use ${QT_USE_FILE} *after* QT4_FOUND is tested.
2008-11-20 13:28:52 +00:00
Laurent Rineau d040b51a80 Use QT4_FOUND instead of QT_FOUND. FindQt4.cmake provides both.
As we have QT3_FOUND, in FindQt3-patched.cmake, that makes more sens to use
the versionned variable.
2008-11-20 13:25:42 +00:00
Laurent Rineau 4032eade9a Massive removale of "QUIET" in find_package calls (except for
FindVTK.cmake, which has a bug). Let's see if that can help us to find out
why we still have problems with demos on MacOS and Windows.
2008-11-19 13:58:43 +00:00
Laurent Rineau 226b66183b Check all CGAL components.
Remove QUIET.
Re-indent.
2008-11-19 13:19:19 +00:00
Andreas Fabri 40e63c3bde Removed textoutput, Edit, and renamed Tools to Algorithms 2008-11-09 15:56:06 +00:00
Fernando Cacciola 547bffecd9 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-06 13:03:41 +00:00
Fernando Cacciola 29000b40d1 Removed more obsoloted cmake modules 2008-11-04 12:56:36 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Andreas Fabri 051aa10937 include header files 2008-11-02 21:02:29 +00:00
Andreas Fabri 37ad6aab1a use older functions 2008-11-02 20:13:03 +00:00
Laurent Rineau b067e9a122 Fix conforming functions. 2008-10-27 21:31:12 +00:00
Andreas Fabri 13f3e2bf65 lowercased file name 2008-10-25 09:15:08 +00:00
Andreas Fabri 408c91201a Add load/save polygon 2008-10-17 18:28:22 +00:00
Andreas Fabri 822bd15b47 Add fitting of a line through segments 2008-10-17 18:12:58 +00:00
Andreas Fabri 9f149a3ab5 fix bounding rect 2008-10-17 17:13:29 +00:00
Andreas Fabri 2cbb027eb3 Add PCA (Atttention it is buggy) 2008-10-15 15:01:18 +00:00
Laurent Rineau 4d288eef9e Fix in demo/Triangulation_2/Delaunay_triangulation_2: the input tool was
not  working if dimension()==1.
2008-10-13 09:23:44 +00:00
Andreas Fabri da81bc0f02 Remove graphics item from scene before deleting it 2008-10-09 08:28:15 +00:00
Andreas Fabri af5854f1fa Forgot to store first point 2008-10-08 20:24:30 +00:00
Andreas Fabri e67ead4760 Added dependency on a moc file (Thank you, Monique) 2008-10-08 15:12:01 +00:00
Laurent Rineau 89c607219c Fix conditional compilation. 2008-10-08 11:46:09 +00:00
Andreas Fabri d2dd28b7fb Forgot to expresss dependency on the moc file 2008-10-07 07:46:36 +00:00
Laurent Rineau 15d289b287 Add CGAL_Core to the polygon demo (because that demo includes Straits
Skeleton, which uses CORE for internals predicates).
2008-10-03 08:36:23 +00:00
Andreas Fabri 8162efe2a7 Highlight the conflict zone when entering a point with the mouse 2008-10-01 20:14:30 +00:00
Andreas Fabri c67608d37f Added two more partition methods to the demo 2008-10-01 19:37:31 +00:00
Andreas Fabri 53f44636bf Added inner skeleton and I/O 2008-10-01 15:58:17 +00:00
Laurent Rineau 718c1a9f00 Fix MSVCisms: missing typenames. 2008-10-01 13:45:08 +00:00
Andreas Fabri f67c33813d Add QUIET to find_package 2008-10-01 12:30:43 +00:00
Andreas Fabri d2e8a745c8 small fixes 2008-10-01 11:12:27 +00:00
Andreas Fabri 42141c09b6 Conditional compilation 2008-10-01 10:45:52 +00:00
Andreas Fabri a0fbf53105 Conditional compilation 2008-10-01 10:45:10 +00:00
Andreas Fabri add90360b1 Conditional compilation 2008-10-01 10:43:09 +00:00
Andreas Fabri 149972338b Conditional compilation 2008-10-01 10:43:00 +00:00
Andreas Fabri 6cb2606810 Add recent file handling and conditional compilation 2008-10-01 10:16:57 +00:00
Andreas Fabri 67c8337eb8 Keep additional include directory 2008-10-01 10:05:27 +00:00
Andreas Fabri d63921027a Only compile when Qt4 is found 2008-10-01 09:52:43 +00:00
Andreas Fabri 7ad693501b Add the necessary to allow persistence between calls 2008-10-01 09:17:07 +00:00
Andreas Fabri a828d949cc forgot resource file 2008-10-01 08:22:31 +00:00
Andreas Fabri d1499114e3 Added cmake_minimum_required 2008-10-01 05:23:00 +00:00
Andreas Fabri 1cd15aa6b4 2D regular triangulation demo 2008-09-30 16:33:11 +00:00
Andreas Fabri c823377874 2D regular triangulation demo 2008-09-30 16:30:44 +00:00
Andreas Fabri ba7fcaa5f2 Renamed actionExit to actionQuit 2008-09-30 14:45:34 +00:00
Andreas Fabri 8b1ce4bdc8 find resources and rename actionExit to actionQuit 2008-09-30 12:56:38 +00:00
Andreas Fabri 544bf786a9 find resources and rename actionExit to actionQuit 2008-09-30 12:56:32 +00:00
Laurent Rineau f7fbbd939a Detail: add a separator before actionQuit (in menuFile). 2008-09-29 21:53:05 +00:00
Laurent Rineau bd0d9a5f1e Promote Viewer to QGLViewer 2008-09-29 21:49:49 +00:00
Laurent Rineau 6f0d6698e3 connect the slider and the spinbox values 2008-09-29 21:31:08 +00:00
Laurent Rineau 86f008b6cf connect the slider and the spinbox values 2008-09-29 21:30:13 +00:00
Laurent Rineau 489ea92424 Use light model=TWO_SIDE. 2008-09-29 20:38:48 +00:00
Laurent Rineau 879e9b7c1a - Fix CMakeLists.txt for non-Windows platforms.
- Fill svn:ignore.
2008-09-29 19:12:33 +00:00
Andreas Fabri 61a6ca195f Qt4 based alpha shape demo 2008-09-29 19:02:37 +00:00
Laurent Rineau 8a2a1f9902 - New icons for the two Triangulation_2 demos (Andreas: remember that we demo
about regular).
- Constrained_Delaunay_triangulation_2 can now optionnaly show the mesh
  domain.
2008-09-29 17:42:10 +00:00
Laurent Rineau 1ddcec5471 Fix compilation error: header missing. 2008-09-29 17:39:05 +00:00
Laurent Rineau b7ad8da9ea Fix CMakeLists.txt: add cmake_minimum_required. 2008-09-29 17:27:28 +00:00
Laurent Rineau a04928195d Use QApplication::restoreOverrideCursor() instead of
QApplication::setOverrideCursor(Qt::ArrowCursor).
2008-09-28 16:23:39 +00:00
Laurent Rineau 451268657e Make the cancel button of the "insert random points" dialog work. 2008-09-28 15:56:32 +00:00
Laurent Rineau 77582cfe07 Change default Windows sizes. 2008-09-26 17:13:52 +00:00
Laurent Rineau e5c3e6d552 Fix a MSVCism: needed typename. 2008-09-26 17:10:37 +00:00
Andreas Fabri a53755d379 A show too much 2008-09-26 16:49:37 +00:00
Andreas Fabri f42e4df167 Added partition 2008-09-26 16:27:55 +00:00
Andreas Fabri a54674e4e3 Added visualization of conflict zone 2008-09-26 16:08:57 +00:00
Laurent Rineau 1ca86be74c Rename Load/save entries. 2008-09-26 14:30:47 +00:00
Laurent Rineau f2d3b0ecb4 Add a copy of demo/Mesh_2/data/ (that directory will be soon dont_submitted). 2008-09-26 13:35:46 +00:00
Andreas Fabri 683fcfed36 reindentation 2008-09-26 12:47:01 +00:00
Andreas Fabri 59f5bc3c89 Random points in the screen and not the unit cube 2008-09-26 12:46:16 +00:00
Andreas Fabri 068b7cc61e Added marker for boundary nesting level 2008-09-26 12:45:09 +00:00
Andreas Fabri 7af1c89e97 require Qt4 2008-09-24 12:58:10 +00:00
Andreas Fabri bfdb6cdd09 Add resource file 2008-09-24 12:57:37 +00:00
Andreas Fabri 27160bcce5 A Qt4 based demo of the Circular Kernel 2008-09-23 13:46:15 +00:00
Laurent Rineau 6b15cdb91e New header <CGAL/Qt/utility.h> that contains miscellaneous global
functions.
2008-09-23 12:16:00 +00:00
Laurent Rineau f1b56f9a11 Fix some CMakeLists.txt (that use Qt3 or Qt4). 2008-09-22 11:59:21 +00:00
Andreas Fabri d1bae6f176 fix minimal demo 2008-09-22 09:21:24 +00:00
Laurent Rineau b4adefbf2f Use "modern" find_package(CGAL). That simplifies a lot! 2008-09-11 13:56:30 +00:00
Laurent Rineau 5558487cad Fix: remove an unused non-commited but included header. 2008-09-10 18:41:33 +00:00
Andreas Fabri 6c0a6612be cleanup 2008-09-08 10:48:01 +00:00
Laurent Rineau 1266312e32 Followup of previous commit ("Add auto-link to libCGALQt4 files.").
Now use auto-link in demos that use CGAL Qt4 support.
2008-09-05 16:04:07 +00:00
Laurent Rineau 3c337d4aea fix the minimalist GraphicsView application: min 2008-09-01 15:14:50 +00:00
Andreas Fabri b9f817ff9a Added CGAL logo 2008-09-01 14:53:30 +00:00
Laurent Rineau e613317c65 Fix VCisms. 2008-09-01 14:01:19 +00:00
Andreas Fabri b4538d15a5 Incorporated reviewers remarks 2008-09-01 13:52:30 +00:00
Laurent Rineau 4e43b40207 Fix three VC++-ismes (wrong uses of typenames, again). 2008-08-18 15:18:17 +00:00
Laurent Rineau c711f07c2d Change previoux revision 44999: QGraphicsView::matrix returns a *copy* of
its matrix! Hopefully, QGraphicsView has a member function scale(), similar
to the one of QMatrix.
2008-08-18 15:16:34 +00:00
Laurent Rineau dd033c1748 revert revision 44882: the matrix is modified in place, by its member function scale(). 2008-08-18 15:08:55 +00:00
Andreas Fabri 246f8230df We have to set the matrix and not only to modify a copy 2008-08-11 15:52:58 +00:00
Andreas Fabri c7b95de6af Added Lipschitz sizing field 2008-08-11 12:21:18 +00:00
Laurent Rineau f13d5d2a25 Update for cmake-2.6: moc files must be in source files. 2008-08-01 07:53:35 +00:00
Laurent Rineau 3d0c1d9937 One can now drop files on the Constrained_Delaunay_triangulation_2 window. 2008-07-30 18:28:58 +00:00
Laurent Rineau 9ad27e6e6e Add recent files from CGAL::Qt::DemosMainWindow. 2008-07-30 18:14:23 +00:00
Laurent Rineau 1bca78d94e Update the qrc location. 2008-07-30 08:02:44 +00:00
Andreas Fabri 3ffb9d44d7 Add Delaunay mesh action with a size half the average constraint length 2008-07-29 21:31:11 +00:00
Andreas Fabri 49360f302c Plugged delaunay meshing on the ConformGabriel action, but it doesnt refine. What's wrong 2008-07-22 15:27:18 +00:00
Andreas Fabri 5860d40b43 Removed the moving point stuf from the constrained demo 2008-07-22 14:58:05 +00:00
Andreas Fabri e6370bee48 Tried to make insertion of constraints faster, but it isn't yet 2008-07-22 14:45:59 +00:00
Andreas Fabri 584a21d2e7 Use the statusbar and not std::cout 2008-07-22 12:07:03 +00:00
Andreas Fabri 04670bc9b7 Accelerated insertion and added conforming actions 2008-07-22 11:18:27 +00:00
Laurent Rineau b6dae9c417 - Change svn:ignore of the directory (files generated by CMake).
- Change the horizontalStretch of the two central widgets (2/3, 1/3).
2008-07-11 13:25:51 +00:00
Laurent Rineau 14ca3447e5 Fix: Logos.qrc no longer exists. Use CGAL.qrc instead. 2008-07-11 13:09:58 +00:00
Andreas Fabri d70aceb7bc Add vertex removal 2008-07-09 15:01:09 +00:00
Laurent Rineau 470f608687 Activate anti-aliasing by default in GraphicsView demos. 2008-07-09 13:49:47 +00:00
Andreas Fabri 6bd3e07953 Add Polygon Demo 2008-07-08 21:48:06 +00:00
Laurent Rineau 275b3e5ccd - Add a new icons for zoom-fit-best, taken from Qt.
- Add a license.txt that says four icons come from Qt.
2008-07-08 12:36:56 +00:00
Laurent Rineau 9f2384e77d - Remove demo/icons/Logos.qrc, replaced by demo/resources/CGAL.qrc, that
also contains :/cgal/help/about_CGAL.html
- Add include/CGAL/Qt/debug.h and src/CGALQt/debug.cpp, that will contain
  debug tools/functions. For the moment, they just define:
      void traverse_resources(const QString& name);
  that must be used like that:
      CGAL::Qt:traverse_resources(":/cgal"); // view CGAL resources
  or
      CGAL::Qt:traverse_resources(":"); // view all resources
  and displays the resources tree on std::cerr.
2008-07-04 13:10:02 +00:00
Laurent Rineau 95af17375f Call graphicsView->setMouseTracking(true). It seems to be on by default,
but the documentation does not say so.
2008-07-02 13:36:11 +00:00
Laurent Rineau be4a3ad225 Call graphicsView->setMouseTracking(true). It seems to be on by default,
but the documentation does not say so.
2008-07-02 13:35:45 +00:00
Laurent Rineau ad6dbd0209 Remove setMouseTracking. It seems to be on by default. 2008-07-02 13:32:49 +00:00
Laurent Rineau 8c017c943c Rename Constrained_delaunay_triangulation_2 into
Constrained_Delaunay_triangulation_2 (with capitalized "Delaunay", as in
the class name).
2008-07-02 13:31:42 +00:00
Andreas Fabri f2431c2d74 robustification 2008-07-02 11:21:51 +00:00
Andreas Fabri 36a8de6cf4 robustification 2008-07-02 09:10:59 +00:00
Laurent Rineau d1501f3c71 Polish the two demos.
Add a PNG file for "zoom-best-fit".
2008-07-01 21:59:46 +00:00
Laurent Rineau 5ddfd30c93 In src/CGALQt4:
- add the class CGAL::Qt::DemosMainWindow in libCGALQt4,
  - compile moc generated files separately

In demo/
  - new sub-directory demo/resources/ that contains, for now,
  about_CGAL.html
  - move the two triangulation demos from demo/GraphicsView to
  demo/Triangulation_2 (to prepare the inclusion in CGAL internal release).
  - For each demo, merge all .h and .cpp files. Each demo now has a ui
  file, a cpp file and a qrc file (and a html file for the "About demo..."
  menu entry).
  - rename the demos to Delaunay_triangulation_2(.exe) and
  Constrained_Delaunay_triangulation_2(.exe)
2008-07-01 13:18:39 +00:00
Laurent Rineau 4e9791b602 (Leftover of revision 43782.)
Remove toolBar2, that was added during the presentation at Inria, and
commited by error.
2008-06-28 09:29:55 +00:00
Laurent Rineau 0571512148 Polished demos.
- added an icons "insertPoint.png",
  - added a new html file for the about dialog of Delaunay triangulation,
  - the Voronoi diagram is now painted in blue,
  - add the button for Voronoi,
  - general cleaning of the code.
2008-06-27 13:20:55 +00:00
Laurent Rineau ec42da4230 Delaunay-voronoi demo. Not yet polished, but still. 2008-06-27 10:45:04 +00:00
Laurent Rineau bed7194768 Rename "delaunay" to "constrained_delaunay_triangulation" and "MainWindow"
to "Constrained_Delaunay_triangulation_MainWindow".
2008-06-26 16:22:45 +00:00
Laurent Rineau b731d74096 CGAL::Qt::GraphicsViewNavigation is no longer constructed from a
QGraphicsView*. It is now able to handle several graphics view at the same
time (just install several event filters).

New class CGAL::Qt::DemosMainWindow. That class has several protected
methods:
  void setupStatusBar();
  void addNavigation(QGraphicsView*);
  void setupOptionsMenu(QMenu* menu  = NULL);
  void addAboutCGAL(QMenu* menu  = NULL);
  void addAboutDemo(QString htmlResourceName, QMenu* menu  = NULL);

setupStatusBar() adds a label in the statusBar(), that is connected to the
navigation class, and shows the position of the mouse.

addNavigation(QGraphicsView* v) adds a navigation class to the view v.

setupOptionsMenu(QMenu* m  = NULL) adds two options "Use OpenGL" and
"Use antialiasing" to the menu m. If m==0, a menu named "Options" is searched
for, or created if it does not exists.

addAboutCGAL(QMenu* m  = NULL) adds an entry "About CGAL..." to the menu
m. If m==0, a "Help" menu is searched for or created.

addAboutDemo(QString htmlResourceName, QMenu* m  = NULL) adds an entre
"About the demo...", to the menu m. If m==0, a "Help" menu is searched for
or created. If the entry is clicked, a popup dialog shows the content of
the resource/file whose name is in htmlResourceName.
Example:
  addAboutDemo(":/cgal/help/about_triangulation.html")
2008-06-26 15:19:44 +00:00
Laurent Rineau 1740edf306 - Anti-aliasing is quite slow (but in OpenGL mode). It is deactivated by
default.

- Add a temp message in the status bar when the aliasing mode is changed.
2008-06-26 11:47:21 +00:00
Laurent Rineau cb540abc20 - Remove actionToto and actionDisplay_Nearest_Neighbor (added during the
presentation at Inria, and commited by error).
- Add actionUse_Antialiasing in the Options menu.
2008-06-26 10:22:14 +00:00
Laurent Rineau 0d62ce2202 Exclude the "min demo" from "make all". 2008-06-26 10:19:33 +00:00
Andreas Fabri e54fcaa58c Reorganize classes in a namespace and directory called Qt 2008-06-26 08:07:36 +00:00
Andreas Fabri d159174d2c after presentation at Inria 2008-06-25 20:03:48 +00:00
Andreas Fabri 153144ab17 after presentation at Inria 2008-06-25 19:55:27 +00:00
Andreas Fabri 2d3816ec73 after presentation at Inria 2008-06-25 19:54:33 +00:00
Laurent Rineau 519cb27584 A QtInput must be constructed with a parent (that can be 0).
Thus a QtPolylineInput must also be constructed with a parent!
2008-06-24 14:32:03 +00:00
Laurent Rineau 44e8f0fdc1 Remove Delaunay-Voronoi stuff. 2008-06-24 14:16:39 +00:00
Laurent Rineau c8b36d6419 I had switched left and right by error! 2008-06-24 14:16:22 +00:00
Laurent Rineau a1892acb54 Minor modifications:
- clear the mouse coordinates QLabel, at the very beginning,
  - turn the vertical axe upside down.
2008-06-24 13:55:41 +00:00
Laurent Rineau 52c828657c - Store a Vertex_handle, as the hint, instead of a Face_handle: Vertex_handle
survive to insert(), Face_handle do not.
- vh->face() is used as the Face_handle hint, if vh!=Vertex_handle().
2008-06-24 12:52:27 +00:00
Laurent Rineau 7d811a656b Display circumcircles even if the triangulation is contrained. 2008-06-24 12:26:31 +00:00
Laurent Rineau 0b1d985e33 Code review in MainWindow:
- Add dgi and vgi at the beginning, and use show()/hide() instead of
    addItem/removeItem.
  - Merge connectActions() into MainWindow's constructor. That is clearer
    like that.
  - Add comments in the constructor.
  - Rewrite the two action handlers aboutCGAL and aboutDemo: use html file
    in a resource. That works! The "About CGAL" dialog now has a big shiny
    CGAL logo! :-)
2008-06-20 16:52:41 +00:00
Laurent Rineau 819de032cc Partially revert revision 43718:
once an item is added to a scene, the scene is responsible for its
  deletion!
2008-06-20 16:26:35 +00:00
Laurent Rineau 32a5519e5f (Fix the previous commit.)
QObjects must have parents!
2008-06-20 15:49:27 +00:00
Laurent Rineau e51aa26320 QObjects must have parents! 2008-06-20 15:46:40 +00:00
Laurent Rineau f7eb596370 Do not eat the move event! 2008-06-20 15:41:46 +00:00
Laurent Rineau c115427e74 Code review:
- add a destructor to destroyed circle, which is not a QObject
  - use fh as a hint.
2008-06-20 15:39:18 +00:00