Commit Graph

1749 Commits

Author SHA1 Message Date
Paolo Cignoni d8293c0c05 Updated RestrictedVoronoiRelaxing to use area weighted sum of nearest vertexes to compute barycenter 2014-08-30 07:50:22 +00:00
Nico Pietroni 6d042e5200 added FaceFauxBorder function 2014-08-29 15:10:06 +00:00
Paolo Cignoni 0e15b05070 Added more control on the initialization of the random generator in the poisson sampling 2014-08-29 13:21:27 +00:00
Nico Pietroni feff81dd01 solved minor error with templated scalar type 2014-08-28 09:46:49 +00:00
Nico Pietroni ae18d9b445 added VectorFromCoord function 2014-08-28 09:46:16 +00:00
Paolo Cignoni 0337582896 Added managment of fixed vertices in the restricted voronoi relaxing 2014-08-28 09:28:39 +00:00
Paolo Cignoni 636cf7bf8a Added possibility of specifying approximation tolerance in the posson disk sampling by number 2014-08-28 09:28:14 +00:00
Paolo Cignoni c08ca27367 harmless warning 2014-08-28 01:56:28 +00:00
Paolo Cignoni fdf0b5b2ec minor aestetical changes and added edge size checking to the IsSizeConsistent function 2014-08-28 01:55:43 +00:00
Paolo Cignoni 875a7d1aac Added RestrictedVoronoiRelaxing mode to the voronoi framework 2014-08-28 01:54:32 +00:00
Paolo Cignoni b452c7a305 Changed the wrapper for poisson disk sampling to use the exact pruning option if radius is not specified.
Corrected bug in the exact pruning that failed to return radius in some cases
2014-08-28 01:53:58 +00:00
Paolo Cignoni 60ca2f2d72 Updated 4pcs to float/double independnece 2014-08-26 08:45:04 +00:00
Paolo Cignoni 967f61b2be Added EdgeMeshUniform method that generate samples over the edges of a polyline in a uniform way. 2014-08-26 01:43:04 +00:00
Paolo Cignoni c6e5015090 Added SplitSelectedVertexOnEdgeMesh that split an edge mesh along the selected vertices. Useful to decompose an edgemesh into simple manifold polylines. 2014-08-26 01:42:09 +00:00
Paolo Cignoni a9202ed7db Added method BuildFromNonFaux to build an edgemesh composed by the "non faux edges". 2014-08-26 01:40:46 +00:00
Paolo Cignoni 9682fcd27d Added to the UpdateFlags::FaceFauxSignedCrease the option to mark as non faux also the boundary edges. 2014-08-26 01:39:18 +00:00
Paolo Cignoni 331021191e cleaned up the field smoohter (includes, headers etc) 2014-08-23 01:37:18 +00:00
Paolo Cignoni 855280fc08 better comments 2014-08-23 01:36:16 +00:00
Paolo Cignoni 6ba1493e3e Small changes for float/double independence 2014-08-23 01:35:52 +00:00
Paolo Cignoni 9b519cb2b8 Added ValidCell check to manage invalid cell in the trivial_walker.
Corrected compiling error due to the derivation from a templated base class (a few "this->" required)
2014-08-23 01:35:15 +00:00
Paolo Cignoni 305ac24a23 Refactored Geodesic a bit to allow float/double independency 2014-08-23 01:33:53 +00:00
Paolo Cignoni e032901b7f updated voronoi processing stuff to manage float/double and to use the new kdtree 2014-08-23 01:32:50 +00:00
Paolo Cignoni 7285fadd53 updated the ball pivoting alg to the new kdtree 2014-08-23 01:31:16 +00:00
granzuglia 5e099ffd51 - SimpleVolume is now derived from BasicGrid<VOX_TYPE::Scalar> (change has been validated by Fabio Ganovelli) 2014-08-21 16:18:04 +00:00
Paolo Cignoni 211274ab04 Small change to the init of the simple volume class to include the correct initialization of the actual space occuped by the volume 2014-08-13 06:48:20 +00:00
Luigi Malomo bb49f1c657 fixed types in OrientedDisk function 2014-08-09 17:10:19 +00:00
granzuglia b5bfb0e438 complex/base.h:
- removed Visual Studio warnings
2014-08-09 10:01:15 +00:00
Paolo Cignoni ce65164b58 harmless header clean up 2014-08-09 00:22:21 +00:00
Paolo Cignoni 7db065556a Adapted the trivial walker of marching cube to float/double independence 2014-08-09 00:21:07 +00:00
Paolo Cignoni 03c2648af1 Strongly refactored in order to guarantee better independence between the resampled mesh an the original one 2014-08-09 00:19:48 +00:00
Paolo Cignoni 5fab3cefd1 Added namespaces, copyright and a bit of cleaning... 2014-08-09 00:15:52 +00:00
Paolo Cignoni f456e8aca3 throw exception -> RequireXXXX refactoring 2014-08-09 00:14:42 +00:00
Paolo Cignoni 352d386a53 Just a few other size_t vs int clarifications 2014-08-09 00:02:52 +00:00
Paolo Cignoni d89f934e3e Removed unused local variable. (harmless gcc warning) 2014-08-08 22:06:12 +00:00
Luigi Malomo 2e5ac741a8 added closest face function which returns also barycentric coordinates and the interpolated normal for the closest point.
fixed Inside class for checking if a point is inside a mesh
minor fixes
2014-07-26 14:44:59 +00:00
Nico Pietroni 2a389bd83d commented assert line 198 that works only for quadrilateral meshes 2014-07-26 08:41:21 +00:00
Paolo Cignoni 7b226f290c corrected a few overloading error in the execute flipping members 2014-07-13 06:23:46 +00:00
Paolo Cignoni 8f35e48f43 harmless clang warning (size_t vs int) 2014-07-12 21:29:24 +00:00
Paolo Cignoni 88a648822a a forgotten int to size_t conversion in append/remap 2014-07-12 21:08:15 +00:00
Paolo Cignoni d879f84302 Converted the remap structure of the append class to keep indexes as size_t element instead of int 2014-07-12 11:43:01 +00:00
Paolo Cignoni 280a9e606b Updates pointcloud normal and smooth to the thread safe changes to the kdtree. 2014-07-12 05:50:32 +00:00
Paolo Cignoni 65336cfe7b Trying to solve int / size_t issues. Added a error guard to avoid inclusion of append. 2014-07-07 10:09:25 +00:00
granzuglia 30a9c6c2fb - a lot of int variables converted into size_t ones
- vectors contained inside Remap class converted from std::vector<int> into std::vector<size_t>
2014-07-07 07:09:07 +00:00
granzuglia 991aa707d9 - added int cast in order to avoid annoying warnings 2014-07-07 06:58:08 +00:00
Nico Pietroni bc45cfeef4 corrected 1 compilation issue with mesh passed as const 2014-07-05 14:20:00 +00:00
Nico Pietroni c74af00fdf minor modification 2014-07-04 13:29:24 +00:00
Paolo Cignoni a743e93a70 Reasonable but harmless clang warning cleanup 2014-07-03 21:28:40 +00:00
Paolo Cignoni afc802107a Made uniform the use of size_t instead of int in the vast majority of the allocate.h functions 2014-07-03 20:57:26 +00:00
Nico Pietroni 6b106d97fb first release version 2014-07-03 15:52:26 +00:00
Nico Pietroni 44f41b7c4c first release version 2014-07-03 15:52:05 +00:00