Commit Graph

26 Commits

Author SHA1 Message Date
ganovelli 8198cf4c8b added HasFaceQualityOcf() to EmptyColorMarkQuality 2008-10-14 16:42:29 +00:00
Paolo Cignoni f15dcf5536 compacted the EmptyMark componenet into the EmptyColorMarkQuality component, to shorten the derivation. 2008-10-14 06:41:46 +00:00
Paolo Cignoni f30376e18d Added const qualifier to method cC() in Color class 2008-10-08 14:43:15 +00:00
ganovelli 0d4b3fbed0 [Polygon modification]
Added components to the face to handle generic polygons.
(compiled with .net and gcc)

This commit includes the following files:
vcg/complex/trimesh/base.h
Added deallocation of polygon data in the destructor

vcg/complex/trimesh/allocate.h
generalization from 3 to VN() vertices

vcg/complex/trimesh/update/topology.h
generalization from 3 to VN() vertices

vcg/complex/trimesh/update/flags.h
generalization from 3 to VN() vertices

vcg/simplex/face/pos.h
generalization from 3 to VN() vertices

vcg/simplex/faceplus/base.h
Added the method VN() to query the number of vertices
of the polygon (deafult 3) and methods Prev and Next

vcg/simplex/faceplus/component.h
added Alloc and Dealloc calls along the hierarchies
2008-10-08 09:10:53 +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 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
ganovelli 0b39edf945 added include to texcoor2 2007-05-04 16:16:04 +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 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
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 dbe0a4d4cf Added missing const to EmptyFF 2006-10-07 09:59:42 +00:00
Paolo Cignoni fa5979e2ac Added Initialization of Color in Vertex and Face Components 2006-01-09 13:58:56 +00:00
Paolo Cignoni c0a40ade47 removed two spurious computenormal 2005-11-22 15:49:39 +00:00
Paolo Cignoni 0d97fa92f5 Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!) 2005-11-21 21:44:47 +00:00
Paolo Cignoni 10daa05e85 Access to constant normal changed from by val to by reference 2005-11-18 15:44:51 +00:00
Paolo Cignoni 6f9a18897c Added IncrementalMark and WedgeTexCoord
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 22:58:17 +00:00
Paolo Cignoni e6db8b5c7d added missing cFFi 2005-11-12 18:43:14 +00:00
Paolo Cignoni ca26ad417e First Really Working version 2005-10-14 15:07:59 +00:00