Commit Graph

240 Commits

Author SHA1 Message Date
ganovelli 280f94069f added inclusion of tetra3.h 2005-01-12 11:10:34 +00:00
ganovelli 017714531b added InitVertexIMark 2005-01-12 11:06:54 +00:00
ganovelli 3edef6bc60 first partial porting: compiled gcc,intel and msvc 2004-12-11 14:53:19 +00:00
Paolo Cignoni 8ca248762a Moved param classes inside; added support for optimal placement and symmetric; added update heap also here (not only in the base class) 2004-12-10 01:07:15 +00:00
Paolo Cignoni a68494587c better comments 2004-12-10 01:04:42 +00:00
Paolo Cignoni 953c594401 better comments and removed logging 2004-12-10 01:03:53 +00:00
Paolo Cignoni 1380ee7712 added an inline and removed loggng 2004-12-10 01:03:15 +00:00
Federico Ponchio 0d7e92e11f Fixed memory leak... 2004-12-03 21:14:39 +00:00
Paolo Cignoni 96d8ae7ec0 Added a member with a cached copy of the floating Priority() value inside the HeapElem to optimize operator< in heap updating operator 2004-11-23 10:37:17 +00:00
Paolo Cignoni da6bf044f0 passed parameters by reference in many funcs and gcc cleaning 2004-11-23 10:34:45 +00:00
Paolo Cignoni 191168cc47 aggiunto vettore delle face sel, per poi ripulirle.... 2004-11-19 16:12:57 +00:00
Paolo Cignoni 1189399728 Added ModifierType::TriEdgeFlipOp 2004-11-05 10:03:47 +00:00
Paolo Cignoni 86f9e28e07 Initial commit 2004-11-05 09:57:18 +00:00
Paolo Cignoni 5bd4d8b2b1 Better Doxygen documentation 2004-10-28 00:56:44 +00:00
ganovelli 4337bba265 fftopology update branch commented (to finish) 2004-10-27 09:26:26 +00:00
ganovelli e3380d3702 pos to edge 2004-10-25 16:28:32 +00:00
ganovelli d9ed23f145 CHanged the PosTYpe into EdgeTYpe 2004-10-25 08:08:30 +00:00
ganovelli 4359486afc A vcg.::Pos was used to implement the collapse type. CHanged
to vcg::Edge
2004-10-25 07:07:56 +00:00
ganovelli 4d02036998 some inline function, logs on file (precompiler directive) 2004-10-25 07:02:56 +00:00
Paolo Cignoni f456dc361c removed FaceBorderFlags (already present in update/flags.h) 2004-10-20 07:33:10 +00:00
ganovelli 7903dc12a1 added ::FaceBorderFLags 2004-10-18 17:10:22 +00:00
Nico Pietroni 818428b69a added i#nclude <vector> 2004-10-14 15:08:04 +00:00
ganovelli 047ce8854e a VFDetach was missing 2004-10-12 15:43:26 +00:00
ganovelli 9e35226e77 first working version 2004-10-12 15:42:29 +00:00
ganovelli 2945a6bc0f added include of color4 2004-10-11 17:44:07 +00:00
ganovelli de4734d245 added camera and shot 2004-10-07 14:25:38 +00:00
ganovelli 2c7e862e83 moved from metro core 2004-10-04 15:32:16 +00:00
ganovelli f480f01a3f first working release 2004-10-01 18:54:22 +00:00
Federico Ponchio 560a0fd53b Added include <vector> 2004-10-01 15:58:00 +00:00
ganovelli 41a67b6db7 changed > to < in heapelem comparison 2004-09-29 17:08:39 +00:00
ganovelli 215aaa2e84 corrected error in -error (see localoptimization) 2004-09-29 17:08:16 +00:00
Paolo Cignoni 2bf024cfb7 Better Doxygen docs 2004-09-28 09:58:47 +00:00
Paolo Cignoni cad0037214 Corrected bug in cone 2004-09-24 10:14:38 +00:00
Paolo Cignoni 4d994bb786 Corrected bug in hexahedron 2004-09-22 15:12:38 +00:00
Paolo Cignoni 78f6f33bf2 Better Doxygen docs 2004-09-20 09:30:03 +00:00
Paolo Cignoni cca63f6527 Better Doxygen docs 2004-09-20 08:37:57 +00:00
ganovelli de4b5c1d43 changed P() to cP() 2004-09-15 11:20:15 +00:00
Federico Ponchio 4fede6a301 typedef LocalOptimization HeapType -> public: 2004-09-15 10:40:20 +00:00
ganovelli 26c2861e7a creation 2004-09-15 10:25:20 +00:00
ganovelli 90baf9fa1a first compilation version 2004-09-14 19:49:43 +00:00
Federico Ponchio fd22c90658 Typename changes for linux 2004-09-09 14:35:14 +00:00
Federico Ponchio 882e9a9b16 Header guards typo 2004-09-09 13:23:01 +00:00
Federico Ponchio 8d978173ef Linux compatible path in #include 2004-09-09 13:02:12 +00:00
ganovelli f6a162db55 changes for gcc 2004-09-08 15:15:05 +00:00
ganovelli 650e2a1314 changes for gc 2004-09-08 15:13:29 +00:00
ganovelli 9125ab4501 *** empty log message *** 2004-09-08 15:13:03 +00:00
ganovelli 4f63f0e95c *** empty log message *** 2004-09-08 14:33:31 +00:00
Nico Pietroni 6a8c2e29b0 in function do_collapse:
- set FF topology if exist
- corrected assignement of point p to vertex that remain after collapse
2004-09-07 15:41:57 +00:00
Nico Pietroni 9d9191918b added template parameter reference to himself type (used for extend it) 2004-09-07 15:40:04 +00:00
Paolo Cignoni 8c18db4e51 Replaced some typename definitions 2004-09-07 07:36:32 +00:00
Nico Pietroni 3367585465 defined mytype and used on updateheap and init functions to extend tri_edge_collapse 2004-09-02 10:06:18 +00:00
Nico Pietroni 638dfc64fb files moved to tetra_mesh path 2004-09-01 13:16:34 +00:00
Nico Pietroni cf20e1d0c1 minor changes to comply gcc compiler (typename's ) 2004-09-01 12:22:04 +00:00
Nico Pietroni c1b220e756 minor changes to comply gcc compiler (typename's ) 2004-08-31 15:18:54 +00:00
Nico Pietroni 60ac1e367b minor changes 2004-08-26 15:04:39 +00:00
Nico Pietroni fbdd47a6f5 corrected some errors and optimized... 2004-08-26 13:10:40 +00:00
ganovelli 0bbd5bb33b minor changes to comply gcc compiler (typename's and stuff) 2004-08-25 15:15:27 +00:00
Nico Pietroni 609e54082e changes private members (_Imark(), pos, priority) to derive and override is IsFeasible , Init and constructor functions, that can be used to define different kind of collapse (ex: to do not collapses on specified vertices) 2004-08-10 16:33:58 +00:00
Nico Pietroni cdcb34c3ee solved errors on AddFaces relative to VFp pointers of faces 2004-08-07 17:38:00 +00:00
Nico Pietroni a50d56742e addet testFFTopology and testVFTopology functions used to test the rispective topology.... 2004-08-07 16:18:20 +00:00
Nico Pietroni 6bb92793a6 corrected errors in AddFaces ( must be updated pointers to chain of faces of VFTopology) 2004-08-07 16:16:32 +00:00
Nico Pietroni 7f0b7037ac added addafaces funtion with local values 2004-08-05 16:44:06 +00:00
Paolo Cignoni 3cbbebedb7 First working version of the LocalOptimization/Simplification Framework 2004-07-27 09:46:15 +00:00
Paolo Cignoni ae8e3c0ce7 added a missing return value to Priority 2004-07-18 10:10:56 +00:00
Paolo Cignoni e0762e5b5e NewUserBit -> NewBitFlag 2004-07-18 06:55:37 +00:00
ganovelli c15f2fb66c minor changes 2004-07-15 12:04:14 +00:00
ganovelli 361126dcf7 access to imark added 2004-07-15 12:03:50 +00:00
ganovelli b2013c8ed6 VFb to VFp 2004-07-15 11:40:34 +00:00
ganovelli 6b76ff4570 IsDeleted to IsD 2004-07-15 11:39:24 +00:00
ganovelli 858b87d98b first working draft (trivial collapse) 2004-07-15 11:36:13 +00:00
ganovelli b5a8c54cb2 Vfb to VFp 2004-07-15 11:35:08 +00:00
Nico Pietroni 0f8de64388 correct use of tetra3 to map entities call funtions (ex Tetra3::VofE in Tetra::VofE) 2004-07-15 10:11:50 +00:00
ganovelli 21ddeb28cc *** empty log message *** 2004-07-15 10:01:44 +00:00
ganovelli e75eca830b moved 2004-07-15 09:57:52 +00:00
ganovelli b6e059a47b created 2004-07-15 09:52:07 +00:00
Paolo Cignoni d011d644dd Better doxigen documentation 2004-07-15 00:16:37 +00:00
mtarini 556364c751 Added an include (<algorithm>) 2004-07-09 15:48:37 +00:00
mtarini 1706a1a0b5 Dodecahedron added! (and doxigened a little bit) 2004-07-09 15:34:29 +00:00
ganovelli ba4965a409 changed to static class 2004-07-09 10:32:46 +00:00
ganovelli 90ef0ba4e7 major changes. Reorganized to be a wrapper for the edge_collapse to be used in the LocalOpimization routine 2004-07-09 10:28:57 +00:00
ganovelli cd84a47864 made it as a static class 2004-07-09 10:24:06 +00:00
ganovelli 44daf54e0f working draft 2004-07-09 10:22:56 +00:00
ganovelli 985d986623 addtetra corrected 2004-07-09 10:20:21 +00:00
ganovelli 336a9145bb added access functions to vn and tn 2004-07-09 10:18:49 +00:00
ganovelli bc3714ccf9 added access functions to vn and fn 2004-07-09 10:18:19 +00:00
Nico Pietroni cc537cd0dc deleted some function used to see aspect ratio media tetrahedrons collapsed 2004-07-08 08:39:56 +00:00
ganovelli 4676d87413 first draft 2004-07-08 08:25:15 +00:00
Paolo Cignoni 29b8f8ab5f removed assumption of a using namespace std and added a missing include 2004-07-06 06:29:53 +00:00
Paolo Cignoni 1dd0f30375 Added FaceBorderFromVF 2004-07-06 06:27:02 +00:00
Nico Pietroni b4765fb09e derived form abstract operator class for edge collapse 2004-06-25 11:33:13 +00:00
Nico Pietroni e03613d6cd define of abstract class of mofier operator for decimation 2004-06-25 11:31:49 +00:00
Nico Pietroni b19307fbf0 decimation and optimizator of tetrahedral mesh 2004-06-25 11:30:25 +00:00
Nico Pietroni e3e32237aa erased some error evalutation parameters function (added to deimation) 2004-06-25 11:29:21 +00:00
Nico Pietroni 8f3f11432f added function to access temporary mark for decimation 2004-06-25 11:27:21 +00:00
Nico Pietroni dff2dfb828 changrd update for a vertex normal functions void PerVertex(VertexType *v) 2004-06-25 11:25:07 +00:00
Paolo Cignoni f73edd3adb Better Doxygen documentation 2004-06-24 15:15:12 +00:00
Paolo Cignoni 4333c2177d Initial Release 2004-06-24 08:03:59 +00:00
Paolo Cignoni f7c2dae086 now use std::numeric_limits instead of old max val() 2004-06-24 07:56:54 +00:00
Nico Pietroni 5334ca63b7 *** empty log message *** 2004-06-18 11:49:47 +00:00
Nico Pietroni 831a570d0b modified some errors 2004-06-15 16:15:18 +00:00