Commit Graph

42 Commits

Author SHA1 Message Date
Paolo Cignoni fc917d5080 moved Index function from append to the allocate 2008-04-10 09:18:57 +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 3d4222b231 Completed the garbage collecting functions CompactVertexVector and CompactFaceVector. 2008-03-11 09:22:07 +00:00
Paolo Cignoni 1f38a990b5 forgotten required std:: 2007-12-11 20:18:55 +00:00
Paolo Cignoni 7d6a210e75 Added the CompactVertexVector garbage collecting function. 2007-12-11 11:36:03 +00:00
Paolo Cignoni 12c8c9f3ff Added Allocator::DeleteFace and Allocator::DeleteVertex; Now the use of SetD() should be deprecated. 2007-10-16 16:46:53 +00:00
Paolo Cignoni f4d3561502 Added test in AddVertices to do not update un-initalized vert references (for newly allocated faces) 2007-01-11 10:24:25 +00:00
Paolo Cignoni 5670460684 Added check with the new end and avoided dangerous updating of already updated pointers 2006-11-29 15:58:50 +00:00
Paolo Cignoni d614e6baa5 Added default constructor with null initialization to adjacency members.
AddFaces and AddVertices NEED to know if the topology is correctly computed to update it.
2006-11-28 22:34:28 +00:00
Federico Ponchio cc5d4df4e8 Removed a couple of useless assert. 2006-11-13 13:12:27 +00:00
ganovelli 841b424b5c the calls to HasFFAdjacency e HasVFAdjacency have been changed to override them for the optional attributes (see vcg/complex/trimesh/base.h) 2006-10-27 11:06:29 +00:00
Paolo Cignoni 804c4aaf1c Added #include <assert.h> 2006-10-17 06:54:14 +00:00
Federico Ponchio b5f612153c usual typename missing 2006-10-02 09:31:47 +00:00
Paolo Cignoni 655ae0ce8b Fixed a few bug. 2006-09-29 15:11:41 +00:00
Paolo Cignoni aabba26c14 Removed a useless, wrong version of AddFaces 2006-09-29 14:40:22 +00:00
Paolo Cignoni a16d494cd5 fix bug end iterator++ 2006-02-28 12:22:48 +00:00
Paolo Cignoni baad6db4b9 fix bug end iterator++ 2006-02-28 12:13:49 +00:00
Paolo Cignoni e58bf0d711 Removed flags clearing (now it should be in the constructor of face and vertex) 2005-11-10 15:37:58 +00:00
Paolo Cignoni dee2e4f284 Re-inserted the cFFp and cVFp access. If only the const version of the member function exists, the compiler will call it
when a non-const object invokes that function
2005-10-13 09:32:11 +00:00
Federico Ponchio 1723bbf895 cFFp doesn not exist -> FFp (there is the const version...)
same for cVFp.
2005-10-12 17:26:19 +00:00
Paolo Cignoni ead8780772 Removed clearing of flags of added faces. Now the flag component has a constructor that clear it.
FF and VF adjacency are updated only if they are present and consistent (e.g. only if VFp(k) != 0 or FFp(k)!=0)
2005-10-12 10:47:21 +00:00
Paolo Cignoni 24a1c6f2eb Corrected for the fourth time line a cast to Facetype at line 341.
Read the notes there before changing it again
2005-07-01 11:22:00 +00:00
ganovelli e865911042 two warnings on type cast 2005-06-09 14:14:29 +00:00
Marco Callieri a0b3813df9 in addfaces, added casting for face* returned from vertex.VFp() [borland] 2005-04-27 16:08:39 +00:00
Paolo Cignoni 22ba690fda Wrong left parenthesis removed. 2005-03-23 13:22:57 +00:00
ganovelli c00bed83e6 cast int->iterator corrected 2005-03-23 11:29:49 +00:00
Federico Ponchio cce86d42f8 reverted tarini mod 2005-02-19 10:43:11 +00:00
mtarini 56609abbb0 aggiunto un typecast a (FaceType*) per farlo compilare under Mingw comp 2005-02-08 17:14:28 +00:00
Nico Pietroni 818428b69a added i#nclude <vector> 2004-10-14 15:08:04 +00:00
Paolo Cignoni 8c18db4e51 Replaced some typename definitions 2004-09-07 07:36:32 +00:00
ganovelli 0bbd5bb33b minor changes to comply gcc compiler (typename's and stuff) 2004-08-25 15:15:27 +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 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
ganovelli b2013c8ed6 VFb to VFp 2004-07-15 11:40:34 +00:00
ganovelli 2f4f632fc7 general comment: minor modifications to compile with g++. Almost all
insertions of "typename" keyword and new line at the end of file
2004-05-11 14:12:13 +00:00
Paolo Cignoni 95f6c410d7 Updated names of adj functions and added ending newline 2004-05-10 13:24:21 +00:00
ganovelli 5903e60ec7 #ifndef added 2004-04-21 14:06:10 +00:00
Paolo Cignoni a6269df8cd bug in update of VF adj 2004-03-31 14:43:56 +00:00
Paolo Cignoni 1416372b32 Corrected bug on the return of a wrong iterator 2004-03-12 15:25:29 +00:00
Paolo Cignoni 0556b33b65 Yet another cr lf mismatch 2004-03-03 15:35:53 +00:00
Paolo Cignoni f61873646f grouped documentation, changed typenames and reflection mechanism 2004-02-24 21:36:42 +00:00