Commit Graph

71 Commits

Author SHA1 Message Date
ganovelli 4697eb936f typenames and definition added to compile with gcc. THe aprt of type querying temporarily commented out (to fix) 2008-09-30 10:34:27 +00:00
Paolo Cignoni e7c9656219 Corrected the ImportLocal function for most of the optional classess. Previous version did not check for the availability of the optional component before trying to import it. 2008-08-28 07:19:04 +00:00
ganovelli 523634a27b added const C(), corrected bug in ImportLocal of WT 2008-08-07 16:11:59 +00:00
Paolo Cignoni 1407af2537 removed harmless warnings 2008-07-09 10:31:55 +00:00
Paolo Cignoni 0c68c95685 added function IsF()/SetF()/ClearF() to check if a given side of the face is a feature/internal edge; are used by some importer to mark internal edges of polygonal faces that have been triangulated 2008-06-26 08:36:28 +00:00
ganovelli 1c8f9ed436 corrected: DumET DumFt and DumTT to DumClass (see derivation_chain.h) 2008-06-23 17:10:48 +00:00
ganovelli c7f76ab84b factorized, see vcg/container/derivation_chain.h 2008-06-23 14:22:32 +00:00
Paolo Cignoni f9538e9f56 added missing include 2008-03-18 14:29:01 +00:00
Paolo Cignoni 3d4222b231 Completed the garbage collecting functions CompactVertexVector and CompactFaceVector. 2008-03-11 09:22:07 +00:00
Paolo Cignoni 97c0bd9ffa Added FFpi methods and better init of texture coords 2008-02-28 15:41:17 +00:00
Paolo Cignoni a0cd1fc321 A small typo (a T:: instead of TT::) 2008-02-05 10:11:34 +00:00
ganovelli 0b53e968b8 typo in EmptyVertexRef corrected 2008-02-05 09:38:18 +00:00
ganovelli a39a42d2ca added ImportLocal which imports all local attributes into vertexplus and faceplus.
A local attribute is everything (N(), C(), Q()....) except pointers to other simplices
(i.e. FFAdj, VFAdj, VertexRef) which are set to NULL.
Added some function for const attributes
2008-02-04 21:26:49 +00:00
Paolo Cignoni 343df1c14c Important Change. Now GetBBox return a null bbox if called on a deleted face (instead of crashing) 2008-02-03 23:49:42 +00:00
Paolo Cignoni 8883301247 added assert when writing on empty data members 2008-01-28 08:42:51 +00:00
ganovelli b13473bdc7 missing const cVF added 2008-01-19 17:49:05 +00:00
ganovelli 5c97fd3dc3 added missing include to color4 2007-11-20 09:43:53 +00:00
Massimiliano Corsini 1e6b800880 remove signed/unsigned warning 2007-10-09 12:04:06 +00:00
Paolo Cignoni d26833fac1 Deleted redundant EdgePlane attribute: it is already defined in component_rt 2007-06-06 15:30:00 +00:00
Paolo Cignoni 38bb37185a removed useless typename 2007-05-29 14:00:26 +00:00
ganovelli c2e2b2cd0a changes to comply "plus" types 2007-05-04 16:44:06 +00:00
ganovelli a40dad5c08 standardized to component style 2007-05-04 16:16:40 +00:00
ganovelli 0b39edf945 added include to texcoor2 2007-05-04 16:16:04 +00:00
Paolo Cignoni 5ae948ea38 Added Visited flags 2007-03-27 09:22:11 +00:00
mtarini 84946de883 Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. 2007-03-12 15:42:11 +00:00
mtarini 22fd220c6f Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. 2007-03-12 15:37:19 +00:00
Paolo Cignoni 4e3c3c110e Added constructor to the VFadj component to comply to the allocator needs 2007-02-27 09:32:00 +00:00
ganovelli ffbd7ea55f added Name(std:vector<std::string>& n) that fills n with the names of the attribute of the face type 2007-02-12 19:01:23 +00:00
Paolo Cignoni 0ba87a93f0 commented UberP access method (syntax errors) 2007-01-18 01:29:48 +00:00
Paolo Cignoni 7f78cbb1d5 Added intialization of vertexRef to 0. 2007-01-11 10:22:39 +00:00
Paolo Cignoni 588582f470 Added FFp1 and FFp2 shortcuts 2006-12-06 00:08:57 +00:00
ganovelli ee863845d1 Cambiate Has*Opt in Has*Occ e aggiunti typedef per la compilazione di Occ 2006-12-04 11:00:02 +00:00
ganovelli 480c16bbfe aggiunte funzioni di override per Has* 2006-12-04 10:59:15 +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
Paolo Cignoni 865bb26e54 Corrected some errors in the reflections Has*** functions 2006-11-07 11:29:24 +00:00
ganovelli a44013b865 vesione 2005 compliant 2006-10-31 16:02:59 +00:00
ganovelli 3997779a97 added overrides to HasFFAddAdjacency and HasVFAddAdjacency 2006-10-27 14:15:10 +00:00
Paolo Cignoni 81e0f25754 Better managment of resize overloading when reducing the size of a vector 2006-10-16 08:49:29 +00:00
Paolo Cignoni 302e24189d first version 2006-10-13 14:11:49 +00:00
Paolo Cignoni 904814041d Added some missing Add***Ocf() for the default case. 2006-10-09 20:20:55 +00:00
Paolo Cignoni f41e699da1 Increased the maximum number of possible template args from 8 to 9 2006-10-09 20:20:18 +00:00
Paolo Cignoni dbe0a4d4cf Added missing const to EmptyFF 2006-10-07 09:59:42 +00:00
ganovelli ba17e043fc aggiunte wedge coord 2006-06-08 20:32:10 +00:00
Paolo Cignoni 0102ac5f9f missing std and other gcc detected syntax errors 2006-05-25 09:41:09 +00:00
Paolo Cignoni 30b1d99a4c Added Optional Mark 2006-05-03 21:37:02 +00:00
Federico Ponchio 40e4a353bd g++ compliance:
begin() -> (*this).begin() and for end(), size(), Base(), Index()
2006-02-28 11:59:55 +00:00
Federico Ponchio 524fc2574c Added some documentation 2006-02-27 17:58:11 +00:00
Paolo Cignoni 7c20ead0c3 Corrected HasPerWedgeTexture 2006-01-30 08:47:40 +00:00
Paolo Cignoni fa5979e2ac Added Initialization of Color in Vertex and Face Components 2006-01-09 13:58:56 +00:00
Paolo Cignoni 07f5fe7d42 Removed a syntax error (double >) in HasPerWedgeTexture/HasPerFaceColor 2006-01-05 15:46:06 +00:00