Commit Graph

2721 Commits

Author SHA1 Message Date
Paolo Cignoni f2e6bfa8eb added HasPerVertexTexCoord ( mesh ) 2008-04-15 10:34:07 +00:00
Paolo Cignoni aa91e279c3 Added code to avoid swap of tex coords after flip. 2008-04-11 15:01:47 +00:00
Paolo Cignoni 81d6e1df96 Edge index of a pos is now E() and no more I() 2008-04-11 13:25:15 +00:00
Federico Ponchio 9cb9c1dace Fixed Axis. Due to quaternion changes. 2008-04-11 12:22:32 +00:00
Paolo Cignoni 4b43ac4de8 First working Version 2008-04-11 10:14:43 +00:00
Paolo Cignoni 36361be798 Big change. removed nexte.
Now the function is NextFE.
added find border function
2008-04-11 10:13:01 +00:00
Paolo Cignoni 0caa683764 better comments, renamed I() -> E()
removed wrong coherent function
2008-04-11 10:11:32 +00:00
Paolo Cignoni 5fa10cda23 made generic functions static 2008-04-10 11:09:34 +00:00
Paolo Cignoni fc917d5080 moved Index function from append to the allocate 2008-04-10 09:18:57 +00:00
Paolo Cignoni a68e2a247e New version of PlanarEdgeFlip::UpdateHeap method 2008-04-08 14:06:31 +00:00
Paolo Cignoni f240adbf08 Fixed bug in PlanarEdgeFlip::UpdateHeap method. 2008-04-08 13:53:15 +00:00
Paolo Cignoni c5a92fd4c0 added missing std:: 2008-04-08 09:51:15 +00:00
Paolo Cignoni a8e1f18844 Added TopoEdgeFlip class. Some refactoring. 2008-04-07 13:48:35 +00:00
Paolo Cignoni 598cb77fb6 Changed the edge split predicate, now it takes a pos instead of two pnts
Added quality interpolation
2008-04-07 12:58:48 +00:00
Nico Pietroni 517108e947 corrected 1 warning in DistancePoint3Box3 function 2008-04-07 10:26:10 +00:00
Nico Pietroni 3edf76179c added default constructor 2008-04-07 10:24:55 +00:00
Paolo Cignoni 65933201d7 Added texture topology computation 2008-04-07 08:20:26 +00:00
Paolo Cignoni de92614c18 FaceType::VerteType --> FaceType::VertexType 2008-04-06 08:55:16 +00:00
Paolo Cignoni c8317febdc added missing namespaces 2008-04-06 06:50:00 +00:00
Paolo Cignoni 8b7d16f29d added methods for computing various kind of curvatures indicator from the HK values 2008-04-04 13:13:55 +00:00
Paolo Cignoni 9799717a58 minor changes to the topology correctness checks 2008-04-04 10:27:34 +00:00
Paolo Cignoni 46096f6b64 Cleaned up names, now Kg() gives back Gaussian Curvature (k1*k2), while Kh() gives back Mean Curvature 1/2(k1+k2) 2008-04-04 10:26:12 +00:00
Paolo Cignoni 89a4321cdf added optional mark and cleaned up some nasty type bugs. 2008-04-03 23:15:40 +00:00
Paolo Cignoni 242e5ab82a compacted two pair of empty components to shorten derivation chains 2008-04-03 23:12:28 +00:00
Paolo Cignoni 0a367b89ba Increased the derivation chain lenght. God save the compiler patience! 2008-04-03 23:02:17 +00:00
Paolo Cignoni 9a31f6318d template the reorder functions on the vector types (for ocf) 2008-04-03 22:47:10 +00:00
Paolo Cignoni 9f5f1f9fd3 Added templated parameter in PlanarEdgeFlip to set quality function for triangles. 2008-04-02 19:32:26 +00:00
Paolo Cignoni 82976a2001 f->P(i) instead of f->V(i)->P() 2008-03-29 12:05:59 +00:00
Paolo Cignoni dfa921ff88 Refactoring in the code written to retrieve four vertexes around the edge to flip 2008-03-26 15:01:44 +00:00
ganovelli 929c3d3276 fixed bugs sign of principal direction and mean curvature value 2008-03-25 11:00:56 +00:00
Paolo Cignoni 4b769a4e8a added yet another combination of unsigned/signed elements in faces specification to comply to mathematica ply's 2008-03-22 10:24:44 +00:00
Paolo Cignoni 1d7ca87fe2 usual experiments in the u3d exporting name files management 2008-03-22 07:27:09 +00:00
Paolo Cignoni 4bd2caa2e6 improved comments 2008-03-21 16:09:02 +00:00
Paolo Cignoni 0af424701d Added doxygen documentation 2008-03-21 16:08:43 +00:00
Paolo Cignoni 3e090a41ff Added a test to avoid degenerative flip which produce two identical overlapping faces.
Little code refactoring.
The planar swap now try to improve the average quality of faces, instead of improving the quality of the worst face.
2008-03-20 15:45:54 +00:00
Paolo Cignoni c2bec8758d Added safer way of computing the quality histogram, robust in the case the mesh contains some outlier value (very high or very low) that makes the choice of the beginning interval wrong 2008-03-19 05:24:39 +00:00
Paolo Cignoni 0a8997ef8d removed vertex color and vertex normal from the capabilities of this format. They are not safe 2008-03-19 05:21:57 +00:00
Paolo Cignoni f9538e9f56 added missing include 2008-03-18 14:29:01 +00:00
Paolo Cignoni 633e7b97e4 added quality parameter 2008-03-18 11:26:45 +00:00
Paolo Cignoni d014eae1bc added color interpolation to butterfly 2008-03-18 10:31:47 +00:00
ganovelli bd36c63923 added curvature and curvatruredir (compiled .net 2005 and gcc) 2008-03-17 11:39:15 +00:00
ganovelli b457b0c978 removed printf 2008-03-17 11:36:37 +00:00
ganovelli 8a265c9d32 taubin and desbrun estimates added (-> see vcg/simplex/vertexplus/component.h [component_ocf.h|component_occ.h ] 2008-03-17 11:29:59 +00:00
ganovelli 4e7d6a2765 adding of Curvature, compilation with GCC 2008-03-17 11:26:40 +00:00
ganovelli 84adadf680 adding of Curvature, compilation with GCC 2008-03-17 11:25:27 +00:00
Paolo Cignoni 35848b0a77 improved comments 2008-03-14 17:15:59 +00:00
Paolo Cignoni b768cce86c Added doxygen documentation 2008-03-14 16:54:34 +00:00
granzuglia 4725bc5aec added two missing include files:
1) #include <wrap/callback.h>
2) #include <wrap/io_trimesh/io_mask.h>
2008-03-13 08:48:10 +00:00
Paolo Cignoni 7c37f033e1 Added check on deleted faces in RemoveDegenerateFace 2008-03-11 14:16:40 +00:00
Paolo Cignoni 3d4222b231 Completed the garbage collecting functions CompactVertexVector and CompactFaceVector. 2008-03-11 09:22:07 +00:00