Commit Graph

99 Commits

Author SHA1 Message Date
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 da77800d02 remove memset from simple_temporary_data and matrix44, remove old_matrix 2021-10-19 12:45:05 +02:00
alemuntoni 70ac3d8248 remove memset from align_pair.h and marching_cubes.h 2021-10-19 11:57:02 +02:00
alemuntoni ab3b3b3c5a code cleanups - remove unneeded semicolons 2021-06-21 11:25:51 +02:00
alemuntoni 280245b70b hardcoded floats to Scalar; fix some warnings (#158) 2021-01-28 12:46:13 +01:00
Paolo Cignoni f38172157a Small typo corrected 2020-09-22 18:56:32 +02:00
korialis 6364f28aa6 quick fix for code referencing undeclared variable & trimesh from tetra border 2020-07-23 16:36:26 +02:00
alemuntoni 7e6bdb7106 alnParser in wrap/io_trimesh 2020-06-24 12:36:50 +02:00
alemuntoni f7871eed2d bugfixes and PR template 2020-04-17 16:44:23 +02:00
alemuntoni 5fa560e9e6 char -> signed char in mc_lookup_table.h 2020-02-26 19:19:50 +01:00
Paolo Cignoni d38b6b4a32 harmless warnings 2018-11-28 18:57:47 +01:00
Paolo Cignoni 91947c0f7e Restored the broken build...
Note that for sake of clarity in tetrahedra the boundary test on external face has been renamed as IsTTBorder

Moved the boundary mesh creation into a more appropriate place...
2018-10-25 07:43:53 +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
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 ba91309937 warning cleanup 2018-03-21 12:01:01 +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
nico 34cccaf7f0 corrected one bug In Oriented Cone
Must be traslated correctly to the origin before applying rotation
2017-12-28 15:19:42 +11:00
nico 17d89e705a added OrientedCone function and solved minor errors 2017-12-05 23:27:22 +11:00
Paolo Cignoni 005adde169 Cleaned up BuildMeshFromCoordVectorIndexVector 2017-07-23 09:32:51 +02:00
Paolo Cignoni c4d97c2c03 Huge reordering of header file inclusion order 2017-03-14 07:48:48 +01:00
Paolo Cignoni 32680eac28 Function Name Change FaceGrid -> SparseFaceGrid 2016-12-20 09:12:50 +01:00
Paolo Cignoni 5e03df37b7 Corrected bug in the BuildMeshFromCoordVectorIndexVector
And improved comment on usage
2016-12-05 13:04:51 +01:00
Paolo Cignoni 831639d819 Refactoring and cleaning of the plymc surface reconstruction algorithm 2016-11-24 17:13:35 +01:00
Paolo Cignoni cff044ca38 Header and namespace cleaning 2016-11-24 17:13:35 +01:00
Paolo Cignoni 22b633c9c2 Corrected bug of trivial walker when used on a sub volume 2016-11-24 17:13:35 +01:00
Paolo Cignoni 78254e94af First version of the plymc vcg surface reconstructor 2016-06-14 22:46:23 +02:00
Paolo Cignoni 95f6acd9fa moving plymc core from meshlab to vcglib 2016-06-14 19:30:34 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Paolo Cignoni a690c99fee Updated copyright disclaimer of the mc lookup table file after the explicit copyright transfer allowed by the original author of the file (Thomas Lewiner) 2016-06-13 05:28:31 +00:00
Paolo Cignoni 05f1e10d19 Removed unsupported emc 2016-06-13 05:23:20 +00:00
granzuglia 673be536c4 added missing include 2016-05-06 02:16:24 +00:00
Paolo Cignoni 7b89a1f125 Refactored a bit SuperQuadric functions (suggestion of David Cattermole) 2016-03-08 18:50:26 +00:00
Paolo Cignoni 4867a33379 corrected error in the formula of supertoroid: wrong radii usage 2016-02-17 11:11:19 +00:00
Paolo Cignoni b035dc8ba7 corrected surface orientation of supertoroid 2016-02-12 22:40:15 +00:00
Paolo Cignoni 3e1fdd802d Re-oriented torus so that it is created as expected on the xy plane and with the z axis symmetry 2016-02-12 07:02:44 +00:00
Paolo Cignoni 13951475e9 Added SuperEllipsoid and SuperToroid functions
Thanks to Antonio Nicoletti
2016-02-11 15:47:06 +00:00
Paolo Cignoni fc04c15046 Renamed the anonymous Build() functions to something more meaningful 2015-11-26 12:15:09 +00:00
Paolo Cignoni 874346d211 Removed unused typenames (with latest generation of compilers it become a warning as unused variables) 2015-09-24 16:41:34 +00:00
Nico Pietroni bb5288bcc0 templated SimpleVoxelWithNormal class to ScalarType 2015-09-14 12:03:47 +00:00
Paolo Cignoni 06040acbb0 Corrected small bug in compacting arrays after a torus creation. Also faces must be compacted... 2015-07-12 10:44:55 +00:00
Paolo Cignoni 571c59c180 Removed the old stupid limitation of FF requirement for creating a sphere 2015-03-24 17:42:32 +00:00
Paolo Cignoni cca512c266 Added parameters to control the cylinder refinement to the BuildCylinderVertexShell functions 2014-12-05 03:25:52 +00:00
Paolo Cignoni 9d89004760 Updated to reflect the Normal() -> TriangleNormal() change
Updated to reflect the changes to the UpdateFlags (new function names ::VertexBorderFromFaceAdj ::VertexBorderFromFaceBorder)
2014-11-12 00:14:23 +00:00
Paolo Cignoni c08ca27367 harmless warning 2014-08-28 01:56:28 +00:00
Paolo Cignoni a9202ed7db Added method BuildFromNonFaux to build an edgemesh composed by the "non faux edges". 2014-08-26 01:40:46 +00:00
Paolo Cignoni 9b519cb2b8 Added ValidCell check to manage invalid cell in the trivial_walker.
Corrected compiling error due to the derivation from a templated base class (a few "this->" required)
2014-08-23 01:35:15 +00:00
Paolo Cignoni 7285fadd53 updated the ball pivoting alg to the new kdtree 2014-08-23 01:31:16 +00:00
granzuglia 5e099ffd51 - SimpleVolume is now derived from BasicGrid<VOX_TYPE::Scalar> (change has been validated by Fabio Ganovelli) 2014-08-21 16:18:04 +00:00