Commit Graph

997 Commits

Author SHA1 Message Date
Nico Pietroni 14d586206a corrected 1 bug in Cross Prod Gradient 2005-12-02 16:24:56 +00:00
Marco Callieri ee3d9a28e3 in Shot<S>::Axis changed Row3 to GetRow3 . row3 was the old method name of Matrix44 2005-12-02 16:14:35 +00:00
Paolo Cignoni 2d58480432 Corrected bug in == and != Matrix44 operators 2005-12-02 09:46:49 +00:00
Paolo Cignoni b3db79d874 Reformatted and compacted flags code. 2005-12-02 00:44:41 +00:00
Paolo Cignoni db9a497910 Forgotten a base deferencing like the previous one
Note also the different possible sintax with this-> instead of the base class name
2005-12-02 00:43:31 +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 03007bab77 Corrected typename usage and removed excess ';' from end of template functions, for gcc compiling 2005-12-02 00:30:27 +00:00
Paolo Cignoni 02e28cc9e5 updated the templates of BasicGrid 2005-12-02 00:29:00 +00:00
Paolo Cignoni 15e94d470a removed excess typenames 2005-12-02 00:27:22 +00:00
Paolo Cignoni 6a70c599b2 Added and removed typenames for gcc compiling.
Added base class qualifier for referencing the elemntes of the templated base class (BasicGrid)
it seems to be needed by the standard
2005-12-02 00:25:13 +00:00
Paolo Cignoni 703e2d7dce Added typenames, ending cr and removed a MAXFLT disliked by gcc 2005-12-02 00:20:32 +00:00
Paolo Cignoni 0e5890dd55 Removed some pointer vs iterator issues that prevented gcc compilation 2005-12-02 00:14:43 +00:00
Paolo Cignoni 97f3e98cd2 Added and removed typenames for gcc compiling.
removed also some template arguments specifcation that gcc disliked...
commented out GetInSphereFace and SetMesh that are probably never used and i didnt succeed in compile
2005-12-02 00:13:34 +00:00
Paolo Cignoni f7cdd877ef Added assert(HasFlags) everywhere.. 2005-12-02 00:09:12 +00:00
Paolo Cignoni aaa04175d3 commented out an old TRACE 2005-12-02 00:06:37 +00:00
Paolo Cignoni cf80db3c13 Added HasFlags and a couple of missing include files 2005-12-02 00:05:34 +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
Paolo Cignoni 86e2eae135 add:
GetClosestVertex,
GetKClosestVertex,
GetInSphereVertex,
GetInBoxVertex,
ClosestIterator
2005-12-01 15:01:17 +00:00
Paolo Cignoni 6d5c0cd0f7 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 01:03:37 +00:00
Marco Di Benedetto 9cb3bc6dbb Added std:: namespace for max() and min(). 2005-11-30 16:01:25 +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
Marco Di Benedetto 0b08afa4f8 Added (int) cast to std::distance to prevent compiler warning message. 2005-11-30 10:32:44 +00:00
Marco Di Benedetto f229a9e9e6 Added methods to flag visibility. 2005-11-30 09:57:13 +00:00
Paolo Cignoni 5a7a294202 Added missing < operator 2005-11-30 08:38:01 +00:00
Nico Pietroni 29b3da5541 New version of spatial structures used 2005-11-29 16:21:18 +00:00
Nico Pietroni 5daefc19ce added IsInside() function 2005-11-29 16:20:33 +00:00
Paolo Cignoni 13e9c8f264 Corrected a lot of bugs about the use of enabled entities 2005-11-26 00:16:44 +00:00
Paolo Cignoni 40dc547110 added HasPerWedgeTexture taking mesh as input. (needed for optional components) 2005-11-26 00:16:03 +00:00
Nico Pietroni e463843198 corrected CrossProdGradient( ) 2005-11-23 16:24:44 +00:00
Nico Pietroni 5397953b4b 1 warning corrected 2005-11-23 15:55:35 +00:00
Nico Pietroni 7629e40b53 added cFFi function 2005-11-23 14:40:09 +00:00
ganovelli 29208970f0 added access to similarity (just for symmetry with Camera() ) 2005-11-23 14:18:35 +00:00
ganovelli bb972b9ace changed IsBOrder 2005-11-23 13:04:26 +00:00
ganovelli 63b79da781 Empty constructor added, untemplated class Shotf and Shotd added
usage: Shotf myShot;
corrected member access rights
2005-11-23 11:58:52 +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 88662e6045 Completed and tested self-intersection routine 2005-11-22 14:04:10 +00:00
Nico Pietroni 7d8f6cfd5c last version of index spacing used 2005-11-22 12:50:57 +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 25d8f00263 First Release (not working!) 2005-11-21 15:58:12 +00:00
Paolo Cignoni 10daa05e85 Access to constant normal changed from by val to by reference 2005-11-18 15:44:51 +00:00
ganovelli 43b85e9405 created 2005-11-18 14:46:23 +00:00
Paolo Cignoni c86e0478f1 Removed Initialize use updateflags::Clear() instead. 2005-11-17 00:41:07 +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 896703158a Added missing includes (color and assert)
Added texture name members
2005-11-16 22:35:47 +00:00
Paolo Cignoni 4f523817c1 Changed ComputeSelfintersection 2005-11-16 16:33:23 +00:00
Paolo Cignoni cb35ae54ca Corrected small error in the ifdefs about USE_EPSILON_TEST and USE_TRI_TRI_INT_EPSILON_TEST 2005-11-16 16:04:40 +00:00
Paolo Cignoni 85109504ef Changed DegeneratedFaces, sets the D flags for each faces
that is found to be degenerated.
CounEdges and ConnectedComponents check now if a face IsD()
else for degenerated faces many asserts fail.
2005-11-15 12:16:34 +00:00
Paolo Cignoni f32fb12d03 Changed Volume Routine, before was returning negative values 2005-11-15 12:09:17 +00:00
Paolo Cignoni ce250c83a2 Added Incremental Mark 2005-11-14 23:50:57 +00:00
Paolo Cignoni 0f7d072b0f Changed Invert -> FastInvert for the function based on the maple expansion 2005-11-14 10:28:25 +00:00
Paolo Cignoni f5d1b6c337 changed access to face functions (border, area)
removed some typecast warnings
2005-11-14 09:28:18 +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 5a906c4a50 Added casts to remove warnings 2005-11-10 15:44:17 +00:00
Paolo Cignoni 73ca69b0b7 Added casts to remove warnings 2005-11-10 15:38:46 +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 4f73a93dd0 Added clarifying comment in an assert 2005-11-10 15:36:42 +00:00
Paolo Cignoni e739c6628f Added Abs and LowClampToZero 2005-11-09 16:11:55 +00:00
Nico Pietroni 9a29bd3f63 added dynamic spatial hashing class for dynamic updating of entries (and relative functions) 2005-11-07 14:15:36 +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
Marco Di Benedetto 329b7edb38 Added PASS_THROUGH flags. 2005-10-26 11:42:03 +00:00
Marco Di Benedetto 2579c02256 Removed child ordered traversal. 2005-10-26 11:41:07 +00:00
Paolo Cignoni 8f621b53ef correct IsBorder 2005-10-25 09:17:41 +00:00
Federico Ponchio cf9d5743fb Added newline at end of file (tired of stupid warnings...) 2005-10-24 09:20:28 +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
Marco Di Benedetto 7d23e4284b Fixed bug in Refresh() ray iterator (Elems.size() > 0). 2005-10-17 08:59:26 +00:00
Federico Ponchio 69240d2ddc IsBorder(...) declaration needed. 2005-10-16 23:30:39 +00:00
Marco Di Benedetto 56412a6071 Modified objapplyfunctor to nodeapplyfunctor. 2005-10-15 19:14:35 +00:00
Marco Di Benedetto 2a0cf74739 Corrected return type in Angle() and protected member access in unary operator - 2005-10-15 19:11:49 +00:00
ganovelli 0c0627ad11 Working release (compilata solo su MSVC), component_occ è migrato da component_opt 2005-10-15 16:24:10 +00:00
ganovelli 351bebdf50 *** empty log message *** 2005-10-15 16:22:22 +00:00
ganovelli 4f6abd65d7 Working release (compilata solo su MSVC), vector_occ è migrato da component_opt 2005-10-15 16:21:49 +00:00
Federico Ponchio f5a490079f Typename... as usual 2005-10-15 12:58:13 +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
Federico Ponchio a06ae78c6e Changed a Zero in SetZero in WeightedCrossCovariance() (again) 2005-10-13 15:45:23 +00:00
ganovelli b47b530549 versione con svd 2005-10-13 14:59:57 +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
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