Laurent Rineau
c5b91d2f33
Use "::Qt" for the Qt namespace, instead of "Qt" (because CGAL::Qt now
...
exists).
2008-07-11 12:19:46 +00:00
Laurent Rineau
d74cb9bac9
Scene::draw() now use the rendering mode.
2008-07-11 12:12:30 +00:00
Laurent Rineau
91b1ba8bed
(Add an attribue rendering_mode in Polyhedron_entry.)
...
The treeView now displays it.
The Scene::draw() does not use it, yet.
2008-07-11 12:05:48 +00:00
Laurent Rineau
ad787d98c0
Add an attribue rendering_mode in Polyhedron_entry.
2008-07-11 11:19:52 +00:00
Laurent Rineau
b91a56535c
Setup the treeview's columns widths and streching.
2008-07-11 09:58:00 +00:00
Laurent Rineau
89e61e3809
Delegation for the Color column: one left click pops up the QColorDialog.
2008-07-11 09:57:20 +00:00
Pierre Alliez
9fce504387
cleanup on convex hull
2008-07-10 21:10:51 +00:00
Laurent Rineau
4fb74af216
Minor improvements in the feature "last opened files".
2008-07-10 16:58:57 +00:00
Laurent Rineau
35a9309b87
- Update TODO.txt
...
- Last opened polyedron is selected.
- A duplicated polyhedron is selected.
- When a polyhedron is erase, select another one (the previous one if any).
2008-07-10 16:51:11 +00:00
Laurent Rineau
00e87cf498
- Remove Scene and Camera menu.
...
- Move Load/Erase/Duplicate into the File menu.
2008-07-10 15:49:13 +00:00
Laurent Rineau
7e9278f677
Handle recent files in the File menu.
2008-07-10 15:48:29 +00:00
Pierre Alliez
0e1b8e8ca9
attempt to simplify an enriched polyhedron but fails at compile time (we should ask Fernando some help!)
2008-07-10 15:29:21 +00:00
Laurent Rineau
d011d7ffc2
New title for MainWindow: "Polyhedron demo".
2008-07-10 15:05:33 +00:00
Pierre Alliez
1a682c6e71
resources into a separate folder
...
added data folder with toy meshes
2008-07-10 14:11:15 +00:00
Laurent Rineau
78a3a69d55
Update the scene delegate.
2008-07-10 14:08:10 +00:00
Laurent Rineau
b41991af69
- Rename "on_treeView_itemSelectionChanged()" to "selectionChanged()" to
...
avoid an auto-connection attempt.
- Activate anti-aliasing by default.
2008-07-10 14:07:07 +00:00
Laurent Rineau
30a92b28b4
More todo entries.
2008-07-10 13:59:38 +00:00
Pierre Alliez
121477b70f
enriched todo list
2008-07-10 13:58:22 +00:00
Laurent Rineau
fd228fea1f
Add a TODO file
2008-07-10 13:55:20 +00:00
Pierre Alliez
abaa8e6f51
convex hull added!
2008-07-10 13:49:13 +00:00
Laurent Rineau
00de2764fc
Switch back to QGLViewer as base class of 'Viewer'.
2008-07-10 13:00:44 +00:00
Pierre Alliez
d9ad075d4d
Better handling of relative paths. That fixes errors with CMake under Windows.
2008-07-10 12:10:35 +00:00
Pierre Alliez
5dc4729fd7
Include qgl.h from Qt, to fix compilation errors related to GL/gl.h (under Windows, windows.h must be included first). (lrineau)
2008-07-10 12:09:38 +00:00
Pierre Alliez
bffb220a35
Fix a compilation error with Visual (need to protect std::min from nasty macros). (lrineau)
2008-07-10 12:08:31 +00:00
Pierre Alliez
0796a642a7
First a warning with Visual (lrineau)
2008-07-10 12:07:39 +00:00
Laurent Rineau
aebde5a069
Attempt to fix compilation errors on Windows.
2008-07-10 11:45:43 +00:00
Pierre Alliez
b5a5b2e914
added menu convex hull
2008-07-10 11:18:32 +00:00
Pierre Alliez
ca272d25a3
fix windows compilation issue with HDS
2008-07-10 09:58:39 +00:00
Laurent Rineau
44e4421af1
Use -I./include.
2008-07-10 09:50:18 +00:00
Laurent Rineau
1b8c973eb7
commit the enriched polyhedron
2008-07-10 09:49:13 +00:00
Laurent Rineau
46836fc913
Add a "delegate" for the QTreeView that displays the scene. For the moment,
...
that delegate only handles the "Activated" column: it displays a green
checkmark iff the polyhedron is activated.
2008-07-10 08:13:42 +00:00
Laurent Rineau
89faa7f11f
- Add an action "Anti-aliasing" in the view menu. Off by default. Scene has
...
a setAntiAliasing fucntion.
- One can now drag-drop several files at once. Scene::open(QString) is
called for each.
- In Scene.cpp, Scene::open() displays a warning dialog when the file is
not an OFF file.
- The polyhedra list is now in a QDockWidget, on the left by default. That
way the list can be moved in the user interface (like other dock
widgets). The "View" menu has an option to show/hide the dock widget.
- Subdivision methods now call viewer-updateGL(), so that the viewer
repaint itself after a polygon is modified.
2008-07-09 14:41:09 +00:00
Laurent Rineau
105ccbab53
- The Scene now reacts to the selection by highlighting the selected
...
polyhedron.
- One can open several OFF files at one (use QFileDialog::getOpenFileNames
instead of QFileDialog::getOpenFileName).
- Added two subdivision methods.
2008-07-09 11:06:31 +00:00
Laurent Rineau
88f7f33c5f
First version of Polyhedron demo with Qt4.
2008-07-08 14:18:33 +00:00