Commit Graph

740 Commits

Author SHA1 Message Date
T.Alderighi fb0684974a added isAnyB 2018-05-14 19:58:53 +02:00
T.Alderighi c92ccb5656 more bugs under gcc/clang 2018-05-11 12:10:39 +02:00
T.Alderighi 02bfeb2f67 fix typename errors 2018-05-11 11:42:45 +02:00
T.Alderighi 386dba9f64 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-05-11 11:01:21 +02:00
T.Alderighi 05764ee1c2 minor typos 2018-05-09 17:14:16 +02:00
T.Alderighi 25339718d9 small updates 2018-05-08 13:16:07 +02:00
Paolo Cignoni e78d9c252c Updated the pos to do not use crease stuff and added selection helpers for pos 2018-05-05 00:33:38 +02:00
Paolo Cignoni 8bb8e59218 Significant Change: FaceCrease bit removed and added FaceEdge Selection Bit
The Crease bit was never seriously used and in many cases we mis-used the faux edge bit at its place. Now has a more significant name  and can be used in practice to mark/select edges over a mesh (without explicitly storing them).
2018-05-05 00:32:26 +02:00
T.Alderighi 67a80722d5 removed tetra complex...bootstrapping tetra in trimesh:
base done
foreach done
Allocator done
Append done

quality selection topology WIP
clean todo
2018-05-04 18:12:02 +02:00
T.Alderighi b662f747a0 bootstrapping tetra as trimesh component 2018-05-04 12:08:32 +02:00
T.Alderighi b0384f68d1 stable allocate and tetra complex 2018-05-03 15:05:42 +02:00
T.Alderighi 13d79bc428 added color and quality 2018-05-02 20:23:48 +02:00
T.Alderighi 99fd7d61f7 working on component.h and allocate.h perm 2018-05-02 20:18:33 +02:00
T.Alderighi 1b61aba402 bootstrapping tetra 2018-05-01 17:02:47 +02:00
Gianpaolo Palma 9d78284193 Added HasVertexRef function 2017-12-07 13:53:24 +01:00
Gianpaolo Palma 83329d1737 Fixed wrong type 2017-12-07 13:52:49 +01:00
Luigi Malomo 52ab8a56a5 fixed build issue 2017-09-21 15:14:45 +02:00
Luigi Malomo ef0be79493 fixed bug in VEEdgeSplit 2017-09-21 12:06:39 +02:00
Paolo Cignoni 87b14b54af Added importdata in VEEdgeSplit so when we refine we copy the data (like color/quality) of an edge onto the new one 2017-09-07 19:01:05 +02:00
Paolo Cignoni 05df003e6f Added TriSplit helper function 2017-08-30 15:58:22 +02:00
Paolo Cignoni 16369d6006 Added useful face::WedgeAngleRad 2017-04-02 01:26:12 +02:00
Paolo Cignoni c630e4064d Added angle measuring function for a pos 2017-03-15 13:13:51 +01:00
Paolo Cignoni c4d97c2c03 Huge reordering of header file inclusion order 2017-03-14 07:48:48 +01:00
Paolo Cignoni 45c1e13800 Corrected IsEdgeManifold test function 2017-03-13 15:39:39 +01:00
Paolo Cignoni c0a99c8b3a Improved Documentation for FlipEdge 2016-12-20 09:12:50 +01:00
Guido Ranzuglia 90dc1657d2 - fixed a long list of possible crashes due to IsCurvatureEnabled calling IsCurvatureDirEnabled 2016-12-19 14:46:03 +01:00
Paolo Cignoni 428967ddac Added the check for un-initialized ff adjacency in an assert 2016-12-08 00:00:45 +01:00
nico b76aed2fa0 set the pointer to vertex as const 2016-07-15 15:00:14 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Nico Pietroni 97a0879676 added operator < 2016-05-01 15:33:34 +00:00
Paolo Cignoni b15c84c753 Added missing IsVEInititialized and VEClear 2016-04-11 20:41:34 +00:00
Paolo Cignoni 7d3175573a edge::VVStarVE now is templated on VertexType instead of EdgeType to avoid useless explicit template specialization 2016-04-11 20:34:18 +00:00
Paolo Cignoni a989737e26 Changed DihedralAngleRad to do not use precomputed per face normal (it already did for part of the computations) 2016-04-02 05:47:20 +00:00
Paolo Cignoni fd9cb58466 Commented out unused variable 2016-01-30 23:36:10 +00:00
Paolo Cignoni 1f22183b90 better comments (After some curses...) 2015-12-31 11:47:57 +00:00
Paolo Cignoni 79c9b988e7 better comments (After some curses...) 2015-12-31 11:47:37 +00:00
Paolo Cignoni 952913c1de correced the point-edge distance functor and added a pair of templated helper functions for edges (lenght and center) 2015-12-29 07:21:30 +00:00
Paolo Cignoni 6e7b2363bc Added many Vertex-Edge adjacency helper functions. Needed for simpler 1-manifold edge mesh processing
Degree, Edge-Collapse, Manifold testing, Detach/Append
2015-12-29 07:16:14 +00:00
Paolo Cignoni 75aeed8d04 Added scalar type definition in the edgetype once the vertexref is defined. 2015-12-03 22:53:16 +00:00
Paolo Cignoni a52a1484e6 Corrected bug in the VVExtendedStarVF . 2015-12-03 22:51:56 +00:00
Paolo Cignoni c600772f81 Removed useless 'typename's ignored by visual studio but blamed by clang 2015-10-29 07:52:56 +00:00
Gianpaolo Palma 684fe8d464 Fixed wrong typedefs in the per vertex CurvatureDir component (ScalarType).
Added missing typedef in EmptyCore.
Added typedef WedgeColorType and WedgeNormalType.
2015-10-26 12:52:44 +00:00
Nico Pietroni 3c38f44d30 minor change in VEStarVE 2015-10-19 08:48:44 +00:00
Nico Pietroni 50ab490cec minor change in VEIterator 2015-10-19 08:47:42 +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
granzuglia 9ab06cc9ef - removed dangerous assert 2015-07-30 12:32:22 +00:00
Nico Pietroni 2b8a829099 added NextCrease function to follows creases 2015-05-24 14:51:22 +00:00
Nico Pietroni 7aef00fb33 minor change in VFOrderedStarFF , the Pos is passed as const parameter 2015-05-24 14:50:47 +00:00
Luigi Malomo c2b6ba2390 fixed VertexRef component types for edge. 2015-03-25 15:25:07 +00:00
giorgiomarcias 882d54d6ae Fixed some memory leaks when using polygonal component for faces. Deallocations more stable and clear for each component, using also local dynamic memory deallocs. Changed Clear() method of TriMesh which guarantees perfect deallocations of faces' components. Fixed also CompactFaceVector which now deallocates faces before resizing the vector. In DeleteFace, not only the flag is set, but also the face's components are deallocated. 2014-12-15 15:36:37 +00:00