Commit Graph

6653 Commits

Author SHA1 Message Date
Paolo Cignoni 5c63ade13d Updated cmakelist 2021-11-05 16:02:24 +01:00
Paolo Cignoni 009ea9e671 Updated curvature sample to the last changes 2021-11-05 16:02:24 +01:00
Paolo Cignoni 5e9cd474f5 renamed curvature extracting method for sake of coherence 2021-11-05 16:02:24 +01:00
Paolo Cignoni fa5f92979e Updated curvature and quality function to do not use components but attributes 2021-11-05 16:02:24 +01:00
Paolo Cignoni 0aac589996 removed useless HG components from the vertex component set
Replaced by much simpler attributes
2021-11-05 16:02:24 +01:00
Paolo Cignoni e076810394 removed useless var 2021-11-05 16:02:24 +01:00
Paolo Cignoni f2400770c1 improved behaviour of distribution/histogram in presence of NaN 2021-11-05 16:02:24 +01:00
Paolo Cignoni 63a227dd92 removed useless selection count call in append 2021-11-05 16:02:24 +01:00
Paolo Cignoni 53ae89526f Update export_ply.h 2021-11-05 16:02:24 +01:00
Alessandro Muntoni 0323a0cd42
Merge pull request #180 from jmespadero/patch-1
Edge orientation coherence
2021-11-05 16:00:12 +01:00
alemuntoni 117daf1a76 obj materials importer less restrictive when reads something unexpected 2021-11-05 12:24:52 +01:00
jmespadero 97a521fd23
Edge orientation coherence
Sort edges in output of IntersectionPlaneMesh() to remove duplicate vertex and maintain orientation coherence in the edges.

Before this change, the vertex list contains duplicates and the edge list is not sorted, so there is no easy way to build the polylines of the cut. Calling RemoveDuplicateVertex() will produce a edge list with no coherence, like this example:

```
edge [0 1] goes from [0.12843863 0.38690682 0.1] to [0.13383933 0.3839188  0.1]
edge [2 3] goes from [0.14307424 0.38100217 0.1] to [0.13592989 0.38318165 0.1]
edge [3 1] goes from [0.13592989 0.38318165 0.1] to [0.13383933 0.3839188  0.1]
```

The output is correct, but somehow confusing because edges in the polyline(s) are not in order. After the proposed change, the output will be: 

```
edge [0 1] goes from [0.12843863 0.38690682 0.1] to [0.13383933 0.3839188  0.1]
edge [1 3] goes from [0.13383933 0.3839188  0.1] to [0.13592989 0.38318165 0.1]
edge [3 2] goes from [0.13592989 0.38318165 0.1] to [0.14307424 0.38100217 0.1]
```
2021-11-05 10:43:29 +01:00
Luigi Malomo 23a24290a2 commented out per vertex curvature property (todo: decide how to handle complete removal) 2021-11-03 14:19:44 +01:00
Paolo Cignoni d1d106a4ce Updated cmakelist 2021-10-29 16:36:17 +02:00
Paolo Cignoni 72200b9d9b Updated curvature sample to the last changes 2021-10-29 16:11:50 +02:00
Paolo Cignoni 442a289bf6 renamed curvature extracting method for sake of coherence 2021-10-29 14:58:18 +02:00
Paolo Cignoni 11b7b362ec Updated curvature and quality function to do not use components but attributes 2021-10-29 14:26:38 +02:00
Paolo Cignoni 49c8678ec3 removed useless HG components from the vertex component set
Replaced by much simpler attributes
2021-10-29 14:26:00 +02:00
Paolo Cignoni b6110a93df removed useless var 2021-10-28 21:22:42 +02:00
Paolo Cignoni a0d239ec26 improved behaviour of distribution/histogram in presence of NaN 2021-10-28 21:22:19 +02:00
Paolo Cignoni 448c340d3a removed useless selection count call in append 2021-10-28 21:21:15 +02:00
Paolo Cignoni 7cce9f185f Update export_ply.h 2021-10-28 13:24:24 +02:00
alemuntoni 38c3a410b1 Merge branch 'devel' 2021-10-28 09:41:31 +02:00
alemuntoni 476d1c2d51 make plylib bugfix build also on gcc and clang 2021-10-26 11:22:20 +02:00
alemuntoni a0e7ed3d0a solve bug for uninitialized public members in ply lib 2021-10-26 10:57:18 +02:00
alemuntoni 2fbc872228 delete old travis and appveyor yml files 2021-10-22 12:36:41 +02:00
alemuntoni 6e964df296 update PR template 2021-10-21 17:14:44 +02:00
alemuntoni 138b35eb06 update CLA 2021-10-21 17:00:03 +02:00
Alessandro Muntoni bd49d26d38
Merge pull request #179 from christian-rauch/fix_typo
fix typos
2021-10-21 16:12:16 +02:00
alemuntoni 08487711d6 better copy in simple temporary data 2021-10-20 18:36:34 +02:00
Christian Rauch 8e7ec453bb fix typos in pull request template 2021-10-20 11:29:58 +01:00
Christian Rauch 91dcfaa306 fix typo in PLY loader error message 2021-10-20 11:29:58 +01:00
alemuntoni 18e841e3d0 fix import_dae, see #24 2021-10-20 11:27:02 +02:00
alemuntoni 412c904a17 remove fscanf from outline2_packer.h 2021-10-20 10:29:25 +02:00
alemuntoni 4d6c87c579 remove sprintf from meshtree and perfect_sparial_hashing 2021-10-20 09:38:07 +02:00
alemuntoni 875d659719 remove sprintf from edge collapse algorithms 2021-10-20 08:48:06 +02:00
Paolo Cignoni feb2f2c3bc removed memset from isosurfacing classes 2021-10-19 18:56:48 +02:00
alemuntoni 10e8502717 remove sprintf from hole.h, plymc.h and volume.h 2021-10-19 18:25:28 +02:00
alemuntoni 78cad04cb9 remove sprintf from plymc.h 2021-10-19 17:44:19 +02:00
alemuntoni 9dccb764ed remove memcpy on simple_temporary_data.h 2021-10-19 15:46:14 +02:00
alemuntoni 9353836106 remove memcpy on allocate.h 2021-10-19 15:31:06 +02:00
alemuntoni b8bb88063e remove memcpy from point_matching_scale.h 2021-10-19 15:06:28 +02:00
alemuntoni 9cb1a267fa fix octree.h, char -> unsigned char 2021-10-19 14:37:57 +02:00
alemuntoni 0bb69855d9 removed other memset 2021-10-19 14:33:26 +02:00
alemuntoni 341148b961 fix matrix44, remove memset from octree.h 2021-10-19 14:16:53 +02:00
alemuntoni da77800d02 remove memset from simple_temporary_data and matrix44, remove old_matrix 2021-10-19 12:45:05 +02:00
alemuntoni 5e17997b37 remove memset from meshtree.h 2021-10-19 12:14:31 +02:00
alemuntoni 70ac3d8248 remove memset from align_pair.h and marching_cubes.h 2021-10-19 11:57:02 +02:00
alemuntoni ca59ed7c8d modify links into eigen 2021-10-19 11:38:36 +02:00
alemuntoni 623f3600f3 eigen copyright mozilla homepage link substitution 2021-10-19 11:35:23 +02:00