Commit Graph

144 Commits

Author SHA1 Message Date
Alex Tsui dfb9b2bce0 Fixed a bug with ray drawing in conic arrangements. 2012-07-13 17:35:28 +00:00
Alex Tsui 4b0d1e5468 Constrain certain properties in the properties dialog. 2012-07-10 16:30:25 +00:00
Alex Tsui d7cb5ec240 Implemented a properties dialog that is not yet hooked up to the graphics item. 2012-07-09 07:03:57 +00:00
Alex Tsui a0a2deb349 Minor painting fixes. 2012-07-04 22:15:09 +00:00
Alex Tsui 9d926d8fd2 Implemented arrangement I/O. 2012-07-04 20:19:12 +00:00
Alex Tsui f9554d0e9d Implemented overlays of two arrangements with matched geometry traits. 2012-06-29 23:42:27 +00:00
Alex Tsui ebb6cf73fe Implement insertion of conics by specifying 3 or 5 points. 2012-06-29 04:12:55 +00:00
Alex Tsui 1a5c7a49dc Implemented adding circles to a conic arrangement.
* Fixed a bug in conic subcurve construction.
2012-06-28 23:12:42 +00:00
Alex Tsui fc349d0e1b Finally implemented the necessities to support conic arrangements. 2012-06-28 18:42:04 +00:00
Alex Tsui 24d68609b5 Improved tabbing behavior. 2012-06-27 02:44:42 +00:00
Alex Tsui c6b0d86bc3 Implemented polyline curve drawing.
* Replaced ArrangementSegmentInputCallback with ArrangementCurveInputCallback.
2012-06-25 00:47:31 +00:00
Alex Tsui 7b686080a2 Able to instantiate arrangement demo tabs with polyline traits. 2012-06-24 05:51:58 +00:00
Alex Tsui d6670b2c70 Fixed bugged usage of ArrangementPainterOstream. 2012-06-24 05:12:22 +00:00
Alex Tsui 0a5e05c0b8 Fixed some typedef inconsistencies. 2012-06-23 21:55:11 +00:00
Alex Tsui e86e1c877a Change template name K to K_ to fit code convention 2012-06-23 06:18:10 +00:00
Alex Tsui ee173632ec Rename template name TArr to Arr_ to fit conventions 2012-06-23 06:15:27 +00:00
Alex Tsui 67d20515d5 Add an adapter to find the kernel in non-segment traits 2012-06-22 18:04:49 +00:00
Alex Tsui 0a440bf0f0 Prepare to refactor arrangement graphics items. 2012-06-22 16:19:35 +00:00
Alex Tsui 2bbfd7b8a1 Implement adding new tabs. 2012-06-22 00:46:05 +00:00
Alex Tsui c8176cf991 Refactored demo tabs. 2012-06-21 20:50:53 +00:00
Alex Tsui 96564917f6 Commit before refactoring to use tabs. 2012-06-21 19:47:32 +00:00
Alex Tsui 6f9008417e Implemented vertex and grid snapping. 2012-06-21 06:12:19 +00:00
Alex Tsui 29d4145360 Implemented lower/upper envelope callback. 2012-06-19 01:29:24 +00:00
Alex Tsui 80495b7811 Refactor segment input callback logic out of the demo window. 2012-06-18 00:55:07 +00:00
Alex Tsui 3996d52e27 Implement edge splitting callback. 2012-06-17 17:57:32 +00:00
Alex Tsui 8c1de4997c Implement edge merging. 2012-06-17 17:01:19 +00:00
Alex Tsui 8fea132dcd Implemented point location callback. 2012-06-16 19:28:01 +00:00
Alex Tsui e093efe148 Added a stub implementation of point location callback. 2012-06-16 17:32:43 +00:00
Alex Tsui 1d241766c9 Rename .hpp files to .h files to match convention. 2012-06-16 16:36:03 +00:00
Alex Tsui 7ba8b08c4d Implemented insertion and removal of segments to arrangements. 2012-06-15 05:28:38 +00:00
Alex Tsui 302879c4bf Implemented a base callback class for Qt4 demos, and subclassed it for curve deletion in Arr demo. 2012-06-14 00:05:04 +00:00
Alex Tsui b6a25cd914 Add hand.xpm definition and action group 2012-06-03 07:52:03 +00:00
Alex Tsui 2b268e90b1 Rename ArrangementsDemoWindow to ArrangementDemoWindow 2012-06-02 02:11:42 +00:00
Alex Tsui 5383a462f3 Implemented skeleton ArrangementGraphicsItem and basic mouse event callback 2012-05-27 06:08:22 +00:00
Alex Tsui 4475b8723d Moved old Qt3 demo to old_demo folder. 2012-05-19 07:20:19 +00:00
Alex Tsui 8cd86be77f Created a skeleton Qt4 window for the new demo. 2012-05-19 07:19:11 +00:00
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Michael Hemmer 957c8d7c86 fix Multiplicity issues not covered by test in Arrangement/test 2011-08-15 11:23:04 +00:00
Michael Hemmer 0ad1081f53 consistent use of Multiplicity 2011-08-14 14:34:22 +00:00
Efi Fogel 732442db65 cleanup 2011-06-23 08:03:02 +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 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +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
Efi Fogel cb12f62288 Deprecated Env_default_diagram_1. Replaced by Envelope_diagram_1 2011-02-24 11:34:03 +00:00
Laurent Rineau 77a2bead80 Add missing svn properties (keywords and eol-style). 2010-09-20 12:12:46 +00:00
Marc Glisse e54d65ec06 Don't rely on the implicit conversion QString -> const char*.
Don't do it on temporaries.
stddef.h missing in qt3 headers.
2010-07-12 10:02:56 +00:00
Michael Kerber 273b5dc6ae added xalci demo 2010-06-29 15:14:11 +00:00
Ophir Setter 020715ef9c demo to work with 64 bits 2010-05-22 06:39:46 +00:00
Pavel Emeliyanenko d02168c3b5 sorry wrong dir)) 2010-03-10 12:51:45 +00:00
Pavel Emeliyanenko 1131202882 xalci 2010-03-10 12:30:19 +00:00
Efi Fogel 143c886a99 cleanup 2009-07-12 06:25:57 +00:00
Eric Berberich 137d235470 restored revision 49423 2009-05-24 10:51:50 +00:00
Eric Berberich c682266048 deleted - ON PURPOSE - to restore old version before wrong commits to "trunk" that was NOT a branch 2009-05-24 10:50:55 +00:00
Eric Berberich 46c38c325a restore deleted packages - sorry 2009-05-24 10:39:39 +00:00
Eric Berberich b8a89e2080 deleted 2009-05-24 10:20:00 +00:00
Eric Berberich 7e864b72fd move 2009-02-10 11:58:11 +00:00
Efi Fogel 0528778ceb removed 2009-01-13 14:44:09 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Fernando Cacciola 36218d21f7 Patched qt3_generate_moc calls to specify full path to moc sources (to allow out-of-build configurations) 2008-12-17 20:06:35 +00:00
Laurent Rineau b861e82892 Fix conditionnal compilation. Do not compile Qt3 demos if CGAL_Qt3 is not found. 2008-11-20 13:22:51 +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
Eric Berberich 24c43d4ef6 clean up 2008-11-10 17:32:37 +00:00
Eric Berberich d72bd6ad8d added macro 2008-11-10 10:01:40 +00:00
Eric Berberich c21941b5f9 switchable timings 2008-11-07 08:18:01 +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
Eric Berberich 05e004bd21 added RI 2008-11-05 12:43:45 +00:00
Eric Berberich 47f41257bb reading + writing 2008-11-04 16:34:09 +00:00
Eric Berberich e3096d4a77 added linear test 2008-11-04 16:08:11 +00:00
Eric Berberich 1b53ff0811 added new method 2008-11-04 14:58:37 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Eric Berberich d8e0e7cb91 added demo for computation of single cell 2008-11-03 18:24:23 +00:00
Laurent Rineau f10a590672 Mass-remove vcproj files. 2008-10-21 09:21:22 +00:00
Laurent Rineau 416225939b Fix CORE->Core 2008-10-03 09:02:02 +00:00
Andreas Fabri b9d8093631 Add QUIET to find_package 2008-10-01 12:25:09 +00:00
Laurent Rineau 00d7a9c1d6 Fix CMakeLists: add CORE, and add a cpp file. 2008-09-25 07:53:32 +00:00
Laurent Rineau 00bfeb75fd typo 2008-09-24 14:32:24 +00:00
Laurent Rineau b52c7a09e9 - Fix soname and soversion of libraries (they were exchanged).
- Make get_dependency_version found the print_${LIB}_version.cpp, even
  if the lib is compiled separately.
- Rename FindQt3.cmake to FindQt3-patched.cmake and Qt3Macros to
  Qt3Macros-patched.
- Make CGAL-Qt3 compilable separately.
- Fix all commited CMakeLists.txt:
    - use Qt3-patched and Qt3Macros-patched, and s/QT_/QT3_/
    - add a comment about FindQt3-patched,
    - wrap target creation with if(CGAL_FOUND AND QT3_FOUND)/else/endif
- Modified cgal_create_cmake_script
2008-09-24 10:32:44 +00:00
Andreas Fabri 954dbdde6b fixes in CMakeLists.txt 2008-09-19 07:37:49 +00:00
Andreas Fabri feb97a7959 Added CMakeLists.txt 2008-09-18 18:45:59 +00:00
Laurent Rineau a9f67f82b5 4th pass to remove CGAL_USE_QT: remove "#ifdef CGAL_USE_QT"/"#endif" 2008-09-09 21:53:57 +00:00
Laurent Rineau 58ad57d058 First pass to remove CGAL_USE_QT: remove "#ifdef CGAL_USE_QT"/"#endif // CGAL_USE_QT" 2008-09-09 21:35:22 +00:00
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Guy Zucker dd8527dec6 minor change regarding files how to explanation 2008-01-21 15:53:19 +00:00
Guy Zucker b2d0c81cbd fixed bugs in color schemes and in merge and split 2007-12-24 16:43:18 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Efi Fogel 773f67dc7a Used simple point location instead of naive, get_blah() => blah() 2007-09-05 15:46:47 +00:00
Ophir Setter 0eecc28533 Change name of insert_curve and insert_curves to insert in demo 2007-08-23 14:31:08 +00:00
Efi Fogel 30d69e3c1e renamed from Arrangement_2 2007-08-15 15:58:58 +00:00
Efi Fogel 79fb3dfb4f copied from Arrangement_2 2007-08-15 15:58:15 +00:00