Commit Graph

555 Commits

Author SHA1 Message Date
Ílker Yaz a4520ca6f6 Demo update (forget to uncomment) 2012-08-23 01:19:31 +00:00
Ílker Yaz 0c484a175e Changes on documentation & Small change on demo. 2012-08-23 00:50:22 +00:00
Ílker Yaz fcfc79dfc7 1) Surface_mesh_segmentation does not hold any state now.
2) Demo is updated (it uses the API now) (also cleaned)
   Also SDF values that are used for visualization (result of "Calculate SDF") is now linearly normalized values (previously they were log-normalized)
3) New example is added (using id's to access pmap data)
2012-08-22 15:37:31 +00:00
Ílker Yaz b57f752e34 Change smoothness parameter 23 to 0.23 (limit it with 0-1) 2012-08-20 13:51:50 +00:00
Sébastien Loriot 973a2d0a4f accomodate reorganization of the code 2012-08-20 08:25:21 +00:00
Ílker Yaz 49a03e1876 Added print-outs for debugging. 2012-08-06 13:47:17 +00:00
Ílker Yaz 14af1c90e1 demo update-
a fix (setting up color vector for segmentation in colorize also)
((I suggest to call init() for Surface_polyhedron_item when we set set_color_vector_read_only to false))
2012-08-03 19:58:52 +00:00
Sébastien Loriot 3d3df0ce1b merge from next 2012-08-03 15:26:23 +00:00
Ílker Yaz 103aeac5e3 demo- fix one premature commit 2012-08-03 15:24:43 +00:00
Sébastien Loriot 8459fc6485 update the default polyhedron to have indices in simplices
so that plugin can simply attach properties to them.
2012-08-03 15:22:58 +00:00
Ílker Yaz 1ce5bb17f5 demo- fix on premature item addition 2012-08-03 15:19:44 +00:00
Ílker Yaz 82e219a7e0 demo-update
sdf-values colored in gray-scale.
2012-08-03 14:21:53 +00:00
Sébastien Loriot c3c6a0143e merge from next 2012-08-03 13:22:03 +00:00
Sébastien Loriot 8fdfaaf041 add a way to not update automatically the color vector
(in case a plugin has fixed it)
2012-08-03 13:20:30 +00:00
Sébastien Loriot 897e21beeb merge from next 2012-08-03 13:01:52 +00:00
Sébastien Loriot 1abc852a14 remove white spaces 2012-08-03 13:00:08 +00:00
Sébastien Loriot 32dd808bce should not comment that 2012-08-03 12:55:07 +00:00
Sébastien Loriot 79155b1812 update names of new item created+clean up 2012-08-03 12:53:35 +00:00
Sébastien Loriot dcf005834a fix constness issue 2012-08-03 12:28:13 +00:00
Ílker Yaz c64db90c95 Remove useless files. 2012-08-03 10:16:51 +00:00
Ílker Yaz bbec5ac94e Small changes in demo.
(Setting rendering mode for item)
2012-08-03 10:13:54 +00:00
Ílker Yaz 050562a5c8 demo update- 2012-08-03 09:24:39 +00:00
Sébastien Loriot b2bb0ce45a simpler patch for removing info with item (r67819).
Revert r70929
2012-08-01 15:22:03 +00:00
Sébastien Loriot 330fc58dfd merge from next 2012-08-01 15:06:15 +00:00
Sébastien Loriot 94a1c41aa3 please test your change before commiting 2012-08-01 15:05:11 +00:00
Sébastien Loriot a86994aca6 merge from next 2012-08-01 14:20:13 +00:00
Sébastien Loriot 5429eb8b3e give access to the color vector to let a plugin use its own colors 2012-08-01 14:18:14 +00:00
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Ílker Yaz 58b1a2ed41 Demo - small changes. 2012-08-01 12:14:31 +00:00
Sébastien Loriot 21d3a56818 merge from next 2012-08-01 06:40:41 +00:00
Sébastien Loriot ea408a8602 update info when items are deleted 2012-08-01 06:16:15 +00:00
Sébastien Loriot eecde00a77 import nef io plugin from Mesh_3-experimental-GF 2012-08-01 05:37:55 +00:00
Sébastien Loriot 9e16ac5e21 update polyline filters 2012-08-01 05:35:31 +00:00
Sébastien Loriot e7b9064869 import Polyhedron affine transform plugin from Mesh_3-experimental-GF 2012-08-01 05:27:21 +00:00
Sébastien Loriot 6799a36fb0 do not try plugins to load if the file does not exist 2012-08-01 05:19:40 +00:00
Sébastien Loriot 48f8192d76 fix normal display 2012-08-01 05:13:43 +00:00
Laurent Rineau e852c4d62b std::invalid_argument derives from std::logic_error. 2012-07-31 15:46:23 +00:00
Laurent Rineau 5e9afc49f7 Cherry-pick that revision, to restore scripts in the demo:
| ------------------------------------------------------------------------
  | r70911 | lrineau | 2012-07-31 17:30:38 +0200 (Tue, 31 Jul 2012) | 4 lines
  | Changed paths:
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.cpp
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.h
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/MainWindow.ui
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/geomodel.js
  |    M /branches/features/Mesh_3-experimental-GF/Polyhedron/demo/Polyhedron/testsuite.js
  | 
  | Restore the handling of scripts
  | 
  | + add a shortcut to the new "load script" action.
  | 
  |
  ------------------------------------------------------------------------
The .js files are not commited in next.
2012-07-31 15:45:47 +00:00
Sébastien Loriot 96506df9c1 match composed extensions and several extension per file type 2012-07-31 14:03:20 +00:00
Laurent Rineau 10dd183ca6 Stupid bug: the script *loader* must use getOpenFileName
instead of getSaveFileName! Please test what you commit!!
2012-07-31 12:39:34 +00:00
Sébastien Loriot f37fb1eeff merge from next 2012-07-31 06:15:35 +00:00
Ílker Yaz ae697355fe changes on plug-in (according to latest changes on API) 2012-07-31 04:42:05 +00:00
Sébastien Loriot eb95b00499 fix display mode selection induced by introduction of a new display mode 2012-07-27 13:52:01 +00:00
Sébastien Loriot b22a192d40 fix display of polyhedron items 2012-07-27 13:32:48 +00:00
Sébastien Loriot e060d19f7d display error 2012-07-27 13:24:39 +00:00
Sébastien Loriot 9deba05a96 restore properties accidently erased 2012-07-27 13:10:37 +00:00
Sébastien Loriot 740d865f09 remove local_spacing plugin that was needed for splatting 2012-07-27 10:53:31 +00:00
Sébastien Loriot 19422b5103 convex hull works with points 2012-07-27 09:52:29 +00:00
Sébastien Loriot 980ddfb16a remove warning+forgot to test things 2012-07-26 07:17:58 +00:00
Sébastien Loriot 822e6ecf7f remove splatting. If someone really wants it, we can think about importing it 2012-07-25 12:50:40 +00:00