Commit Graph

20 Commits

Author SHA1 Message Date
Paolo Cignoni f15dcf5536 compacted the EmptyMark componenet into the EmptyColorMarkQuality component, to shorten the derivation. 2008-10-14 06:41:46 +00:00
granzuglia 5d25249427 removed a stupid reference (&) from function VN's return type 2008-10-08 15:11:38 +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
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
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
ganovelli c2e2b2cd0a changes to comply "plus" types 2007-05-04 16:44:06 +00:00
Paolo Cignoni 5ae948ea38 Added Visited flags 2007-03-27 09:22: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
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 f41e699da1 Increased the maximum number of possible template args from 8 to 9 2006-10-09 20:20:18 +00:00
Federico Ponchio 524fc2574c Added some documentation 2006-02-27 17:58:11 +00:00
Paolo Cignoni 51180b7d58 Increased the maximum number of possible template args from 7 to 8 2005-12-16 13:28:09 +00:00
Paolo Cignoni cfd778ec1b Added and removed typenames for gcc compiling.
Added this-> qualifier for referencing the elemntes of the templated base class
(e.g. to refer the possibly overridden flags())  it seems to be needed by the standard
2005-12-02 00:41:38 +00:00
Paolo Cignoni 293a23721d Added EmptyMark to base class
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 22:56:32 +00:00
Paolo Cignoni 19fd589795 Added ClearS and GetBBox 2005-11-12 18:42:18 +00:00
Paolo Cignoni 84866a3b0d First Really Working version 2005-10-14 13:26:57 +00:00
Paolo Cignoni 3bdaf481ea Initial commit 2004-03-05 11:26:15 +00:00