Commit Graph

164 Commits

Author SHA1 Message Date
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 029aa3cdec removed the access to the face member function normal and substituted with vcg::normal(*f); 2005-10-13 08:38:00 +00:00
Federico Ponchio 1723bbf895 cFFp doesn not exist -> FFp (there is the const version...)
same for cVFp.
2005-10-12 17:26:19 +00:00
Paolo Cignoni ead8780772 Removed clearing of flags of added faces. Now the flag component has a constructor that clear it.
FF and VF adjacency are updated only if they are present and consistent (e.g. only if VFp(k) != 0 or FFp(k)!=0)
2005-10-12 10:47:21 +00:00
Paolo Cignoni c12401a795 Removed unused local type Edge. Now it use the standard simplex edge. 2005-10-12 10:36:26 +00:00
Paolo Cignoni d8e79083e0 Added new functions belonging to triMeshInfo
Started the Self-Intersection routine
2005-10-11 16:03:40 +00:00
Nico Pietroni b61d0de3b6 corrected bugs on GEtKClosestVert and GetInSphereVert 2005-10-05 17:02:52 +00:00
Paolo Cignoni 5182d24c7f fixed some bugs 2005-10-03 16:19:07 +00:00
Paolo Cignoni c37db42415 Minor changes 2005-10-03 16:00:08 +00:00
Paolo Cignoni 11a25b6957 Alligned with TriMeshInfo Code 2005-10-03 15:57:53 +00:00
Nico Pietroni 805b84bf43 added GetInSphere and GetInBox functions
rensmed Functions respectively with Face suffix or Vertex suffix for query on vertex or faces
2005-10-03 13:59:39 +00:00
Nico Pietroni e58a99de93 used functor defined in face/distance.h for distance point-face
used functor defined in intersection3.h for ray-triangle intersection
added GetKClosest and DoRay Functions
2005-09-30 13:10:37 +00:00
Paolo Cignoni 0fa8212a49 changed name of include, removed use of an undefined type (scalar instead of Scalar)
removed unused code portions (the old closest code)
2005-09-28 08:30:48 +00:00
Nico Pietroni a9c5d8fd42 Added RayIterators.
Added ClosestIterators on Triangles and Vertices.
Added Closest Functions on triangles and Vertices.
2005-09-21 09:24:30 +00:00
Nico Pietroni f569a25540 added ray iterator of faces 2005-09-19 13:36:24 +00:00
Paolo Cignoni c2e01165d6 Small gcc compliling issues 2005-09-16 11:53:51 +00:00
Paolo Cignoni e6739a6a71 fixed bugs 2005-09-15 13:16:42 +00:00
Nico Pietroni 417bf69fc3 minor changes 2005-09-15 11:15:00 +00:00
Nico Pietroni 3e89d13fea used closest function from grid 2005-09-14 12:56:47 +00:00
Paolo Cignoni f82f32c6a7 changed typedef A2UGridLink da 'GridStaticPtr<MESH::FaceContainer,double>::Link' a typedef 'GRID::Link' 2005-08-26 09:12:48 +00:00
ganovelli 831d12d4f6 added math:: namespace before min and max 2005-08-08 10:28:13 +00:00
Paolo Cignoni 287c4a1eaa Removed updating of normal when computing 'C' vertex: it should not be done here and could be dangerours if vertex type has not the normal. 2005-07-26 06:10:28 +00:00
Paolo Cignoni 44eb40324f small gcc-related compiling issues (typenames,ending cr, initialization order) 2005-07-11 13:16:34 +00:00
ganovelli 000b01a4ed set VertexBorderFromFace as static 2005-07-06 08:16:34 +00:00
Paolo Cignoni 57c08ade0f Initial commit 2005-07-06 08:02:27 +00:00
Paolo Cignoni 24a1c6f2eb Corrected for the fourth time line a cast to Facetype at line 341.
Read the notes there before changing it again
2005-07-01 11:22:00 +00:00
Paolo Cignoni 6bd92a9a1e Added option of passing a base mesh to Sphere for spherifying it 2005-07-01 11:17:06 +00:00
Marco Callieri 0d219f91b7 deleted a wrong declaration "typename typename" 2005-06-29 15:25:41 +00:00
Paolo Cignoni 53da9a97e1 Added missing Sphere function 2005-06-17 00:49:29 +00:00
Paolo Cignoni 0434c2512d Corrected the type name of wedge tex coords WedgeInterp in RefineE 2005-06-17 00:48:27 +00:00
Paolo Cignoni 3fce89c4c9 Added a PerVertexNormalizedPerFace (vertex are face/area weighted AND normalized) 2005-06-17 00:46:09 +00:00
Paolo Cignoni d09e9e039d Completed FaceBorderFromNone (and added a missing helper class) 2005-06-10 15:07:23 +00:00
ganovelli e865911042 two warnings on type cast 2005-06-09 14:14:29 +00:00
Marco Callieri a0b3813df9 in addfaces, added casting for face* returned from vertex.VFp() [borland] 2005-04-27 16:08:39 +00:00
Nico Pietroni dbb88409e3 added size of sampling parameter 2005-04-20 15:23:31 +00:00
Paolo Cignoni 16b0bd16c6 Minor changes 2005-04-01 13:04:55 +00:00
Paolo Cignoni 825c3b9a0c minor changes to comply gcc compiler 2005-03-30 17:18:13 +00:00
Paolo Cignoni 594087a963 minor changes 2005-03-23 13:49:04 +00:00
Paolo Cignoni 22ba690fda Wrong left parenthesis removed. 2005-03-23 13:22:57 +00:00
ganovelli c00bed83e6 cast int->iterator corrected 2005-03-23 11:29:49 +00:00
Paolo Cignoni 9d106c50c1 Minor changes 2005-03-18 16:38:36 +00:00
Paolo Cignoni b6b04faabc removed small gcc compiling issues 2005-03-17 16:16:08 +00:00
Paolo Cignoni eb117f8394 aggiunta funzione PasoDobleSmooth e relative:
- FitMesh
- FaceErrorGrad
- CrossProdGradient
- TriAreaGradient
- NormalSmooth

e le classi:

- PDVertInfo
- PDFaceInfo

necessarie per utilizzare SimpleTempData
2005-03-16 16:14:12 +00:00
Paolo Cignoni 9ca228b8fa Added missing include assert and improved comments and requirements of geodesic quality 2005-03-15 11:48:50 +00:00
Nico Pietroni 0467ee0a6f Fixed bug in Square 2005-02-25 11:41:08 +00:00
Nico Pietroni 8225d40cbb added #include<vcg/complex/trimesh/update/topology.h> use of update topology in refineE 2005-02-25 10:28:04 +00:00
ganovelli 05d89ee903 created. This version writes the gaussian curvature on the Q() member of
the vertex
2005-02-22 16:40:29 +00:00
Federico Ponchio cce86d42f8 reverted tarini mod 2005-02-19 10:43:11 +00:00
Nico Pietroni 0ebd1f6f91 optimized ( distance map are calculated 1 time each point) 2005-02-08 17:50:41 +00:00
Nico Pietroni 06adb386ad added if (!l->Elem()->IsD()) test on each element 2005-02-08 17:49:38 +00:00