Commit Graph

3491 Commits

Author SHA1 Message Date
Paolo Cignoni a5ea80d9df Corrected EFi function as vcg/bugs/43/ 2014-12-06 23:36:42 +00:00
Paolo Cignoni cca512c266 Added parameters to control the cylinder refinement to the BuildCylinderVertexShell functions 2014-12-05 03:25:52 +00:00
Paolo Cignoni 90e07822e5 Added BarycentricRelaxVoronoiSamples and QuadricRelaxVoronoiSamples 2014-12-04 16:04:20 +00:00
giorgiomarcias 8f04d22bb6 Added a per-face barycentric constraints weight. Removed some annoying warnings. 2014-11-30 19:32:17 +00:00
giorgiomarcias 6ecf866467 Removed some annoying warnings. 2014-11-30 19:31:35 +00:00
giorgiomarcias ad7f96a642 Removed several unusefull asserts on polychord splitting. 2014-11-24 08:23:23 +00:00
giorgiomarcias 6e0fe4fb49 Changed the SplitPolychord method: now it handles any polychord, especially self-intersecting ones. 2014-11-15 17:55:46 +00:00
giorgiomarcias 7e212f1d60 Function VInd() declared const so that it can be used also with a constant face::Pos. 2014-11-15 17:50:19 +00:00
Paolo Cignoni 8959e68790 Small change still related to the normal -> trianglenormal renaming 2014-11-14 23:01:21 +00:00
Paolo Cignoni 40aedda6b0 Added also a NormalizedTriangleNormal. Too much practical... 2014-11-14 23:00:36 +00:00
Paolo Cignoni 828dc5f404 Added a resize() method to the basic attribute handle class to allow the definition of templated functions that can indifferently take an attribute or a vector as a parameter (like the ones in MeshToMatrix) 2014-11-14 22:03:58 +00:00
Paolo Cignoni 1d79254dbc Added PerVertexArea and PerFaceArea to collect vectors of areas from a mesh 2014-11-13 22:50:39 +00:00
Nico Pietroni 137e34a44f first release version 2014-11-12 15:37:21 +00:00
Nico Pietroni b4150e3e5c 2014-11-12 15:22:09 +00:00
Nico Pietroni 5f4726ca08 2014-11-12 15:21:27 +00:00
Paolo Cignoni 62af567808 Updated to reflect the Normal() -> TriangleNormal() change 2014-11-12 00:19:46 +00:00
Paolo Cignoni 6458dd30ad Added some practical typedefs for simpler use of attributes 2014-11-12 00:19:18 +00:00
Paolo Cignoni 9d89004760 Updated to reflect the Normal() -> TriangleNormal() change
Updated to reflect the changes to the UpdateFlags (new function names ::VertexBorderFromFaceAdj ::VertexBorderFromFaceBorder)
2014-11-12 00:14:23 +00:00
Paolo Cignoni 4b0e72293f Added ComputeValence function 2014-11-12 00:13:05 +00:00
Paolo Cignoni 6f4d33519b Updated to reflect the changes to the UpdateFlags:
new function names ::VertexBorderFromFaceAdj ::VertexBorderFromFaceBorder
2014-11-12 00:12:32 +00:00
Paolo Cignoni d6e5ff4512 Updated to reflect the changes to the UpdateFlags:
new function names ::VertexBorderFromFaceAdj ::VertexBorderFromFaceBorder
2014-11-12 00:12:10 +00:00
Paolo Cignoni 18d91de047 Updated to reflect the Normal() -> TriangleNormal() change
And added function to compute normals per polygonal faces
2014-11-12 00:09:58 +00:00
Paolo Cignoni 884795203c Added VertexBorderFromFaceAdj function (needed for managing polymesh that do not have per face border bit) 2014-11-12 00:08:59 +00:00
Paolo Cignoni b1b3068ba9 Removed the ComputeNormal functions from the face. Almost never used and superfluous 2014-11-12 00:05:45 +00:00
Paolo Cignoni 16f4795588 CRITICAL CHANGE: the commonly used function Normal() used to compute the normal of a triangle has been changed into TriangleNormal() 2014-11-12 00:04:26 +00:00
Paolo Cignoni 3bc278c224 renamed polygon.h to polygon3.h for coherence... 2014-11-12 00:03:01 +00:00
Paolo Cignoni 144c3ce295 Added file for containing polygon based functions (just like triangle) 2014-11-12 00:01:32 +00:00
giorgiomarcias 1f369bbf09 Added the option for selecting polychord loops only. 2014-11-07 15:38:00 +00:00
Nico Pietroni 8c93868ca7 major modification to works with constraints 2014-11-07 12:02:24 +00:00
Nico Pietroni 06bc9ba660 generalized to polygonal faces 2014-11-07 11:42:10 +00:00
Nico Pietroni d93bfe908f changed reference to vertex function in order to compile with polygonal faces 2014-11-07 11:41:41 +00:00
granzuglia af5f31d4f7 - added default constructor to VFAdjType
- removed compile time error on Av.reserve function call
2014-11-06 23:21:04 +00:00
Paolo Cignoni 177cf43069 Added two other meshAssert tests (quads and tris) 2014-11-06 15:10:00 +00:00
giorgiomarcias e1027dedb5 Added method to find all polychords on a mesh (returns the list of Pos's, one for each polychord start edge). 2014-11-06 11:04:19 +00:00
Nico Pietroni 66bd26ed70 minor warning corrected 2014-11-05 19:25:57 +00:00
Nico Pietroni 505fa04c73 Changed per vertex nomal computation to works with polygons 2014-11-05 19:24:46 +00:00
Nico Pietroni f115db004c major changes in UpdateSingularByCross, used the additional parameter to set if a vertex is singular or not 2014-11-05 19:23:42 +00:00
Paolo Cignoni e29b6f4a46 More refactoring of implicit smooting class 2014-11-05 17:23:13 +00:00
Paolo Cignoni eb2b5e7fa5 refactoring to remove quality 2014-11-05 16:22:06 +00:00
Paolo Cignoni d03a5a97d2 First version of the implicit smoother 2014-11-05 15:48:34 +00:00
Paolo Cignoni 0a42a15d35 improved documentation, remove extra ';' and useless const 2014-11-03 15:05:34 +00:00
Paolo Cignoni c7b6bd26bf Significantly improved documentation of the components.
Added IsNull to the VF vertex component and coherent initialization of the vf adjacency.
2014-11-03 15:01:27 +00:00
Paolo Cignoni db53a1ff06 Cleaned up harmonic.h (added standard header, needed meshassert) 2014-11-03 15:00:06 +00:00
Paolo Cignoni e1a327e556 added a missing include callback.h 2014-11-03 14:59:07 +00:00
Paolo Cignoni b328a5f94a Added the new mechanism for run time checking of mesh adequacy to a given algorithm.
While the many RequireXXX functions allow to check the static correctness of a mesh and
have a O(1) complexity, in many cases we need to run more complex checks to be sure that
the subsequent algorithm can run without issues.
Typical cases are the fact that there are no unreferenced vertices (NoUnreferencedVertex)
or a given adjacency is correctly initialized (and not only statically present as a type component).
2014-11-03 14:50:37 +00:00
Paolo Cignoni df6865a6de Changed many explicit exception throwing for missing components into the shorthand RequireXXXX 2014-11-03 14:38:05 +00:00
Paolo Cignoni 5565647e82 Added two functions VertexFromAttributeHandle and FaceFromAttributeHandle to map a pervertex/perface scalar handle into the quality 2014-11-03 14:36:58 +00:00
Paolo Cignoni b278f29129 Changed many explicit exception throwing for missing components into the shorthand RequireXXXX 2014-11-03 14:34:35 +00:00
Paolo Cignoni 6830b4aea4 Changed many explicit exception throwing for missing components into the shorthand RequireXXXX 2014-11-03 14:33:45 +00:00
Luigi Malomo 79f4c6ac94 Added VN() function to triangle3. 2014-11-01 16:58:53 +00:00