Paolo Cignoni
e353355f12
corrected a small syntax error introduced in the last commit
2014-04-17 13:53:55 +00:00
Paolo Cignoni
6e4edddcf5
Corrected a small syntax error in the last commit of point_sampling
2014-04-17 10:11:43 +00:00
Paolo Cignoni
d5e181b445
Heavily refactored 4PCS.
...
Some of the things done:
- better random generator
- small optimization (removed O(n) update bb
- exposed parameters
- renamed for uniformity variables.
2014-04-17 09:53:33 +00:00
Paolo Cignoni
4be7b59a80
Added TrivialPointerSampler to sample a mesh returning pointers to the chosen vertexes.
...
Added another poisson pruning wrapper to make even easier to choose a subset of vertexes from a mesh with good distribution.
2014-04-17 09:51:48 +00:00
Paolo Cignoni
03206b6bc4
Added a VectorConstDataWrapper to simply create a kdtree from a vector of point3f
2014-04-17 09:50:21 +00:00
Paolo Cignoni
dbe0d2b7f5
Wrapper to AddVertices() to add, with a single call, a single vertex with given coords and normal
2014-04-17 09:49:40 +00:00
Paolo Cignoni
309d1e3289
added a missing RequirePerFaceMark in the Marker Class
2014-04-17 08:51:53 +00:00
Paolo Cignoni
c280fd8e23
removed a leftover "solve" method. Use eigen...
2014-04-17 08:28:20 +00:00
Paolo Cignoni
7dbcb078e5
Standardized the generate method of the marsenne twister random generator in order to get also a unsigned capped random generation (like all the other generate() of the other random generators)
2014-04-17 08:19:06 +00:00
Paolo Cignoni
c085b7d6ba
Added a IPtoPfMatrix method to the grid class Returns the matrix that applied to a point in grid space transforms it in the original space.
2014-04-17 08:17:08 +00:00
Paolo Cignoni
612fd0d226
Derived the volume class from the basicGrid class to have all the helpers for transforming coords from voxel space to the original space
2014-04-17 08:15:18 +00:00
ganovelli
5a4b97a559
cleaning am some tuning
2014-04-16 10:29:05 +00:00
Paolo Cignoni
9f6d5f1d84
Completed the rewriting all the picking stuff. Now the default is NOT using OpenGL. And it is actually faster on all the machines I have tested...
2014-04-08 09:37:44 +00:00
Nico Pietroni
017e289d3e
added several instructions to close the stream on file once opened and read is complete
2014-04-08 08:35:17 +00:00
Paolo Cignoni
306c334877
Added PickFaceSW for selecting faces in a rectangular region.
2014-04-07 14:49:07 +00:00
Paolo Cignoni
bf1e2977d0
Corrected a wrong usage of IntersectionSegmentTriangle (could not compile...)
2014-04-07 14:48:16 +00:00
Paolo Cignoni
adfa6dde12
Added PickVertSW to offer an alternative for selection for hw that does not support opengl selection
2014-04-07 12:32:21 +00:00
Nico Pietroni
b87832a022
added PlanePointSquaredDistance function
2014-04-07 06:30:30 +00:00
Nico Pietroni
6071372992
some minor changes
2014-04-07 06:29:56 +00:00
Nico Pietroni
b400ca4b75
added Mirror function
2014-04-07 06:29:32 +00:00
Nico Pietroni
7bb5f1d041
resolved 1 bug in QualityEdgePredicate
2014-04-07 06:27:56 +00:00
Nico Pietroni
274a391b1a
resolved some compilation issues
2014-04-07 06:27:28 +00:00
granzuglia
8e321de2a8
- Paolo changed RequireTriangularMesh. I'm only committing the change
2014-04-01 15:09:25 +00:00
Paolo Cignoni
a3ad95f64e
Better management of placement of delaunay midpoint vertices when generating the delaunay triangulation and some constrained vertices are involved.
2014-03-27 16:48:32 +00:00
Paolo Cignoni
c3f7b86500
Some changes to the voronoi processing class. Now it performs Loyyd relaxation on constrained elements only keeping into account the constrained set. In other words sample on the boundary are relaxed only keeping into account of he other boundary vertexes This will result in much better distributions of samples on the boundaries.
...
Improved also boundary management in the refinement/spring relaxing.
Added a parameter for controlling the preprocessing refinment
2014-03-18 11:27:46 +00:00
Paolo Cignoni
185c0f7152
Converted to the use of the internal Index function to get the index of an element
2014-03-18 11:24:25 +00:00
giorgiomarcias
7a9b33fcc5
Corrected a bug which could happen because of memory not released.
2014-03-14 14:56:17 +00:00
giorgiomarcias
833cc12e38
Added a (useful) static method to split a given polychord into a number n>1 of polychords.
2014-03-11 15:06:07 +00:00
Nico Pietroni
4e4d5edeb7
some minor modification to give the possibility to specify the interpolation function for refinemenent
2014-03-07 16:32:06 +00:00
Nico Pietroni
335354fdca
corrected one wrong assert on FFlinkConditions
2014-03-07 10:36:12 +00:00
Nico Pietroni
9e2643a90d
corrected one bug during collapses.. have to check link conditions
2014-03-07 10:35:36 +00:00
Nico Pietroni
a6966b7ba0
first release version
2014-03-06 16:54:42 +00:00
Luigi Malomo
62ad64fdac
fixed bugs in the harmonic field computing algorithm
2014-03-05 13:14:48 +00:00
Paolo Cignoni
323362697a
Changed to trisplit to make it c++ 01 compliant
2014-03-04 17:18:03 +00:00
Paolo Cignoni
dc71da4424
removed useless print from voronoi parametrization
2014-03-04 00:53:39 +00:00
Paolo Cignoni
f4fde23bb2
updated the sample to the voronoi processing renaming
2014-03-04 00:52:46 +00:00
Paolo Cignoni
2744e1330f
Added new sample on voronoi processing
2014-03-04 00:41:54 +00:00
Paolo Cignoni
2254e98779
slightly improved comments and a missing requirement
2014-03-04 00:39:27 +00:00
Paolo Cignoni
a6cc8ccd56
Renamed voronoi_clustering -> voronoi_processing
2014-03-04 00:38:36 +00:00
Paolo Cignoni
5dcc53d63c
Heavyly restructured the voronoi processing class (to be renamed). See the new trimesh_voronoi sample how to use it in the correct way.
2014-03-04 00:37:01 +00:00
Paolo Cignoni
92d6da43d5
Added the possibility for the plain midpoint class to allow also the correct interpolation of userdefined data by providing, in the constructor, an interpolator functor that will be called for each new vertex to be created.
2014-03-04 00:35:44 +00:00
Paolo Cignoni
e042757e5a
Added another AddFace wrapper.
2014-03-04 00:31:49 +00:00
Paolo Cignoni
60c32eeeee
Better comment and renamed a template
2014-03-03 07:45:00 +00:00
Paolo Cignoni
62bd82e208
added one more control in AddFace
2014-03-03 07:44:03 +00:00
Paolo Cignoni
39f65b4d8f
Added some requireAttribute functions
2014-02-27 06:38:44 +00:00
Paolo Cignoni
e99ae117de
Harmless warning (unsigned vs signed int)
2014-02-25 17:40:36 +00:00
Paolo Cignoni
ce9c2c1661
Updated the use of eigen sparse matrix to the current official version (was using the old experimental branch)
2014-02-25 17:39:51 +00:00
Paolo Cignoni
f5701a9a85
Renaming for standard naming of samples
2014-02-25 16:49:23 +00:00
Paolo Cignoni
338cb9255c
Renaming for standard naming of samples
2014-02-25 16:47:24 +00:00
Luigi Malomo
4b243bf707
updated anttweakbar mapper
2014-02-24 18:30:47 +00:00