Commit Graph

6112 Commits

Author SHA1 Message Date
Paolo Cignoni c627b31e59 Cleaned up the CoM (curve on manifold) class and revised the sample using it 2018-05-05 00:38:41 +02:00
Paolo Cignoni 18e424b7c0 Updated the functions that cuts along crease edges to use the new faceedge selections 2018-05-05 00:37:33 +02:00
Paolo Cignoni 884faa97c1 Added FillSelectedFaceEdgeVector FaceEdgeSelCrease and BuildFromFaceEdgeSel function
It is much more meaningful to create a poly mesh from selected edges instead abusing of the faux edges bit
Similarly it much butter to select crease edges for subsuequent uses
2018-05-05 00:36:43 +02:00
Paolo Cignoni e78d9c252c Updated the pos to do not use crease stuff and added selection helpers for pos 2018-05-05 00:33:38 +02:00
Paolo Cignoni 8bb8e59218 Significant Change: FaceCrease bit removed and added FaceEdge Selection Bit
The Crease bit was never seriously used and in many cases we mis-used the faux edge bit at its place. Now has a more significant name  and can be used in practice to mark/select edges over a mesh (without explicitly storing them).
2018-05-05 00:32:26 +02:00
Paolo Cignoni 21d49e900e corrected rarely used setview in gui.h 2018-04-23 09:35:20 +02:00
T.Alderighi ffc93b5169 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-11 15:22:28 +02:00
T.Alderighi 800b3b01a5 typo 2018-04-11 15:22:19 +02:00
Paolo Cignoni 64aaf2bb9b harmless warning 2018-04-10 19:05:50 +02:00
T.Alderighi 597e2592aa Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-09 15:50:54 +02:00
Paolo Cignoni f4f58f587a wrong guard position (doh!) 2018-04-06 16:41:39 +02:00
Paolo Cignoni 2107652428 guarded out old unused picking functions 2018-04-06 13:42:50 +02:00
Paolo Cignoni a15bb49904 harmless clang warnings 2018-04-06 13:26:51 +02:00
T.Alderighi 1b50c7af37 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-06 12:14:30 +02:00
Paolo Cignoni d8fa7295e7 Added yet another variant of ply ushort/char combination...
close meshlab bug #290
2018-04-06 11:00:28 +02:00
Paolo Cignoni 4c4035cf47 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-06 10:36:07 +02:00
Paolo Cignoni 95a2c62104 Refactored a bit the obj importer to remove bug caused by meshes with and without textures 2018-04-06 10:33:53 +02:00
nico 6a31fa64ba Refactored ReprojectBorder and added MergeAlongEdges Function 2018-04-06 14:03:39 +10:00
T.Alderighi 58a9b0eefe Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-05 18:46:15 +02:00
Luigi Malomo 6011f049fc voronoi remesher tweaked 2018-04-05 18:43:43 +02:00
Luigi Malomo 54d19e3059 added function to compute mesh boundary length 2018-04-05 18:43:05 +02:00
Paolo Cignoni 524f8e8a61 Corrected bug in texture saving (vt vs wt clash)
It does not worked when trying to save per vert tex in a mesh with also per-wedge.
2018-04-05 11:36:19 +02:00
Marco Callieri ce1f23a37b added check in MCSimplify
if the mesh does not have straight edges, it cannot be simplified "guessing" the error because it is not a MC-generated mesh.
Before, when it fould no straigth edges, it was crashing :)
2018-04-03 13:06:26 +02:00
Marco Callieri 7fdb93f773 warning cleanup 2018-03-26 11:44:24 +02:00
Marco Callieri 0a9af88d5f updated default pointsize 2018-03-26 11:44:05 +02:00
Marco Callieri 9d14fea462 strdup works on linux, _strdup on windows 2018-03-21 12:07:40 +01:00
Marco Callieri ba91309937 warning cleanup 2018-03-21 12:01:01 +01:00
Marco Callieri 7939a54f1c warning cleanup 2018-03-21 10:45:12 +01:00
Marco Callieri 302e75772b formatting 2018-03-15 17:18:54 +01:00
Luigi Malomo 16a5d7b999 corrected importer to handle import of polygonal ply into meshes with polyinfo 2018-03-07 20:12:42 +01:00
Paolo Cignoni 912e78c4cf cleaned up a few typenames 2018-02-25 18:37:11 +01:00
Paolo Cignoni a9bc96b798 corrected missing typename 2018-02-23 16:41:07 +01:00
Gianpaolo Palma f900d8f0d4 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-23 16:15:27 +01:00
Gianpaolo Palma 6a7e2fadbc Changing std::vector with std::unordered_set 2018-02-23 16:15:03 +01:00
Gianpaolo Palma c63bb93163 Added normal computation for the visibility mesh 2018-02-23 16:11:58 +01:00
Gianpaolo Palma dbd47ab70b Fixing compilation error 2018-02-23 16:09:19 +01:00
Paolo Cignoni 060cfc3ecb Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-22 19:26:36 +01:00
Paolo Cignoni a6e8112b6a Improved robustness when handling malformed stl files 2018-02-22 19:26:33 +01:00
Gianpaolo Palma 926020d508 Speed-up improvments
- Use of the kdTree instead of the staticGrid
- Use of OpenMP in the computation of the slice values
2018-02-22 11:32:17 +01:00
Gianpaolo Palma 2a33dcf967 Code refactory
Added common interface with the other indexing structure
2018-02-22 11:25:04 +01:00
Paolo Cignoni 70d9050ffc trying to get rid ofa strange template error on linux. 2018-02-21 08:04:28 +01:00
Paolo Cignoni aecb23868f harmless warning 2018-02-20 23:26:04 +01:00
Paolo Cignoni 735391f996 Correct number of merged vertices 2018-02-20 21:24:28 +01:00
Paolo Cignoni 19296e27b9 added return value to the WedgeTexMergeClose
to comply the style...
2018-02-20 16:37:39 +01:00
Paolo Cignoni bbed4de2f6 harmless warning 2018-02-20 15:33:04 +01:00
Paolo Cignoni 7b0464603d Added texture clean sample 2018-02-20 14:04:01 +01:00
Paolo Cignoni d6e5aa2116 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-20 10:24:34 +01:00
Paolo Cignoni 7c984e12da Added WedgeTexMergeClose that Merge supposedly wrong texcoords 2018-02-20 10:24:29 +01:00
Paolo Cignoni 23cb998b04 typo 2018-02-20 10:24:00 +01:00
Marco Callieri ec9434d2a1 small fix
For MeshLab, but may be also needed in other cases. We need to store a COPY of the property name, in case the char* that was passed to the function is not persistent. May result ina small leak :(
2018-02-16 18:03:53 +01:00