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
3fbbf0e94f
Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel
2021-11-17 18:21:47 +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
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
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
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
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
alemuntoni
08487711d6
better copy in simple temporary data
2021-10-20 18:36:34 +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
Paolo Cignoni
cdd0a520a9
Update curvature_fitting.h
...
updated curvature local, added callback
2021-10-14 23:02:13 +02:00
alemuntoni
3bb6cfc71a
missing include in complex/base.h
2021-10-14 17:06:30 +02:00
alemuntoni
9bdcf887f2
fix eigen compile error on curvature_fitting.h
2021-10-05 16:57:17 +02:00
Alessandro Muntoni
bda3161f46
Merge pull request #177 from gabryon99/devel
...
Devel: Add MeshTree and OccupancyGrid classes for Global Alignment
2021-09-17 14:05:37 +02:00
gabryon99
b98261e29f
fix meshtree params
2021-09-16 18:58:41 +02:00
gabryon99
3cd68269fd
replaced for with smart ones
2021-09-15 23:48:59 +02:00
gabryon99
6d7eeb4908
format occupancy_grid.h
2021-09-15 23:47:42 +02:00
alemuntoni
1980f1a775
curvature ocf const correctness
2021-09-15 15:15:28 +02:00
gabryon99
30f0383fc6
add ScalarType to OccupancyGrid and MeshTree
2021-09-14 17:47:56 +02:00
gabryon99
2b507b5540
add align_global.h
2021-09-14 15:37:52 +02:00