Commit Graph

1388 Commits

Author SHA1 Message Date
Nico Pietroni caf5812fec added * operator to Link
modified getClosest in order to use Temporary mark
corrected bug on functor calling compilation
2005-09-14 09:05:32 +00:00
Nico Pietroni f5b0b9f8f2 added definition of min function 2005-09-14 09:03:54 +00:00
Marco Di Benedetto f170dc4a13 First Commit 2005-09-11 11:46:43 +00:00
Marco Di Benedetto 574063e052 First Commit 2005-09-10 13:22:44 +00:00
Paolo Cignoni 2e895eaf22 Initial Commit. 2005-09-09 13:09:14 +00:00
Marco Di Benedetto ff6ba606df Modified old GetClosest() to respect old min_dist semantic (in/out) and removed #included <limits> 2005-09-09 11:29:21 +00:00
Marco Di Benedetto f36832fbde #included <limits> for std::numeric_limits<ScalarType>::max() and corrected parameters bug in old GetClosest(); 2005-09-09 11:11:15 +00:00
Marco Di Benedetto 7aa52d9530 Modified GetClosest(): now it uses a functor for distance calculation.
Added comments and a GetClosest() method with backward compatibility.
2005-09-09 11:01:02 +00:00
Paolo Cignoni 193b7f8b49 Added scalar type specification in the typedef of MetroMeshGrid 2005-08-26 10:42:47 +00:00
Paolo Cignoni 3259439f67 Added a templated version of SetBBox 2005-08-26 09:27:58 +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
Nico Pietroni 47af92e51f renamed typedef VertexContainer into VertContainer (like trimesh) 2005-08-02 11:37:29 +00:00
Nico Pietroni 66921c752b exetended form BasicGrid, changed type of t in class Link (from Iterator to Pointer to the object) 2005-08-02 11:18:36 +00:00
Nico Pietroni 7bc4ef59fd added IPToP and IBoxToBox functions, modified BoxToIBox function in order to use PToIP function 2005-08-02 11:01:05 +00:00
Paolo Cignoni a96663b39e First working version 2005-07-28 08:41:00 +00:00
Paolo Cignoni 2c5c27e3fd First working version 2005-07-28 06:34:03 +00:00
Paolo Cignoni 875b913314 corrected error in GridP (did not compile) 2005-07-28 06:11:12 +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
ganovelli 3312583e86 glut.h --> GL/glut.h 2005-07-23 09:21:37 +00:00
Nico Pietroni a506fdf8c7 minor changes 2005-07-18 15:46:23 +00:00
Paolo Cignoni d34f797d3f Changed some feature in XMLPrint 2005-07-15 20:26:48 +00:00
Paolo Cignoni 4d5a938fb5 Added XMLTree functions: STILL TO FIX some tags 2005-07-15 20:23:39 +00:00
Marco Callieri bf23eca7be in SphereMode::Hit added a check on the sphere intersection, if no intersection, calculating distance could generate a NAN exception 2005-07-15 16:39:30 +00:00
ganovelli 8ca165bb98 template parametere Scalar removed 2005-07-15 15:45:51 +00:00
Paolo Cignoni c17ca589f0 File definition added 2005-07-15 11:30:26 +00:00
Paolo Cignoni 44eb40324f small gcc-related compiling issues (typenames,ending cr, initialization order) 2005-07-11 13:16:34 +00:00
Paolo Cignoni 2d2bbfb454 fix some bugs 2005-07-11 09:04:26 +00:00
ganovelli b8ef9d77a9 some comment 2005-07-07 13:33:52 +00:00
ganovelli 21bac43cd8 aggiornamento di alcuni path 2005-07-06 15:28:11 +00:00
ganovelli 000b01a4ed set VertexBorderFromFace as static 2005-07-06 08:16:34 +00:00
Paolo Cignoni e3b4ba1f45 Initial commit 2005-07-06 08:09:26 +00:00
Paolo Cignoni 57c08ade0f Initial commit 2005-07-06 08:02:27 +00:00
Paolo Cignoni 38db49c827 first version 2005-07-05 11:26:09 +00:00
Paolo Cignoni b537c21b4c Added a class BasicGrid with some utility function that are scattered among similar classes 2005-07-01 11:33:36 +00:00
Paolo Cignoni 09a5372051 Corrected many small c++ errors reported by gcc
removed unused variables
changed a stack of iterator into a stack of face pointers
2005-07-01 11:29:56 +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
Paolo Cignoni bd4e3b01b0 Removed default values from the implementation of SetCavalieri and SetIsometric 2005-07-01 10:55:42 +00:00
granzuglia 580e1eb075 new tetra type 2005-06-30 15:46:24 +00:00
Paolo Cignoni 701abb9c2c modificato:
- void  Cone(..)
 aggiustate le normali per avere un effetto piu' gradevole.
2005-06-30 13:20:32 +00:00
ganovelli 7df3a00426 *** empty log message *** 2005-06-30 10:32:21 +00:00
ganovelli 0c7caf4a75 added draw plane 2005-06-30 10:17:04 +00:00
ganovelli 3d0dee1073 *** empty log message *** 2005-06-30 10:16:11 +00:00
Marco Callieri 1b05420d2a changed intersection names to more specific to avoid ambiguity 2005-06-29 15:28:31 +00:00
Marco Callieri 0d219f91b7 deleted a wrong declaration "typename typename" 2005-06-29 15:25:41 +00:00
Marco Callieri 2e76236b31 changed the name of some intersection functions to avoid ambiguity 2005-06-29 15:22:26 +00:00
Paolo Cignoni e6feeb2e3d aggiunto:
- static void CavalieriProj( .. )
- static void IsometricProj( .. )

modificato:
- static void TransformGL( .. )
- static void SetSubView( .. )
2005-06-29 15:02:29 +00:00
Paolo Cignoni 494f6ccff7 aggiunto:
- l' enum dei tipi  PERSPECTIVE,  ORTHO, ISOMETRIC,  CAVALIERI
- inline void SetCavalieri(...)
- inline void SetIsometric(...)

- modificato
- void SetOrtho( .. )
2005-06-29 14:59:03 +00:00
ganovelli 42831cd32b added Matrix44Diag 2005-06-28 17:42:47 +00:00