Laurent Rineau
1f6ae50e76
Remove the Mesh_2 stuff that I had commited be error.
2003-03-01 11:47:46 +00:00
Laurent Rineau
328eda2008
Fix bug #37 : "Memory leak in src/CGALQt/Qt_widget_standard_toolbar.C"
2003-02-27 15:15:20 +00:00
Laurent Rineau
254814148c
fix a dependancy
2003-02-27 13:16:44 +00:00
Laurent Rineau
e7f332eca4
Remove the use of printf
2003-02-27 12:53:27 +00:00
Laurent Rineau
3d6e9d19bb
Add a newline at end of file, again.
2003-02-26 17:12:56 +00:00
Laurent Rineau
122e0dc5c7
Bump for 1.3.22 (26 Feb 2003)
2003-02-26 17:05:51 +00:00
Laurent Rineau
6483645517
Rewrite of Qt_widget_standard_toolbar
2003-02-26 17:05:35 +00:00
Laurent Rineau
9b56ab4048
I forgot to remove debugging outputs to std::cerr before commiting.
2003-02-26 15:24:49 +00:00
Laurent Rineau
c24d3191b2
The .env requirement was quite dumb.
2003-02-26 15:05:26 +00:00
Laurent Rineau
810c1e805e
Bump for 1.3.21 (21 Feb 2003)
2003-02-21 13:59:23 +00:00
Laurent Rineau
83af5db037
Changes for version 1.3.21.
2003-02-21 13:52:00 +00:00
Laurent Rineau
e89e4181ed
The whole history stuff has been modified as I said in bug#38 comment #5 .
2003-02-21 10:59:00 +00:00
Laurent Rineau
03838fe125
Fix warnings
2003-02-18 16:35:56 +00:00
Laurent Rineau
db49669416
Add newline at end of files
2003-02-18 16:33:43 +00:00
Laurent Rineau
bbf65076ae
Remove an unused parameter name
2003-02-18 15:50:12 +00:00
Laurent Rineau
9055b9116b
Add typenames to calm down gcc-3.2.1 warnings.
2003-02-18 15:46:37 +00:00
Laurent Rineau
80f14b8da7
Add newline at end of files.
2003-02-18 15:42:26 +00:00
Radu Ursu
a74a3f11ad
Bump for 1.3.20 (18 Feb 2003)
2003-02-18 13:23:44 +00:00
Radu Ursu
2ca407e7a2
updated
2003-02-18 13:23:29 +00:00
Radu Ursu
0674c7f305
removed "already defined" errors
2003-02-18 10:56:07 +00:00
Radu Ursu
792cbd1808
added Qt_widget_helpwindow.C
2003-02-18 10:53:58 +00:00
Radu Ursu
14cb9e9114
load constraints get documented in help how to
2003-02-18 10:27:06 +00:00
Radu Ursu
d14ced326a
Bump for 1.3.19 (17 Feb 2003)
2003-02-17 17:11:10 +00:00
Radu Ursu
59ceeffdaf
Bump for 1.3.18 (17 Feb 2003)
2003-02-17 12:52:36 +00:00
Radu Ursu
1c03ac31f6
Bump for 1.3.17 (17 Feb 2003)
2003-02-17 12:25:04 +00:00
Radu Ursu
58074075e3
Bump for 1.3.16 (17 Feb 2003)
2003-02-17 09:14:08 +00:00
Radu Ursu
89d8c8fffd
Bump for 1.3.15 (14 Feb 2003)
2003-02-14 16:15:36 +00:00
Radu Ursu
187eaa2d30
updated
2003-02-14 16:15:24 +00:00
Radu Ursu
01091299a1
Bump for 1.3.14 (14 Feb 2003)
2003-02-14 15:54:38 +00:00
Radu Ursu
b55aa31e25
Bump for 1.3.13 (14 Feb 2003)
2003-02-14 15:41:09 +00:00
Radu Ursu
0f621be9a2
Bump for 1.3.12 (14 Feb 2003)
2003-02-14 15:09:55 +00:00
Radu Ursu
7dc0517e6e
Bump for 1.3.11 (14 Feb 2003)
2003-02-14 14:28:54 +00:00
Radu Ursu
54eebf3d95
Bump for 1.3.10 (14 Feb 2003)
2003-02-14 14:21:09 +00:00
Radu Ursu
5ef01d4fbf
removed #include <CGAL/Qt_widget.h> from apply_to_range.h
2003-02-14 13:34:03 +00:00
Radu Ursu
9fc90f7d28
Bump for 1.3.9 (14 Feb 2003)
2003-02-14 12:33:15 +00:00
Radu Ursu
479129d936
removed dsp projects for VC6
2003-02-14 12:32:51 +00:00
Radu Ursu
aa9fc8b661
Bump for 1.3.8 (14 Feb 2003)
2003-02-14 11:05:17 +00:00
Radu Ursu
ef19828309
removed project files for VC6
2003-02-14 11:03:21 +00:00
Radu Ursu
e4e5e02986
Bump for 1.3.7 (13 Feb 2003)
2003-02-13 13:20:17 +00:00
Radu Ursu
7e597586b8
Bump for 1.3.6 (13 Feb 2003)
2003-02-13 12:39:40 +00:00
Radu Ursu
ebeda2c36b
updated
2003-02-13 12:39:00 +00:00
Radu Ursu
92ff615e9b
added #include <qcursor.h>
2003-02-11 14:19:47 +00:00
Radu Ursu
c96d342459
Added help how to for Triangulation_2_constrained
2003-02-11 12:06:39 +00:00
Radu Ursu
c324a1b8cb
fixed bug in new_window for number_of_vertices() <= 1
2003-02-11 10:13:02 +00:00
Radu Ursu
3c4f2d82d9
fixed bug in new_window when tr1.number_of_vertices() <= 1
2003-02-11 10:09:44 +00:00
Radu Ursu
d11f7a5818
Triangulation_2_constrained
...
removed layers and put them in triangulation_2_constrained_layers.h
added support for new window
removed namespace CGAL from this demo
Alpha_shapes_2
when pressing New_window, the viewport fits the bounding box
Triangulation_2
when pressing New_window, the viewport fits the bounding box
2003-01-30 15:10:30 +00:00
Radu Ursu
ae7dee55ee
Added help "How To" for Triangulation_2.
...
Modified the way to change the viewport in Alpha Shape. xmin, xmax, ymin, ymax are at the beginning the values of the first vertices.
2003-01-30 11:25:46 +00:00
Radu Ursu
7686d70b41
Added print functionality
2003-01-29 14:03:45 +00:00
Radu Ursu
3f60ed0138
- added a file named "cgal_types.h" containing types used in this demo
...
- removed namespace CGAL from this demo (conflict type Rep with Rep class from Handle.h)
2003-01-29 12:42:07 +00:00
Radu Ursu
c1fe7b33be
Bump for 1.3.5 (21 Jan 2003)
2003-01-21 15:11:39 +00:00
Radu Ursu
26e91e68c9
updated
2003-01-21 15:11:25 +00:00
Radu Ursu
9f9c4c1693
fixed to compile with g++-2.95 with LEDA
2003-01-20 09:56:13 +00:00
Radu Ursu
658967be0e
Bump for 1.3.4 (17 Jan 2003)
2003-01-17 10:16:11 +00:00
Radu Ursu
f7885b055a
updated
2003-01-17 10:15:45 +00:00
Radu Ursu
789b09bb71
The nef_2 demo needs GMP.
...
It compiles now even if the GMP was not used.
2003-01-16 15:37:10 +00:00
Radu Ursu
0795549010
The helpwindow is a part of the CGALQt library. It was removed from Alpha_shape demo and put in /src/CGALQt/Qt_widget_helpwindow.C and /include/CGAL/IO/Qt_widget_helpwindow.h.
...
The icons went in the header file(declarations) and the source file(definitions).
2003-01-16 10:20:32 +00:00
Radu Ursu
ab03c5262a
Removed imposed style and color from all the demos.
2003-01-15 14:51:06 +00:00
Radu Ursu
0680f50dfc
The menu and combobox have been fixed
2003-01-15 14:36:11 +00:00
Radu Ursu
a868bc1747
- Triangulation_2 demo layers were moved in the triangulation_2_layers.h file
...
- when generate a triangulation, the new triangulation will fit the window.
2003-01-15 14:10:21 +00:00
Radu Ursu
e38250389d
Updated the demo how to for Alpha shapes 2 demo.
2003-01-15 09:30:35 +00:00
Radu Ursu
ba1e24ee0f
- removed the layers header files that moved in alpha_shapes_2_layers.h
...
- the alpha shape is updated when deleting a vertex. (resolved bug)
2003-01-14 09:03:44 +00:00
Radu Ursu
907a6ed032
added "demo how to" in Help menu.
...
added data directory
added help directory that will store the "How To" HTML files
the helpwindow class is defined/declared in helpwindow.C/.h files
2003-01-13 15:37:25 +00:00
Radu Ursu
3c2c06fc42
this file contains the big and small pixmaps for alpha_shape demo
...
this is a new feature that have been added to this demo.
2003-01-08 12:22:53 +00:00
Radu Ursu
86da599f2c
Lots of improovements:
...
- the possibility to activate/deactivate alpha_shape layer at run time
- the possibility to activate/deactivate image layer at run time
- all the output layers have been moved in alpha_shapes_2_layers.h file
- when moving vertex, the alpha_shape reflect changes
- the new window slot is working well now
- the possibility to input alpha greater than 1
2003-01-08 12:20:14 +00:00
Radu Ursu
14ed13fcba
Bump for 1.3.3 ( 6 Jan 2003)
2003-01-06 10:14:42 +00:00
Radu Ursu
4e36681a4b
updated
2003-01-06 10:14:31 +00:00
Radu Ursu
4f3ea8dcc8
updated
2003-01-06 10:13:45 +00:00
Radu Ursu
03d577d706
decommented lines in the gray layer concerning the 2nd nef polyhedron.
...
both nef2 polyhedrons are visible.
2003-01-06 10:09:45 +00:00
Laurent Rineau
d956a7a36b
Fix set_scale().
2002-12-16 18:13:02 +00:00
Radu Ursu
fd4db4c8ee
fixed bug in set_scales:
...
double tempmin = min(width(), height());
double div = min(xmax-xmin, ymax-ymin);
to build the scales the min should have been divided by MIN not by MAX
simplified operations in x_real
2002-12-16 08:15:11 +00:00
Laurent Rineau
b84f7a9b63
For version 1.3.2
2002-12-04 09:12:10 +00:00
Laurent Rineau
c3c029620b
Bump for 1.3.2 ( 4 Dec 2002)
2002-12-04 09:10:47 +00:00
Laurent Rineau
39da2c4efc
Fix the constructor under qt-2.3
2002-11-28 11:23:39 +00:00
Laurent Rineau
b586f12bbf
Added qtoolbutton.h in includes.
2002-11-28 11:23:00 +00:00
Laurent Rineau
d17ae5db4b
Added endlines to these files, to fix gcc warnings.
2002-11-28 10:31:48 +00:00
Laurent Rineau
31d06fc92d
Bump for 1.3.1 (26 Nov 2002)
2002-11-26 14:12:43 +00:00
Laurent Rineau
815758e287
Revert my changes: Qt_widget no longer derives from QFrame. If we want a
...
border, one can use a QFrame parent of the Qt_widget. It will be probably
more efficient. Thank to Radu for not having agreed to easily: it
prevended my from doing an error. ;-)
2002-11-26 09:58:42 +00:00
Laurent Rineau
bc69c33cd6
Added comments about the last modifications I made.
2002-11-26 07:51:14 +00:00
Laurent Rineau
2b2b2a9264
- Renaming set_scale_center(x,y) to set_ranges_const_center(): this
...
functions set ranges (xmin,ymin,xmax,ymax) with constant center. Arguments
where always equal to xcenter, ycenter thus they were uneeded.
- Use drawContents(QPainter*), the protected method of QFrame called by
QFrame::paintEvent(...). paintEvent(...) is no longer overridden.
- Added comments in include/CGAL/IO/Qt_widget.h to explain the role of
private functions. It was increasingly difficult to understand the code.
- New void Qt_widget::frameChanged() function, that resize the pixmap if
the frame border is changed.
2002-11-26 07:47:03 +00:00
Laurent Rineau
0e589b74ae
I forgot to swap the connect(...) too.
2002-11-26 07:28:21 +00:00
Laurent Rineau
cd27a5b499
I have changed a lot the class Qt_widget_standard_toolbar.
...
- It now derives from QToolBar, as it should have since the beginning.
- The constructor has now additional facultative parameters:
Dock = DockTop,
bool newLine = true,
const char* name = 0
With Qt-3, the first parameter is
QMainWindow::ToolBarDock=QMainWindow::Top
- The header file has been cleaned from uneeded includes or pointer
declarations.
- The backward compatibility has been preserved by adapted default values.
- I have filled bug #36 for as a reminder for documentation changes.
2002-11-26 02:25:54 +00:00
Laurent Rineau
60e3714355
Added a linebreak at end of those files, to remove warnings under linux.
...
A test file is not correct if it doesn't end by a linebreak.
2002-11-26 01:50:49 +00:00
Laurent Rineau
251d92f0e8
Fix the clean rule in some demo makefiles (Largest_empty_rect_2 and all
...
tutorials).
We should use create_makefile -q
2002-11-26 01:48:56 +00:00
Laurent Rineau
7db5b59af8
I have a made a change in the library, that can appear to be important,
...
but is quite small actually:
Qt_widget now derives from QFrame instead of QWidget. The differences are
that:
- the Qt_widget can have a border, like a QFrame
- the drawing area is not the whole Qt_widget but the contentsRect()
rectangle, which is the widget without its border.
As, by default, the border is null, it should change anything for
compatibility. By default, a QFrame is like a QWidget.
2002-11-25 17:44:21 +00:00
Laurent Rineau
3db15d4e86
There wasn't any .cvsignore in the Nef_2 directory. Added.
2002-11-25 17:38:36 +00:00
Laurent Rineau
b8812477f5
This file Makefile (with an upper case M) is for development only and
...
doesn't go into the package.
While developping Qt_widget, the libCGALQt.a file shouldn't be moved into
the CGAL installation! That's why is should be commented.
Under unix, to use this last version anyway, use:
make CUSTOM_LIBPATH="/path/to/Qt_widget/src/CGALQt"
instead of make. It works with GNU Make at least.
2002-11-25 17:15:22 +00:00
Laurent Rineau
94f873e107
Fix contrained.C: this demo was crashing when the file data/fish wasn't
...
found.
2002-11-25 17:07:43 +00:00
Laurent Rineau
6e30bfab04
I really don't understand why zoom_rect was changing the color when
...
deactivating.
2002-11-23 14:04:43 +00:00
Radu Ursu
e4fd21ca3b
Bump for 1.3.0 (12 Nov 2002)
2002-11-12 13:39:18 +00:00
Radu Ursu
706c52fbb5
updated
2002-11-12 13:39:06 +00:00
Radu Ursu
edc1bba4bc
The demos know about small and big icons.
...
By default all the demos use small icons. To change them just use big icons in your mainwindow.
2002-11-12 13:34:23 +00:00
Radu Ursu
5b3cc93b4b
small pixmaps were added in the same file as the big pixmaps
...
the name is composed by : filename_small_xpm
2002-11-12 09:36:42 +00:00
Radu Ursu
c78cece288
Bump for 1.2.49 ( 8 Nov 2002)
2002-11-08 08:18:14 +00:00
Radu Ursu
b2024bc4a5
updated
2002-11-08 08:17:48 +00:00
Radu Ursu
328d8f6893
Fixed error in VC7 testsuite:
...
error C2027: use of undefined type 'QMainWindow'
c:\Qt\3.0.4.NET\include\qdockwindow.h(56) : see declaration of 'QMainWindow'
2002-11-06 09:45:18 +00:00
Radu Ursu
071f5cbfe5
Removed CGAL_NO_LEDA_HANDLE macro definition.
...
The patch applied to install_cgal for CGAL_QT_LDFLAGS when Qt is not installed works also when you use Leda and don't use Qt.
2002-11-04 13:52:38 +00:00
Susan Hert
80b574bae4
remove Susan as maintainer
2002-11-04 11:29:58 +00:00
Radu Ursu
e49caf8da6
Try to fix the linker error for those that have Leda installed and don't have Qt. (Borland compiler)
...
Scavenging LEDA, we provide the identical functionality in the CGAL classes Leda_like_handle and Leda_like_rep. If LEDA is not available or CGAL_NO_LEDA_HANDLE is set, Handle and Rep correspond to these types.
typedef Leda_like_handle Handle;
typedef Leda_like_rep Rep;
2002-11-04 10:00:10 +00:00
Radu Ursu
6a27f85e3a
Fixed bug in VC7. Maibe it was also in Linux.
2002-10-29 17:28:07 +00:00
Radu Ursu
22d44d1fc3
Fixed bug for VC7. Maibe it was also present in Linux.
2002-10-29 16:28:11 +00:00
Laurent Rineau
c59fae0fd5
to_double has to be prefixed by CGAL::, even when we are in the CGAL
...
namespace, because however there can be a conflict with the to_double
function defined by LEDA in the global namespace.
2002-10-28 16:45:53 +00:00
Radu Ursu
f580e8f105
Bump for 1.2.48 (25 Oct 2002)
2002-10-25 12:35:54 +00:00
Radu Ursu
922dca2ffa
updated
2002-10-25 12:35:43 +00:00
Radu Ursu
e340dc9e34
Solved Qt warning:
...
QLayout "unnamed" added to QWidget "Main_layout", which already had a layout.
2002-10-25 09:24:59 +00:00
Radu Ursu
c01943f50b
an image for alpha_shapes demo
...
requested by Mariette
2002-10-25 09:23:25 +00:00
Radu Ursu
14d2d756b5
#include <CGAL/Cartesian.h> -> #include <CGAL/Simple_cartesian.h>
...
Solved bug in output operator for segment in Qt_widget. The operator compute the intersection between the segment and the iso_rectangle using Simple_cartesian<double> kernel.
2002-10-24 13:27:05 +00:00
Radu Ursu
1cadfe5ec0
The layers contain one more boolean member, that is made false by default:
...
bool does_eat_events;
When you use attach_standard for attaching a layer, this field is true.
The show_mouse_coordinates have this member made false by the standard toolbar.
The widget send the events to the other active layers attached only if there is no other standard_layer active that eat events.
2002-10-23 09:25:28 +00:00
Radu Ursu
23b8c2e65c
File name mentioned in header (Qt_layer_show_mouse_coordinates.h) is incorrect.
2002-10-22 13:04:15 +00:00
Radu Ursu
1d73937be1
Bump for 1.2.47 (22 Oct 2002)
2002-10-22 12:49:24 +00:00
Radu Ursu
a2b1f60efc
updated
2002-10-22 12:49:03 +00:00
Radu Ursu
146983f6e7
the widget resizes to fit the bounding box of the loaded triangulation
2002-10-22 10:54:44 +00:00
Radu Ursu
2461b086cf
the widget resize to fit the bounding box of the triangulation loaded
2002-10-22 10:38:46 +00:00
Radu Ursu
de9ce3ea52
removed p_Less_xy
...
the widget fit in the bounding box of the loaded triangulation
2002-10-22 09:01:58 +00:00
Radu Ursu
e79f6a2734
fixed history behaviour in resize event
...
add_to_history is now called in set_scales
set_scales is called even when the widget is not visible and the visibility test has moved in set_scales
2002-10-22 07:47:07 +00:00
Radu Ursu
b55f2b48c5
add_to_history() and configure_history_buttons should not be added in the showEvent.
2002-10-21 15:29:08 +00:00
Radu Ursu
ff006e6ba5
added preprocessor directives to make the struct Rep definition work in this .h
2002-10-21 15:09:51 +00:00
Radu Ursu
77109c5557
The show_coordinates layer from the standard toolbar is using attach() method instead of attach_standard(). Reason: Should not eat the events when is active.
2002-10-21 14:38:26 +00:00
Radu Ursu
9679e98695
Bump for 1.2.46 (18 Oct 2002)
2002-10-18 11:34:00 +00:00
Radu Ursu
a01333c917
updated
2002-10-18 11:33:43 +00:00
Radu Ursu
0ad9dbc601
The demos use the layer show_coordinates from the standard toolbar.
2002-10-18 11:30:05 +00:00
Radu Ursu
62691be831
Qt_widget_show_mouse_coordinates layer is a part of the standard toolbar.
2002-10-18 08:58:54 +00:00
Radu Ursu
2a9633e33e
The show_mouse_coordinates layer became a part of standard_toolbar
...
The Qt_layer_show_mouse_coordinates will be removed.
2002-10-18 08:57:36 +00:00
Radu Ursu
ef987e776d
Bump for 1.2.45 (18 Oct 2002)
2002-10-18 07:33:16 +00:00
Radu Ursu
fcd4d20b66
updated
2002-10-18 07:32:25 +00:00
Radu Ursu
c1de4507b9
Because of the VC++ Internal Compiler Error
...
Use a struct derived from the Kernel as the Filtered Kernel.
2002-10-17 13:55:51 +00:00
Radu Ursu
d6fe9c51df
removed 2 warnings in load_polyline and load_constraints
2002-10-16 14:54:01 +00:00
Radu Ursu
1b58a8c136
The method clear_history should call configure_history_buttons.
2002-10-16 14:52:39 +00:00
Radu Ursu
7ff38b9a7f
added functions
...
load_constraints
load_polyline
cgal_types:
triangulation use now hierarchy
2002-10-16 13:10:47 +00:00
Radu Ursu
6a374fa6b5
fixed bug in Triangulation_2_constrained
...
Point -> OpPoint
2002-10-16 12:39:54 +00:00
Radu Ursu
809e211bdf
Bump for 1.2.44 (11 Oct 2002)
2002-10-11 11:04:47 +00:00
Radu Ursu
6260dfec32
updated
2002-10-11 11:04:28 +00:00
Radu Ursu
c3d1d03d44
removed unnecessary typename for Linux
2002-10-11 08:24:14 +00:00
Radu Ursu
8d305d46f0
removed a couple of typenames.
2002-10-11 08:20:55 +00:00
Radu Ursu
f44993b31c
#include <CGAL/Segment_2_segment_2_intersection.h> ->
...
#include <CGAL/Segment_2_Segment_2_intersection.h>
2002-10-11 07:59:13 +00:00
Radu Ursu
b95eaf1dfc
#include <CGAL/Intersections.h> ->
...
#include <CGAL/intersections.h>
2002-10-11 07:56:22 +00:00
Radu Ursu
9e4c5cebe4
Bump for 1.2.43 (10 Oct 2002)
2002-10-10 08:45:01 +00:00
Radu Ursu
003fb33e24
A lot of new improvements
2002-10-10 08:44:47 +00:00
Radu Ursu
e3e385653e
The << operator for triangulation_2 use the apply to range function, to draw only the triangles that are visible.
...
Usefull for large traingulations.
+ removed lines too long
2002-10-10 08:28:37 +00:00
Radu Ursu
9dbaee5afe
The << operator for triangulation_2 use the apply to range function, to draw only the triangles that are visible.
...
Usefull for large traingulations.
2002-10-10 08:27:59 +00:00
Radu Ursu
8a06da3ee2
Temporary put here. It will go in Triangulation_2
...
This file contains a function that apply a function to a list of triangles that are contained in a iso_rectangle.
2002-10-10 08:22:00 +00:00
Radu Ursu
fa244bbd30
The << operator for triangles use Triangle_2_Iso_rectangle_2_intersection.h
...
This file is temporary put here just waiting to go in CGAL Kernel
2002-09-30 13:42:44 +00:00
Radu Ursu
ea4cc77293
The << operator for triangles use Triangle_2_Iso_rectangle_2_intersection.h + removed lines too long
2002-09-30 13:41:55 +00:00
Radu Ursu
b1526dd843
The << operator for triangles use Triangle_2_Iso_rectangle_2_intersection.h
2002-09-30 13:39:48 +00:00
Radu Ursu
a66d8b829c
I have checked if should call set_scales in set_window
...
In ShowEvent I have added add_to_history() and configure_history_buttons()
if set_scales_to_be_done is true.
2002-09-30 13:24:48 +00:00
Radu Ursu
ebd54a00cc
fixed condition bug in << operator for segment
2002-09-20 12:42:37 +00:00
Radu Ursu
164fd2b8c0
fixed bug : hand_xpm was shown even when dragging instead of holddown_xpm
2002-09-20 09:39:47 +00:00
Radu Ursu
b60a4c9026
fixed is_inside condition in << operator for segment
...
removed warnings line too long
2002-09-16 07:36:27 +00:00
Radu Ursu
3b7a60d0fb
fixed is_inside condition in << operator for segment
2002-09-16 07:33:41 +00:00
Radu Ursu
aa56cf70c9
removed redraw call
...
Everything was drawn twice.
IT'S UNBELIVEABLE!!!!!
2002-09-13 15:47:38 +00:00
Radu Ursu
bf051644aa
removed redraw call
...
Everything was drawn twice.
2002-09-13 15:37:01 +00:00
Radu Ursu
b9d02e81de
removed redraw from the zoom and the history actions.
...
Everything was drawn twice.
2002-09-13 15:34:03 +00:00
Radu Ursu
a73f20cd1f
no message
2002-09-13 15:30:08 +00:00
Radu Ursu
e66bb1ffd9
widget-redraw() removed before something_changed() in triangulation_2.C
...
the triangulation was drawn 2 times after a new point insertion
2002-09-13 14:58:36 +00:00
Laurent Rineau
561e3bc063
Add a typename so that it is correct and compiles with gcc!
...
< R::FT xr1, yr1, xr2, yr2;
---
> typename R::FT xr1, yr1, xr2, yr2;
These lines will have to be fixed soon because
FT xr1=w.x_real(0)
assumes that R::FT has a constructor from a double, whereas it is not in
the FT concept!
2002-09-13 13:21:48 +00:00
Radu Ursu
2689935968
<< operator for segments does clipping (QT advice) only for the segments that intersect the boundaries of the screen rectangle
...
use the old x_real function because the new one is too slow in doing the transformation (use GMP if CGAL_USE_GMP is defined)
we should document the old one too, it will never be removed.
2002-09-13 10:47:20 +00:00
Laurent Rineau
28c511ee6d
Bump for 1.2.42 (11 Sep 2002)
2002-09-11 14:40:49 +00:00
Laurent Rineau
41d7414e74
1.2.42
2002-09-11 14:40:25 +00:00
Laurent Rineau
7d51a351c7
Added src/CGALQt/Makefile, to have dependancies
2002-09-07 13:59:37 +00:00
Laurent Rineau
420d70b31c
Fix a bug:
...
set_scales() was using geometry() whereas geometry() is not sure to be correct
when the widget is not visible.
Here are the explainations, in french:
-------------
> Dans Qt_widget::set_scales(), Radu se base sur geometry() pour modifier
> xmin, xmax, etc., mais malheureusement geometry() n'a pas forc�ment de
> sens quand le widget n'est pas visible (avant le premier show()
> appell�).
Le principe du patch c'est que set_scale() ne fait rien si le widget
n'est pas visible, mais met un bool�en (set_scale_must_be_done) � true.
Quand le widget apparait, la m�thode showEvent regarde si
set_scale_must_be_done=true, et appelle set_scale(). De plus,
set_scale_center() ne fait rien si set_scale_must_be_done=true car
set_scales() doit toujours avoir �t� appell� avant de bouger le centre.
2002-09-06 15:03:43 +00:00
Laurent Rineau
7213bb3e93
Readded: double x_real(int)
...
for compatibility.
Move the template function definition to Qt_widget.h and remove it from
Qt_widget.C and let the specialisation for Gmpz into the .C file
2002-09-05 10:58:17 +00:00
Radu Ursu
3fba39e1a0
Bump for 1.2.41 ( 3 Sep 2002)
2002-09-03 11:33:51 +00:00
Radu Ursu
9087c7001a
The doc on x_real and y_real.
2002-09-03 11:33:25 +00:00
Radu Ursu
30e15d3c89
removed x_real_rational, y_real_rational
...
x_real and y_real are templated and specialized for Gmpq.
2002-09-03 10:14:02 +00:00
Radu Ursu
1891fc2eaf
Bump for 1.2.40 (30 Aug 2002)
2002-08-30 13:00:05 +00:00
Radu Ursu
66ec02c3e2
The coordinates of the screen are maped to a certain interval that you
...
can choose with \ccc{set_window} member function. The scale of the
objects you can visualize is computed and maintained the same for both
axes to keep the aspect ratio of the objects. If you are not using
\ccc{gmp} you should use \ccc{x_real} or \ccc{y_real} to get the real
world coordinates, represented as a double, for your screen
coordinates. If you are using \ccc{gmp} you can use the other verions
of these two functions: \ccc{x_real_rational} and
\ccc{y_real_rational}, with \ccc{Gmpq} return type. You may need it
when you work with rationals. The double from the other function could
be more complex and can make you loose speed.
\ccMethod{double x_real(int x) const;}{Returns the \ccc{x} real world
coordinate of the \ccc{Qt_widget}.}
\ccMethod{Gmpq y_real(int y) const;}{Returns the \ccc{y} real world
coordinate of the \ccc{Qt_widget}.}
\ccMethod{Gmpq x_real_rational(int x) const;}{Returns the \ccc{x} real world
coordinate of the \ccc{Qt_widget}. Defined only if you built it with CGAL_USE_GMP.}
\ccMethod{Gmpq y_real_rational(int y) const;}{Returns the \ccc{y} real world
coordinate of the \ccc{Qt_widget}. Defined only if you built it with CGAL_USE_GMP.}
2002-08-30 12:57:12 +00:00
Radu Ursu
3a05e36543
Qt_widget have 2 new functions x_real_rational and y_real_rational.
...
Those 2 return an Gmpq object. The conversion between screen coordinates and real world coordinates return a more simple number (rational), a Gmpq object.
I put that in the doc either.
2002-08-30 12:04:47 +00:00
Radu Ursu
2c30a816c2
The class Gmpq is now available in CGAL I, so Qt_widget could support it.
...
The conversion from screen coordinates in real word coordinates could be
done via x_real_rational or x_real. Those functions try to use simplest rational in interval.
2002-08-28 07:57:21 +00:00
Radu Ursu
fb406c1210
Fix for Release Mode
2002-07-22 13:53:05 +00:00
Radu Ursu
976af4668c
Fix for Release Mode
2002-07-22 13:32:23 +00:00
Radu Ursu
7a4ba769e5
Fix for Release Mode
2002-07-22 13:25:22 +00:00
Radu Ursu
e66ea7d805
Fix for Release Mode
2002-07-22 09:01:35 +00:00
Radu Ursu
f4aab1f265
Bump for 1.2.39 (18 Jul 2002)
2002-07-18 14:08:13 +00:00
Radu Ursu
12c5aa8e27
updated
2002-07-18 14:07:49 +00:00
Radu Ursu
4e5f1d44c7
Added min_quadrilateral_2.vcproj. Version (RELEASE/DEBUG) for Qt3.0
2002-07-18 08:56:33 +00:00
Radu Ursu
59576a8101
Added min_ellipse_2.vcproj. Version (RELEASE/DEBUG) for Qt3.0
2002-07-18 08:40:32 +00:00
Radu Ursu
174091766f
Added max_k-gon.vcproj. Version (RELEASE/DEBUG) for Qt3.0
2002-07-18 08:19:29 +00:00
Radu Ursu
87d9238246
Added largest_empty_rect_2.vcproj. Version (RELEASE/DEBUG) for Qt3.0
2002-07-18 08:07:36 +00:00
Radu Ursu
956f6c3917
Added convex_hull_2.vcproj. Version (RELEASE/DEBUG) for Qt3.0
2002-07-18 07:31:49 +00:00
Radu Ursu
7f227f0aed
Added partition_2.vcproj. Version (RELEASE/DEBUG) for Qt3.0
...
The types used moved to file: cgal_types.h
2002-07-16 13:34:50 +00:00
Radu Ursu
4466d1ddd7
Added triangulation_2_constrained.vcproj. Version (RELEASE/DEBUG) for Qt3.0
...
The types used moved to file: cgal_types.h
2002-07-16 12:39:32 +00:00
Radu Ursu
7209b78748
The project for VC7 that contain the debug and release version for Triangulation_2
2002-07-16 10:15:45 +00:00
Radu Ursu
2401ce9b7e
Replaced char* with QString because of names too long that could be constructed.
2002-07-16 09:50:31 +00:00
Radu Ursu
10c3d7003a
This demo can show Crust and Weighted_alpha_shape
2002-07-16 09:09:07 +00:00
Radu Ursu
bbe5b6e46d
Bump for 1.2.38 (12 Jul 2002)
2002-07-12 13:24:28 +00:00
Radu Ursu
5ea0081108
updated
2002-07-12 13:22:54 +00:00
Radu Ursu
140f950f89
The VC7 project is ready to build (release and debug) with Qt3.0
...
The cgal_types.h file was added.
A new layout class was added
2002-07-12 13:06:28 +00:00
Radu Ursu
7b06ee64ed
I have added Nef_2
2002-07-12 12:59:33 +00:00
Radu Ursu
62b8fa0cb3
a
2002-07-12 12:49:35 +00:00
Radu Ursu
02c83fd84d
the release version of that one is very good now
2002-07-10 13:30:53 +00:00
Radu Ursu
9094e3f628
Another patch to this output operator.
2002-07-10 13:27:13 +00:00
Radu Ursu
044119fa85
Another patch to this output operator.
2002-07-10 13:26:47 +00:00
Radu Ursu
4e69423337
The release version of this project is up to date.
...
The release and debug versions are for Qt3.0 static build
2002-07-09 07:51:10 +00:00
Radu Ursu
724a662c00
removed line too long
2002-07-09 07:43:16 +00:00
Radu Ursu
e99494a1c3
Some bugs were removed
2002-07-09 07:40:49 +00:00
Radu Ursu
cc8335b001
removed line too long
2002-07-09 06:47:09 +00:00
Radu Ursu
852f1d2dd0
The Nef_2 demo is up to date
2002-07-09 06:46:29 +00:00
Radu Ursu
4dac0ea316
Bump for 1.2.37 ( 5 Jul 2002)
2002-07-05 11:01:30 +00:00
Radu Ursu
ca5ad258ec
updated
2002-07-05 11:00:53 +00:00
Radu Ursu
421ab81995
Updated for Qt2.3
2002-07-05 09:37:06 +00:00
Radu Ursu
2d4cb7ea69
Updated the nef_2 output operator for Qt_widget
2002-07-05 09:12:50 +00:00
Radu Ursu
3ab60173b8
Updated the makefile for Nef_2 demo.
2002-07-05 09:05:00 +00:00
Radu Ursu
ad5cdbb687
Updated the nef_2 demo
2002-07-05 08:54:21 +00:00
Radu Ursu
dd10afe60b
I don't know what those files are doing here
2002-07-05 08:52:55 +00:00
Radu Ursu
83ae41a01f
Moved from wininst package
...
They should be in Qt_widget/src/CGALQt
2002-07-05 08:04:44 +00:00
Radu Ursu
ca2e022310
The function sizeHint should be const
2002-07-03 11:01:56 +00:00
Laurent Rineau
25661c1d58
*** empty log message ***
2002-07-03 10:17:03 +00:00
Radu Ursu
97d3679017
Bump for 1.2.36 ( 3 Jul 2002)
2002-07-03 08:38:32 +00:00
Radu Ursu
8d4afe5d4d
1.2.36
2002-07-03 08:38:02 +00:00
Radu Ursu
00bd2c6f36
Updated Nef_2 output operator
2002-07-03 08:26:41 +00:00
Radu Ursu
ad7168983a
The makefile for the new Nef_2 demo.
2002-07-03 08:15:24 +00:00
Radu Ursu
bd85825c34
Updated Nef_2 demo
2002-07-03 08:01:08 +00:00
Radu Ursu
7e44fe7125
The Nef_2 output operator use the fillColor, bgColor and Color from Qt_widget.
2002-07-02 12:28:36 +00:00
Radu Ursu
62149caaa2
The types should come from the Explorer and not from the Polyhedron class were they are private.
2002-07-01 08:17:07 +00:00
Radu Ursu
73181e51bd
Patched the custom build setup
2002-07-01 08:07:43 +00:00
Radu Ursu
581a8bb1e2
The Nef_2 output operator for Qt_widget stream
2002-07-01 07:02:21 +00:00
Radu Ursu
341b2ae904
I have to add the vc7 projects for those demos.
...
They are configured to work with Qt3.0
2002-06-27 15:04:38 +00:00
Radu Ursu
83b8a05624
Have to add it binary
2002-06-27 14:37:30 +00:00
Radu Ursu
4906e1cd88
Have to add it binary
2002-06-27 14:27:02 +00:00
Radu Ursu
9c6b80d2ec
Have to add it binary
2002-06-27 14:16:47 +00:00
Radu Ursu
cf6ccd31c5
Have to add it binary
2002-06-27 13:54:40 +00:00
Radu Ursu
eeb3fc52ac
Have to add it binary
2002-06-27 13:46:53 +00:00
Radu Ursu
b6891ed0f1
Have to add it binary
2002-06-27 13:42:29 +00:00
Radu Ursu
796e1e650a
Have to add it binary
2002-06-27 13:35:49 +00:00
Radu Ursu
684d7e475a
Have to add it binary
2002-06-27 13:30:44 +00:00
Radu Ursu
d578f66cf6
Have to add it binary
2002-06-27 13:27:20 +00:00
Radu Ursu
70eb8867ae
Have to add it binary
2002-06-27 13:23:54 +00:00
Radu Ursu
524ba5424d
Have to add it binary
2002-06-27 13:12:08 +00:00
Radu Ursu
1dfab78760
Have to add it binary
2002-06-27 13:02:21 +00:00
Radu Ursu
9049b56304
Have to add it binary
2002-06-27 12:52:50 +00:00
Radu Ursu
d9784e7f40
Have to add it binary
2002-06-27 12:52:07 +00:00
Radu Ursu
894dbb9656
Have to add it binary
2002-06-27 12:51:22 +00:00
Radu Ursu
87c50a92ec
Have to add it binary
2002-06-27 12:41:42 +00:00
Radu Ursu
d09549f961
Have to add it binary
2002-06-27 12:35:01 +00:00
Radu Ursu
7383281987
Have to add it binary
2002-06-27 12:34:35 +00:00
Radu Ursu
13aa9a83db
Have to add it binary
2002-06-27 12:17:12 +00:00
Radu Ursu
4c606d4e58
Have to add it binary
2002-06-27 12:16:55 +00:00
Radu Ursu
fa39c0c589
Have to add it binary
2002-06-27 11:41:28 +00:00
Radu Ursu
d5e3ca04f9
Have to add it binary
2002-06-27 11:41:09 +00:00
Radu Ursu
21aad3306e
Have to add it binary
2002-06-27 11:32:22 +00:00
Radu Ursu
7e3f5f49af
Have to add it binary
2002-06-27 11:32:02 +00:00
Radu Ursu
685584b19e
The dsp for Alpha_shape_2
2002-06-27 11:31:19 +00:00
Radu Ursu
d4c27edcf9
Have to add it binary
2002-06-27 11:30:44 +00:00
Radu Ursu
a553e4f3aa
Patched the dsp for the release configuration
2002-06-27 11:29:40 +00:00
Radu Ursu
5359ea002e
Patched the dsp for the release configuration
2002-06-27 10:16:23 +00:00
Radu Ursu
55ca36cea8
Patched the dsp for the release configuration
2002-06-27 10:09:11 +00:00
Laurent Rineau
206295f88a
Added a .cvsignore file in each directory, so that compiled demos are
...
ignored by CVS.
Only work under linux.
These files are not submitted.
This will not be part of the patch, although I commit in the branch too.
2002-06-27 09:46:24 +00:00
Radu Ursu
2245ccb4fa
Patched the dsp for the release configuration
2002-06-27 09:43:11 +00:00
Laurent Rineau
cfb7ced5a1
The line of sizeHint was too long.
2002-06-27 09:39:11 +00:00
Laurent Rineau
8e4f45a1f2
Merge with the trunk. Only spaces differences.
2002-06-27 09:38:08 +00:00
Radu Ursu
6894503e07
the makefile for nef_2
2002-06-27 08:28:24 +00:00
Radu Ursu
e99fc0a30a
sizeHint
2002-06-27 08:19:10 +00:00
Radu Ursu
a1d4767aeb
introduced virtual QSize sizeHint() const;
2002-06-27 07:30:54 +00:00
Radu Ursu
95cae6c898
added QSize sizeHint();
2002-06-27 07:10:24 +00:00
Radu Ursu
e022e5242f
The width and height should be considered excluding the window frame and the window title.
...
This could be done using geometry().width() and geometry.height()
2002-06-27 06:33:19 +00:00
Laurent Rineau
6813e29748
Compile the ref doc too
2002-06-26 14:26:17 +00:00
Radu Ursu
4da3b5fd15
labels for input and output layers
2002-06-26 12:38:55 +00:00
Radu Ursu
d759b0e8ff
labels for input layers
2002-06-26 12:17:12 +00:00
Radu Ursu
1850ed2284
fixed bug 20
2002-06-26 12:16:48 +00:00
Radu Ursu
96f359f97d
labels for input layers
...
fixed bug 20
2002-06-26 12:10:55 +00:00
Radu Ursu
2f775789e9
fixed bug 20
2002-06-26 12:03:11 +00:00
Radu Ursu
8b68cfafae
patched bug 20
2002-06-26 11:58:15 +00:00
Radu Ursu
88065620dd
pathced bug 20
2002-06-26 11:54:40 +00:00
Radu Ursu
1d8a8dbda7
patched bug 20
2002-06-26 11:52:07 +00:00
Radu Ursu
c1dead0182
labels for input layers
2002-06-26 10:12:46 +00:00
Radu Ursu
72956d9cc2
label for input layers
2002-06-26 10:04:22 +00:00
Radu Ursu
8435140398
label for input layers
2002-06-26 09:47:37 +00:00
Radu Ursu
c60c38ea2a
label for Input layers
2002-06-26 09:41:20 +00:00
Radu Ursu
fad526b5a6
Bump for 1.2.35 (25 Jun 2002)
2002-06-25 13:51:32 +00:00
Radu Ursu
7bcb45fa42
updated
2002-06-25 13:50:48 +00:00
Radu Ursu
49be5a68ae
Bump for 1.2.34 (25 Jun 2002)
2002-06-25 13:42:42 +00:00
Radu Ursu
55330a0532
Bump for 1.2.33 (25 Jun 2002)
2002-06-25 13:42:04 +00:00
Radu Ursu
6c4ad3ac0d
updated this file to reflect the last changes
2002-06-25 13:41:43 +00:00
Radu Ursu
2c8f368efd
support for Weighted Alpha Shape
2002-06-25 13:35:53 +00:00
Radu Ursu
089343c8fa
patched the clean section
2002-06-25 13:30:40 +00:00
Radu Ursu
fc5d66cc60
Rectangle and Polygon -> Cgal_Rectangle, Cgal_Polygon
2002-06-25 13:15:15 +00:00
Radu Ursu
b42493882e
Polygon->Cgal_Polygon
2002-06-25 12:56:07 +00:00
Radu Ursu
85ba7722a6
Polygon_2->Cgal_Polygon
2002-06-25 12:53:35 +00:00
Radu Ursu
fc620dd4ed
Polygon_2 -> Cgal_Polygon
2002-06-25 12:48:03 +00:00
Radu Ursu
4cc38c6588
Polygon->Polygon_2
2002-06-25 12:37:25 +00:00
Radu Ursu
74f6bda3ef
Polygon-> Polygon_2
2002-06-25 12:28:40 +00:00
Radu Ursu
05ddc85d98
constraineds->constraints
2002-06-25 11:48:03 +00:00
Radu Ursu
502234044d
constrainets - > constraints
...
get point -> input point
2002-06-25 10:35:34 +00:00
Radu Ursu
a03d5b7160
Fixed leave event.
2002-06-21 12:27:59 +00:00
Radu Ursu
9956c3cd7a
Bump for 1.2.32 (21 Jun 2002)
2002-06-21 08:27:36 +00:00
Radu Ursu
e25025177b
updated this file
2002-06-21 08:27:10 +00:00
Radu Ursu
d7c8f31101
Added the circum_circle layer as Mariette demanded.
2002-06-20 16:21:04 +00:00
Radu Ursu
a90b43a07e
Move/Delete point funtionallity for Alpha_shape_demo.
2002-06-20 11:20:34 +00:00
Radu Ursu
6bc9ae2237
Removed lines too long.
2002-06-20 09:15:27 +00:00
Radu Ursu
538f2f6ee6
removed lines too long
2002-06-20 09:14:55 +00:00
Radu Ursu
92da1f71ad
You can see the alpha_shape after you load the file.
2002-06-20 09:12:41 +00:00
Radu Ursu
528e9d8cbb
The template argument was documented.
2002-06-20 08:27:03 +00:00
Radu Ursu
68df61b9b1
Bump for 1.2.31 (20 Jun 2002)
2002-06-20 08:23:49 +00:00
Radu Ursu
365ec2cbf5
Updated for the last version.
2002-06-20 08:22:40 +00:00
Radu Ursu
05714041fc
Removed warnings on Windows.
2002-06-19 17:13:21 +00:00
Laurent Rineau
baec75ec1f
Bug 14: wheelEvent has a wrong parameter type!
...
Radu forgot to fix the headers
2002-06-14 14:14:15 +00:00
Laurent Rineau
4d30cedba6
Add "make lib"
2002-06-14 13:24:17 +00:00
Radu Ursu
40e273327a
BUG 13.
2002-06-14 08:07:13 +00:00
Radu Ursu
a9b60c213c
BUG 13.
2002-06-14 08:01:24 +00:00
Radu Ursu
5ad6bf181e
BUG 13.
...
The const param.
2002-06-14 07:57:42 +00:00
Radu Ursu
11797aa552
Bug 13.
...
I have put the const modifier for all the members described in this bug.
2002-06-14 07:46:43 +00:00