korialis
d55c7aa215
fix typo in unused function
2021-11-26 16:34:23 +01:00
korialis
f2ba3e973e
cleaning of isotropic remeshing and small fix to adaptivity
2021-11-26 16:25:17 +01:00
Luigi Malomo
0c4e210bba
added PLY import support for vertex texture coordinates as double
2021-11-19 17:12:43 +01:00
Luigi Malomo
b9f865d39e
removed qt deprecation warning
2021-11-18 19:23:18 +01:00
Luigi Malomo
82ac1bdc87
remove 'using namespace std' also from comments
2021-11-17 23:36:06 +01:00
Luigi Malomo
3fbbf0e94f
Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel
2021-11-17 18:21:47 +01:00
Luigi Malomo
8bc75c8c4d
additional save to check nanoply possible inconsistencies in load/save behavior
2021-11-17 18:21:21 +01:00
alemuntoni
ad562ed9f1
fix samples after removing using namespace in header files
2021-11-17 17:48:00 +01:00
alemuntoni
8de019c1e3
removing using namespace std from header files
2021-11-17 17:39:01 +01:00
alemuntoni
6b44e8e23e
removing using namespace std from header files
2021-11-17 16:57:23 +01:00
alemuntoni
090e0e438e
removing using namespace std from header files
2021-11-17 16:42:24 +01:00
Luigi Malomo
22b9044222
cleaning
2021-11-17 15:43:42 +01:00
Luigi Malomo
2c1279f880
static assert for Eigen type conversion
2021-11-17 15:37:07 +01:00
Luigi Malomo
1fa21d2a64
more const correctness in Stat
2021-11-17 15:35:19 +01:00
Luigi Malomo
50f1d8961e
bugfix in Inertia Compute
2021-11-17 15:34:35 +01:00
Luigi Malomo
95f5550951
fixed const correctness for Inertia and some Stat functions + code cleaning
2021-11-17 15:12:21 +01:00
Luigi Malomo
bd1b1a937b
Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel
2021-11-17 14:52:10 +01:00
Luigi Malomo
9af7eb8158
code cleaning
2021-11-17 14:51:54 +01:00
korialis
b36ec50e35
removed unnecessary iheritance from deprecated std::binary_function
2021-11-16 15:36:42 +01:00
korialis
920ca0a932
fixed tetrahedra import_ply propdescriptor
2021-11-16 15:30:23 +01:00
korialis
5556f4184c
fixed some const correctness issues on tetrahedrons
2021-11-16 15:29:10 +01:00
Luigi Malomo
ba3e4370bb
added scalar * point operators + added correct normalize/normalized functions to points + some code cleaning
2021-11-12 19:27:30 +01:00
alemuntoni
aee9055ffe
fix append: polygonal faces with more than 3 vertices have always maximum 3 wedges...
2021-11-12 14:21:53 +01:00
alemuntoni
179b9360c5
Point3::normalized() is const and does not modify components
2021-11-11 11:37:57 +01:00
alemuntoni
be6b1dc641
Merge remote-tracking branch 'origin/devel' into devel
2021-11-05 16:02:39 +01:00
alemuntoni
d3acb9bd69
obj materials importer less restrictive when reads something unexpected
2021-11-05 16:02:24 +01:00
Luigi Malomo
7eaeb7bece
commented out per vertex curvature property (todo: decide how to handle complete removal)
2021-11-05 16:02:24 +01:00
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