Commit Graph

624 Commits

Author SHA1 Message Date
ganovelli 124e8402ba IsBOrder (typecast on return type) 2004-10-25 08:22:40 +00:00
ganovelli 4f9a67327e added: constructor,Set and some minor changes. 2004-10-25 08:21:17 +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
Federico Ponchio 1a66972c51 return in operator+ added. 2004-10-22 14:41:30 +00:00
Federico Ponchio 942705dd10 m.element(x, y) -> m[x][y] 2004-10-22 14:35:42 +00:00
Federico Ponchio e99cb94a03 Created. 2004-10-22 14:35:11 +00:00
Federico Ponchio 29b2d65bb3 #include <...Point --> #include <...point 2004-10-22 14:29:40 +00:00
Paolo Cignoni a231b2137c Added CheckFlipEdge and FlipEdge 2004-10-22 13:41:06 +00:00
Paolo Cignoni cec4122f3a uppercase error in FACE_TYPE 2004-10-22 11:11:46 +00:00
ganovelli b21109bdfe first compiling version (MC,INtel,gcc) 2004-10-20 16:45:21 +00:00
Paolo Cignoni c8b9c96f29 Added constant access function FFp and renamed F1 F2 to FFp1 FFp2 2004-10-20 08:28:31 +00:00
Paolo Cignoni f456dc361c removed FaceBorderFlags (already present in update/flags.h) 2004-10-20 07:33:10 +00:00
ganovelli 33f19dc6df minor change 2004-10-18 17:15:45 +00:00
ganovelli eba78a7a10 error FFP -> FFp 2004-10-18 17:14:42 +00:00
ganovelli 22c677246e added ::IsBorder 2004-10-18 17:13:50 +00:00
ganovelli 7903dc12a1 added ::FaceBorderFLags 2004-10-18 17:10:22 +00:00
Paolo Cignoni 13190dfe88 Updated interface: all Matrix classes have now the same interface 2004-10-18 15:03:14 +00:00
Paolo Cignoni 77dc6537fa bug fixed in SingularValueBacksubstitution 2004-10-18 12:18:10 +00:00
Paolo Cignoni 1422c15f6f - Added SetDiagonal method
- Bug fixed in RowsNumber and ColumnsNumber
2004-10-18 12:16:57 +00:00
Paolo Cignoni 7767e4a63b Added SingularValueDecomposition method 2004-10-18 08:25:28 +00:00
Paolo Cignoni d403de71f8 Little fix on Jacobi() function 2004-10-15 14:17:53 +00:00
Paolo Cignoni 546d4d88e1 Initial commit 2004-10-15 13:44:09 +00:00
Nico Pietroni 818428b69a added i#nclude <vector> 2004-10-14 15:08:04 +00:00
Paolo Cignoni 2d18591782 Better Doxygen documentation 2004-10-13 12:45:51 +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 11b41d02f3 added definition of vector product (not implemented) 2004-10-11 17:46:11 +00:00
ganovelli f10b76771b added template on corrdinate type (default Point3) 2004-10-11 17:45:05 +00:00
ganovelli 2945a6bc0f added include of color4 2004-10-11 17:44:07 +00:00
Federico Ponchio 3532708a3a Fixed bug in init. 2004-10-09 13:48:02 +00:00
Paolo Cignoni 3c64d38fd1 Little fix on ViewPoint() method 2004-10-07 14:41:31 +00:00
Paolo Cignoni ec6ec72821 Remove glew.h include 2004-10-07 14:39:57 +00:00
ganovelli de4734d245 added camera and shot 2004-10-07 14:25:38 +00:00
ganovelli eaea30aa5e added LookAt,LookToward 2004-10-07 14:24:53 +00:00
ganovelli 23b83d0a7e added function to take rows and comlumns. Added toMatrix and fromMatrix to comply
RotationTYpe prototype in Similarity.h
2004-10-07 14:23:57 +00:00
ganovelli 30c9628f43 y axis reverse in projecting (!) 2004-10-07 14:22:38 +00:00
ganovelli 5d07b02cf6 templated on the kind of class used to implement rotation
(default is QUternion but it can be Matrix44 as well)
2004-10-07 13:55:47 +00:00
ganovelli 23a3ce597e added SetIdentity 2004-10-07 13:54:03 +00:00
ganovelli 4a28f05056 version 5-10-2004 in progress 2004-10-05 19:04:25 +00:00
Nico Pietroni b3a0c638cd changed Q() function 2004-10-04 17:07:58 +00:00
ganovelli 2c7e862e83 moved from metro core 2004-10-04 15:32:16 +00:00
ganovelli 11d5e8b4a8 minor chamges 2004-10-04 13:53:02 +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
Federico Ponchio 26980b3502 Added Distance shpere - point. 2004-09-29 13:55:33 +00:00
Paolo Cignoni db05ba4282 DUMMY classes definition moved into vcg namespace 2004-09-28 15:24:56 +00:00
Federico Ponchio 16d1909ad0 SetBox minimal change. 2004-09-28 10:25:05 +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
Federico Ponchio da556417cc Small bugs fixed. 2004-09-23 14:29:42 +00:00
Federico Ponchio 17623f1cbe Removed SetSafeBBox. SetBBox is now safe enough. 2004-09-23 13:44:25 +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 c97e11dbb8 re-creation 2004-09-15 22:58:05 +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
ganovelli 8bb2f10d57 created 2004-09-14 19:48:27 +00:00
ganovelli 6b328610fa removed "&" in FFp 2004-09-14 19:47:02 +00:00
ganovelli 66d136ed78 constructor added 2004-09-14 19:46:10 +00:00
Paolo Cignoni 08411ea403 Added polar to cartesian 2004-09-10 14:01:40 +00:00
Paolo Cignoni 359c3a841d Initial Update 2004-09-09 23:15:43 +00:00
Federico Ponchio dedf484388 forgotten typename SEGMENTTYPE::... 2004-09-09 14:41:32 +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
Paolo Cignoni c047097ff3 corrected ColorRamp code (template specialization) 2004-09-09 12:51:28 +00:00
ganovelli 6137d15e7e removed 2004-09-09 12:51:01 +00:00
ganovelli 11ed8f5715 created (changed from afvnvm) 2004-09-09 12:50:39 +00:00
Paolo Cignoni dea8a1e895 included stdio.h 2004-09-09 12:44:39 +00:00
Paolo Cignoni 53c55f2f4f added a 'template<>' to the specialized constructors from a enum 2004-09-09 08:39:33 +00:00
ganovelli 363a14700e minor changes for gcc 2004-09-09 08:39:29 +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
Paolo Cignoni 294af60c39 Corretto errore sintattico nelle specializzazioni parziali (float e char) di due costruttori di Color4 2004-09-03 13:58:48 +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
Paolo Cignoni 14a1c4c1e7 Aggiunte macro sin/cos/atan per C++ Builder 2004-08-31 15:42:59 +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 a7d6742fda added IsS() function 2004-08-26 13:15:23 +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 fe34dc9c78 vertex with normal FFtopology and temporary mark for decimation 2004-08-10 14:53:11 +00:00
Nico Pietroni d18f2f9f39 correcter .dir to .Direction and .ori in .Origin() 2004-08-09 09:48:43 +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 87b79eecad corrected errors on vfappend 2004-08-06 01:47:57 +00:00
Nico Pietroni 50b5c30d05 added VFAppend funtion 2004-08-05 22:27:00 +00:00
Nico Pietroni 7f0b7037ac added addafaces funtion with local values 2004-08-05 16:44:06 +00:00
Nico Pietroni f610bf209c added rey triangle intersections funtions 2004-08-04 20:55:02 +00:00
Nico Pietroni f458b067e7 first release 2004-08-04 20:53:54 +00:00
Nico Pietroni 64c5cb56cf corrected vfdatach and added vf append 2004-08-04 20:50:12 +00:00
Paolo Cignoni 8e71d0f5ae Removed warning about postfix incremnet of VFIterator 2004-07-27 09:49:23 +00:00
Paolo Cignoni c8d1e28f66 Added V() access function instead of V(0) 2004-07-27 09:47:49 +00:00
Paolo Cignoni 3cbbebedb7 First working version of the LocalOptimization/Simplification Framework 2004-07-27 09:46:15 +00:00
Paolo Cignoni 6b6ffccf46 Uncommented Add of matrix transformed bbox 2004-07-20 23:10:01 +00:00
Nico Pietroni 2ce9499498 corrected NormalizedNormalV function... 2004-07-20 15:24:53 +00:00
Paolo Cignoni ae8e3c0ce7 added a missing return value to Priority 2004-07-18 10:10:56 +00:00
Paolo Cignoni b143b27807 Removed two const modifiers from the VFIterator 2004-07-18 07:45:30 +00:00
Paolo Cignoni e0762e5b5e NewUserBit -> NewBitFlag 2004-07-18 06:55:37 +00:00
Paolo Cignoni b53fe209a1 Added the standard P() access function instead of the shortcut P0() 2004-07-15 13:22: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
ganovelli 4a57fadc00 minor changes 2004-07-15 11:31:59 +00:00
ganovelli 01f33c04ce overwritten previous version (it was a copy of base.h) 2004-07-15 11:31:06 +00:00
ganovelli 3edc5d70bf basefacetype to facetype 2004-07-15 11:28:44 +00:00
ganovelli 0243e21354 VFDetach corrected 2004-07-15 11:26:48 +00:00
ganovelli 16e27ee1e8 VFb moved to VFp, userbit to bitflag,setV, inclusion of pos.h 2004-07-15 11:25:01 +00:00
ganovelli db900ae484 added inclusion of point3.h 2004-07-15 11:01:43 +00:00
Nico Pietroni f7bd6ddb20 correct access to point funtions call in usage of triangle3 (ex. t.P(0) in t.P0(0)) 2004-07-15 10:17:42 +00:00
Nico Pietroni 9b76dfbd2b adde NormalizedNormalV funtion to compute the normal on a vertex 2004-07-15 10:13:48 +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
ganovelli aa4cdc3701 added function P(int i) to list the box's vertices 2004-07-15 09:47:55 +00:00
Paolo Cignoni d011d644dd Better doxigen documentation 2004-07-15 00:16:37 +00:00
Paolo Cignoni 2376184409 removed uppercase references in include 2004-07-13 06:48:30 +00:00
Paolo Cignoni dd9ebaba8e Initial Commit 2004-07-12 23:46:03 +00:00
Nico Pietroni ac215c4dbc added function NormalizedNormal 2004-07-12 12:17:09 +00:00
Paolo Cignoni 398a5a60cc Added a cast to remove a warning 2004-07-11 22:08:04 +00:00
mtarini 1f3fc8f9ce *** empty log message *** 2004-07-09 15:52:04 +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