Commit Graph

325 Commits

Author SHA1 Message Date
Paolo Cignoni 52c3db40a7 Corrected push_back (did not worked at all!)
added missing cFFi
2006-01-04 18:46:25 +00:00
Paolo Cignoni dda2cfbcaa Corrected HasPerFaceColor and HasPerWedgeTexture to comply gcc 2006-01-03 10:54:21 +00:00
Massimiliano Corsini 009f633576 Rewrite SwapEdge to fix problems with borders 2005-12-19 13:47:26 +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
Massimiliano Corsini c334cebb47 Add some user bit 2005-12-16 11:42:23 +00:00
Massimiliano Corsini a088ee1ba6 Remove trivial warnings 2005-12-16 11:01:26 +00:00
Massimiliano Corsini c1ffab75de Add further comment to FlipEdge 2005-12-16 10:47:48 +00:00
Massimiliano Corsini 67dca7d9e6 Fix one bug 2005-12-16 10:43:23 +00:00
Massimiliano Corsini 8133c87819 Add CheckOrientation
Reimplement SwapEdge function
2005-12-16 10:29:10 +00:00
Massimiliano Corsini becbfab7da Replace Pos<FaceType> with PosType 2005-12-15 11:57:48 +00:00
Massimiliano Corsini fa45011ed9 Fix operators 2005-12-15 11:19:00 +00:00
Massimiliano Corsini bd8e59e0b4 Add constructor which takes as input a face and a vertex 2005-12-15 10:53:16 +00:00
Paolo Cignoni cb6757048f Corrected update function, now only the needed simplexes should be updated. 2005-12-12 11:17:32 +00:00
ganovelli f73fa19346 modifications to compile with gcc 2005-12-12 11:15:26 +00:00
Paolo Cignoni 7050635bd5 Removed spurious definition of flags in Aritymax that was overriding the correct definition in EmplyBitFlags and BitFlags classes 2005-12-05 15:58:10 +00:00
Paolo Cignoni b3db79d874 Reformatted and compacted flags code. 2005-12-02 00:44:41 +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 2d7b7a4532 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 23:54:59 +00:00
Paolo Cignoni 2587a22c49 Added HasFlags 2005-12-01 23:54:29 +00:00
ganovelli cc0e745c09 creation 2005-11-30 14:44:47 +00:00
Federico Ponchio 7f2aac509e Fixed some UberZ fuynctions and non defined _flags 2005-11-30 14:05:04 +00:00
Paolo Cignoni 13e9c8f264 Corrected a lot of bugs about the use of enabled entities 2005-11-26 00:16:44 +00:00
Nico Pietroni 7629e40b53 added cFFi function 2005-11-23 14:40:09 +00:00
ganovelli bb972b9ace changed IsBOrder 2005-11-23 13:04:26 +00:00
Paolo Cignoni 88753fa7bc Added intiailization of flags to zero in the constructor, 2005-11-22 23:58:03 +00:00
Paolo Cignoni c0a40ade47 removed two spurious computenormal 2005-11-22 15:49:39 +00:00
Paolo Cignoni dbc5a559c4 Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!) 2005-11-22 15:47:35 +00:00
Paolo Cignoni 019fb69c53 Changed HasColor -> HasFaceColor and HasNormal ->HasFaceNormal 2005-11-21 21:46:20 +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 ff27f8cdad Added some missing members to EmptyMark
Standardized name of flags. It is plural becouse each simplex has many flag.
2005-11-16 23:02:37 +00:00
Paolo Cignoni 47f1ceb215 Standardized name of flags. It is plural becouse each simplex has many flag. 2005-11-16 22:59:35 +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 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 4b7b1c1015 Added WedgeTexture component 2005-11-16 22:43:36 +00:00
Paolo Cignoni ce250c83a2 Added Incremental Mark 2005-11-14 23:50:57 +00:00
Paolo Cignoni e6db8b5c7d added missing cFFi 2005-11-12 18:43:14 +00:00
Paolo Cignoni 19fd589795 Added ClearS and GetBBox 2005-11-12 18:42:18 +00:00
Paolo Cignoni f8e4bf2c94 Added HasFlags and initialization of flags at construction. 2005-11-12 18:41:14 +00:00
Paolo Cignoni fab34558d7 Added dummy static member for avoiding annoying warning in empty functions... 2005-11-12 18:39:54 +00:00
Paolo Cignoni d3c1165fe6 Added 'Visited' flag functions 2005-11-12 18:36:51 +00:00
Paolo Cignoni fca4bdc2d5 Changed HasFlag -> HasFlags 2005-11-12 18:35:49 +00:00
Paolo Cignoni 4d952f8de7 Made IsManifold Constant 2005-11-10 15:49:32 +00:00
Paolo Cignoni 9bc80c05ea Added an assert(0) in all the accesses to empty components 2005-11-01 18:17:52 +00:00
Paolo Cignoni 9df077d22f Added intialization of _flags to zero in the default constructor of face 2005-11-01 18:16:36 +00:00
Federico Ponchio a9ed92f5f0 Tired of no newline at end of file warnings. 2005-10-26 21:22:11 +00:00
Paolo Cignoni 46cf45eda3 *** empty log message *** 2005-10-26 15:45:56 +00:00
Paolo Cignoni db81a6ef1f Added a missing ';' in FFAdjOcf (thanks to Mario Latronico). 2005-10-22 13:16:46 +00:00
ganovelli b586da1c64 EdgePLaneType added (_RT) 2005-10-18 14:27:22 +00:00
Federico Ponchio 69240d2ddc IsBorder(...) declaration needed. 2005-10-16 23:30:39 +00:00
ganovelli 0c0627ad11 Working release (compilata solo su MSVC), component_occ è migrato da component_opt 2005-10-15 16:24:10 +00:00
Paolo Cignoni ca26ad417e First Really Working version 2005-10-14 15:07:59 +00:00
Paolo Cignoni 71b34e6b95 Added constant access functions and reflective functions (HasSomething stuff)
to all the components This is the first really working version...
2005-10-14 13:30:07 +00:00
Paolo Cignoni 84866a3b0d First Really Working version 2005-10-14 13:26:57 +00:00
Paolo Cignoni 9d764b3a8c Added cVFp member 2005-10-14 13:25:50 +00:00
Paolo Cignoni 4be15d81cd Added ordered constructor that build a edge with unique ordering
among vertices (useful for edge-collapse simplification)
2005-10-14 12:34:55 +00:00
Paolo Cignoni b63a90172e Removed the reference to Deprecated f->IsBorder(i) now everyone should use IsBorder(*f,i); 2005-10-13 09:29:10 +00:00
Paolo Cignoni ff83bb3a24 Added cFFp and cVFp const member functions 2005-10-13 09:25:43 +00:00
Paolo Cignoni b84b47b5f1 Removed reference to IsBorder() member of face and substituted with the face templated function version. 2005-10-13 08:34:19 +00:00
Paolo Cignoni 69123d036e updated to the new naming scheme 2005-10-07 15:22:07 +00:00
Paolo Cignoni b166dd19da Initial release 2005-10-07 15:20:52 +00:00
Paolo Cignoni 0bf4c6a185 minor updates to keep it in line with the rest of the library 2005-10-07 15:20:00 +00:00
Nico Pietroni dae0988085 added getBBox method 2005-10-06 14:26:39 +00:00
Nico Pietroni 644fca68bf minor changes 2005-10-05 17:39:14 +00:00
Nico Pietroni de125d7f59 first release version 2005-10-03 14:13:13 +00:00
Paolo Cignoni a60af2bbb7 *** empty log message *** 2005-10-01 09:26:57 +00:00
Paolo Cignoni 957255b9a8 Major rewriting of the whole class edge. Removed default flags and nonsense attibutes. Given consistent naming to defines. 2005-10-01 09:22:51 +00:00
Nico Pietroni c19fce46a3 first release version 2005-09-30 12:51:39 +00:00
Marco Di Benedetto 36aedffa72 Added class PointDistanceFunctor. 2005-09-28 19:35:06 +00:00
Marco Di Benedetto 3a76ce3a01 Added const qualifier in GetBBox method. 2005-09-28 19:32:09 +00:00
Paolo Cignoni 2cfe4038ab *** empty log message *** 2005-09-14 14:32:35 +00:00
Nico Pietroni 93c310391e changed min calls to Min<ScalarType> of math.h of vcglib 2005-09-14 12:58:44 +00:00
Nico Pietroni e82ae93bf8 removed min definition generate warnings 2005-09-14 09:58:32 +00:00
Nico Pietroni f5b0b9f8f2 added definition of min function 2005-09-14 09:03:54 +00:00
Paolo Cignoni 2e895eaf22 Initial Commit. 2005-09-09 13:09:14 +00:00
ganovelli 8ca165bb98 template parametere Scalar removed 2005-07-15 15:45:51 +00:00
Paolo Cignoni e3b4ba1f45 Initial commit 2005-07-06 08:09:26 +00:00
Paolo Cignoni 38db49c827 first version 2005-07-05 11:26:09 +00:00
granzuglia 580e1eb075 new tetra type 2005-06-30 15:46:24 +00:00
ganovelli 3d0dee1073 *** empty log message *** 2005-06-30 10:16:11 +00:00
Paolo Cignoni d481f58234 Added a named typedef for the per wedge TexCoordinate 2005-06-17 00:43:34 +00:00
Paolo Cignoni 7761b396ab Initial Commit. 2005-05-17 13:42:25 +00:00
Nico Pietroni b12f308b33 *** empty log message *** 2005-04-28 12:55:41 +00:00
Nico Pietroni 966e1e52f0 *** empty log message *** 2005-04-26 09:36:17 +00:00
Paolo Cignoni 08f4270101 Initial Commit 2005-04-18 13:51:52 +00:00
Paolo Cignoni 1cb26bdfbd Created (Vertex-Face Topology And Incremental Mark). 2005-04-14 17:25:42 +00:00
Federico Ponchio 2328e5b1e4 *** empty log message *** 2005-04-14 11:35:09 +00:00
Nico Pietroni 82240231a0 Changed detach to FFdetach , compiled tested in manifold cases 2005-04-11 09:17:24 +00:00
Paolo Cignoni 0fc0f795c4 add FaceAFAVFNFQRT 2005-03-22 10:11:08 +00:00
Paolo Cignoni 9d106c50c1 Minor changes 2005-03-18 16:38:36 +00:00
Paolo Cignoni eda550ba49 minor changes to comply gcc compiler 2005-03-18 16:35:53 +00:00
Paolo Cignoni b4b7f45041 Removed NormalizedNormalV (out of standard and wrong) and
added the member functions Normal and NormalizedNormal() (just like for faces)
2005-03-18 00:13:45 +00:00
Paolo Cignoni 150036bb8b Initial Release 2005-03-15 01:28:46 +00:00
ganovelli f9ca9b6ad8 *** empty log message *** 2005-03-14 16:46:50 +00:00
ganovelli 6063b7526d *** empty log message *** 2005-03-14 16:36:59 +00:00
ganovelli eed72fadc4 _ffi was a 4 for positions vector (only 3 used) 2005-03-11 14:14:14 +00:00
Paolo Cignoni 7b5459a777 Wrote down the final right version of the naming rules (af and NOT fa) 2005-03-11 13:33:38 +00:00
Paolo Cignoni 88fb1680d2 Wrote down the final right version of the naming rules (af and NOT fa) 2005-03-11 12:11:36 +00:00
Paolo Cignoni d829ce7db6 Removed wrong named vertex and face configuration files 2005-03-11 12:10:59 +00:00
Nico Pietroni a4e78fa119 1 warning corrected added casting in const ScalarType EPSILON = ScalarType( 0.000001); 2005-02-02 16:44:34 +00:00