Commit Graph

4227 Commits

Author SHA1 Message Date
Luigi Malomo 15b1b778d4 added missing function for polygon face components 2021-04-22 20:49:12 +02:00
alemuntoni 3fd845e5b7 const correctness for polygonal mesh 2021-04-01 18:54:15 +02:00
alemuntoni 4c719ae5d0 Color4 ToUnsignedA8R8G8B8 function 2021-03-31 11:10:14 +02:00
Luigi Malomo 895f8b0d03 fixed bug in const copy of mesh attributes 2021-03-29 17:29:44 +02:00
Luigi Malomo 7973ee6b48 fixed weird constness 2021-03-29 11:55:47 +02:00
Luigi Malomo a41a1fb8dc Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel 2021-03-29 10:09:26 +02:00
Luigi Malomo 608e15562b improved π precision 2021-03-29 10:08:41 +02:00
alemuntoni ade2c49443 some cleanups 2021-03-25 18:13:41 +01:00
alemuntoni ad75e35593 codespell - see #92 2021-03-25 15:19:14 +01:00
alemuntoni adb799a0a2 fix const correctnes of face/component.h 2021-03-24 19:15:10 +01:00
alemuntoni d69e3e67cc cleanups 2021-03-24 17:59:53 +01:00
alemuntoni 8408a1a1d1 all complex.h files are self-sufficient 2021-03-24 17:47:49 +01:00
alemuntoni e36aa76fbd complex and simplex self-sufficient headers 2021-03-24 16:08:53 +01:00
alemuntoni 4f3162ece5 all included from used_types.h have been made self sufficient 2021-03-24 15:48:57 +01:00
alemuntoni 0b99eaa7b2 first complex.h files made self-sufficient 2021-03-24 14:53:00 +01:00
alemuntoni 34af1c91bd ConstPerMeshAttributeHandle 2021-03-23 16:52:56 +01:00
alemuntoni 94dc161edb ConstPerTetraAttributeHandle 2021-03-23 16:30:36 +01:00
alemuntoni 7f8260b0a4 ConstPerEdgeAttributeHandle 2021-03-23 16:20:31 +01:00
alemuntoni e0ccec2fc8 ConstPerFaceAttributeHandle 2021-03-23 16:12:04 +01:00
alemuntoni 7c601cc837 ConstPerVertexAttributeHandle 2021-03-23 15:27:13 +01:00
alemuntoni 3bfe5793f6 SimpleTempData DataBegin and const DataBegin 2021-03-23 13:15:24 +01:00
alemuntoni bf6c48f9be fix VectorNBW bool specialization with const 2021-03-23 12:59:45 +01:00
Luigi Malomo f83bdf0815 quick and dirty fix for polygon import from trimesh 2021-03-23 01:06:28 +01:00
alemuntoni 82ce871150 const GetAllAttributeHandle 2021-03-19 13:16:48 +01:00
alemuntoni 8f953efd04 CountBitLargePolygons const correctness 2021-03-19 12:16:01 +01:00
alemuntoni 3d0e74e472 stl const correctness 2021-03-18 18:30:54 +01:00
alemuntoni 0a2ed11ac2 (partial) ply const correctness 2021-03-18 18:21:59 +01:00
alemuntoni 5ced1eb198 face const correctness 2021-03-18 17:17:09 +01:00
alemuntoni 43e624c7ff using std::mt19937 2021-03-11 19:42:30 +01:00
alemuntoni b07c7d0894 fixes due to min/max... 2021-03-11 19:21:56 +01:00
alemuntoni 5d49dfd69b using urbg generator for std::shuffle 2021-03-11 18:57:18 +01:00
alemuntoni bff978189b switch to std::shuffle in point_sampling (std::random_shuffle deprecated) 2021-03-11 16:04:35 +01:00
Luigi Malomo 399ebd99ca const 2021-03-09 22:51:32 +01:00
Luigi Malomo 7a62fd2c7a fixed return type nonsense 2021-03-05 12:30:23 +01:00
alemuntoni de8569a483 random const correctness 2021-01-28 21:30:24 +01:00
alemuntoni 280245b70b hardcoded floats to Scalar; fix some warnings (#158) 2021-01-28 12:46:13 +01:00
alemuntoni 4b387c3f67 const correctness for user defined mesh attributes 2021-01-26 12:50:29 +01:00
alemuntoni f1fce45d92 toEigenMatrix functions matrix33 and matrix44 2021-01-21 14:45:05 +01:00
nico 14ee78649b Merge branch 'devel' of github.com:cnr-isti-vclab/vcglib into devel 2021-01-11 23:19:11 +11:00
nico 89997b915f corrected some interpolation numerical issue in InterpolateField3D 2021-01-11 23:19:04 +11:00
Luigi Malomo c4cb66234b minor changes to RotationMatrix of Matrix33 2021-01-10 02:04:04 +01:00
korialis 37adbd6434 slight mods to isotropic_remeshing 2021-01-09 12:36:35 +01:00
Luigi Malomo 27a4ad3049 added VEStarVE overload returning also vertex indices 2020-12-23 16:48:54 +01:00
korialis 14239a798a adaptivity over inrad/circumrad, will later add choice for adaptivity field 2020-12-22 19:21:58 +01:00
nico d991f12595 made unique the list of seeds to start from for isotropic remeshing in case of adaptive meshing 2020-12-19 17:23:29 +11:00
alemuntoni d18623b942 templated face quality type 2020-12-11 16:53:15 +01:00
nico a8bda725fb corrected star of faces around the borders so valence of singularities now is correct 2020-12-11 14:37:32 +11:00
nico 0a0a06268f added globally rotation per vertex UV coordinates 2020-12-11 14:36:13 +11:00
nico 4b2455fad4 corrected ccw order of faces for border vertices 2020-12-11 14:35:56 +11:00
Luigi Malomo b39c768c05 removed point sampling from polygonal_algorithms 2020-12-03 18:26:56 +01:00
Luigi Malomo 76442ee55f reverted the function VFOrderedStarFF as it needs further investigation 2020-12-02 21:33:00 +01:00
korialis c0e4cc9fc8 minor changes to isotropic + update to adaptive strategy 2020-11-27 10:44:04 +01:00
Luigi Malomo 141a27104e fixed nanoply warnings 2020-11-25 09:59:29 +01:00
nico b6bdb06b5f exposed the type of matrix as public 2020-11-25 17:50:22 +10:00
nico dcb7182d3f reversed the order of VFOrderedStar when it has found a border.. in order to be coherent with the others 2020-11-24 17:17:10 +10:00
nico 0ebdeb2bc9 added border singularity check 2020-11-24 17:16:17 +10:00
Luigi Malomo 6d2f4225dd added ToEigenVector functions to Point4 2020-11-23 16:49:40 +01:00
nico 19a7d7c672 Added the possibility to add some small border on each packed rectangle in PackAsObjectOrientedRect 2020-11-22 09:46:48 +10:00
nico d2b39eb0bb Added a signed measure of distortion to see Compresssion/Stretch 2020-11-22 09:46:04 +10:00
alemuntoni c7fd93063e default copy constructor and assignment operator in Point2 and Point3 2020-11-17 19:19:54 +01:00
korialis 527953434d bug fix on isotropic remeshing collapse strategy 2020-11-13 15:30:38 +01:00
alemuntoni a65010f34d enable required VFAdjacency on tmp mesh on SplitManifoldComponents 2020-11-12 18:56:06 +01:00
korialis 8409535255 minor changes in isotropic remesher 2020-11-12 16:38:56 +01:00
nico 0488a0242a added displacement of polygonal template position considering the fixed vertices 2020-10-31 22:10:05 +01:00
nico 36e8d80854 added IsD check in LaplacianPos Function 2020-10-29 14:51:31 +01:00
nico 36873e9a7a added IsD() check for each vertex 2020-10-29 14:35:04 +01:00
nico e807f54280 added IsD per face check on Computing Normal Function 2020-10-26 16:28:10 +01:00
Luigi Malomo d7cbcfa1dc removed all deprecated std::unary_function 2020-10-16 14:43:39 +02:00
Luigi Malomo 659d2d12f2 removed deprecated std::unary_function 2020-10-16 14:15:40 +02:00
Alessandro Muntoni 41351b9e72
Merge pull request #93 from alemuntoni/const_correctness_copy_mesh
const-correctness for copy from a const right Mesh
2020-10-16 13:38:02 +02:00
Luigi Malomo fb40a0f78a fixed const correctness and added point-segment distance on Segment2 2020-10-16 13:23:41 +02:00
Paolo Cignoni f38172157a Small typo corrected 2020-09-22 18:56:32 +02:00
Paolo Cignoni 7563d41062 Completed translation of comments 2020-09-22 18:55:56 +02:00
alemuntoni 62f16491ea missing include 2020-09-18 16:42:56 +02:00
nico 4a24451c08 corrected template types 2020-09-15 15:28:42 +02:00
alemuntoni 55b55abded foreach used in selection.h 2020-09-11 15:30:57 +02:00
alemuntoni 6f4e196236 templating callable function in foreachs to allow usage of lambdas 2020-09-11 15:09:02 +02:00
alemuntoni 8874b37858 clean selection.h 2020-09-10 17:01:05 +02:00
alemuntoni 09b12339c0 using ForEach. add const ForEach and ForEachHEdge 2020-09-10 17:01:05 +02:00
alemuntoni dc5b0649ee using range for in MeshAppendConst 2020-09-10 17:01:05 +02:00
alemuntoni 98ff47110d const correctness for make a copy from a const right Mesh 2020-09-10 17:01:05 +02:00
Paolo Cignoni 5c0a0f729b typo in comment 2020-08-21 08:38:59 +02:00
Paolo Cignoni e4a70bdf94 typo in comment 2020-08-21 08:38:30 +02:00
alemuntoni 3932ce448b const correctness mesh_to_matrix.h PerVertexArea 2020-08-07 13:04:04 +02:00
alemuntoni 96ad3c4f3a const correctneess mesh_to_matrix.h 2020-08-07 12:42:50 +02:00
alemuntoni f678fc8930 const correctness complex/base.h 2020-08-07 09:46:46 +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 fcdf421f47 align_pair sample working 2020-06-01 16:33:44 +02:00
alemuntoni 5b6d6ec767 first non-working align_pair sample 2020-06-01 10:13:19 +02:00
alemuntoni e5a15a2c48 solved compile error perfect_spatial_hashing 2020-05-29 17:26:25 +02:00
alemuntoni 4d57dde102 fix compile error assert 2020-05-29 15:21:38 +02:00
alemuntoni 64e352374a last implementations moved from meshlab 2020-05-29 15:18:33 +02:00
alemuntoni 074a89c588 more implementations imported from meshlab 2020-05-29 14:48:29 +02:00
alemuntoni a374e959ee more implementation and some refactoring 2020-05-29 13:20:57 +02:00
alemuntoni 6cd9d7aa91 refactoring 2020-05-29 12:18:41 +02:00
alemuntoni 74d417ac13 point_matching_scale moved to vcg 2020-05-29 12:17:10 +02:00
alemuntoni ec730298fa TMP: first move align_pair 2020-05-29 11:55:51 +02:00
alemuntoni 0caaf49d37 unuseful copy constructor box - deleted trackball assignment operator 2020-05-20 15:59:46 +02:00
nico f2ce7bdf69 added one more parameter in SmoothPCA to ignore some faces in the computation 2020-05-15 10:02:30 +10:00