Commit Graph

1315 Commits

Author SHA1 Message Date
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
ganovelli 21929c1bf4 DetachTTTopology 2005-06-28 12:00:13 +00:00
Federico Ponchio fe7fe4380d Fixed "lerp" function. 2005-06-24 12:21:48 +00:00
Paolo Cignoni 88792bfc33 Completed Shear Matrix code and comments,
Added use of swap inside Transpose
Added more complete comments on the usage of Decompose
2005-06-17 05:28:47 +00:00
Paolo Cignoni 8d51af2c92 Corrected small bug in SetRange (H was resized to n instead of n+1) 2005-06-17 00:54:55 +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 d481f58234 Added a named typedef for the per wedge TexCoordinate 2005-06-17 00:43:34 +00:00
Nico Pietroni 1f72e96683 minor changes 2005-06-15 11:44:47 +00:00
Nico Pietroni b855e951d7 updated with new spatial hashing version 2005-06-15 10:09:41 +00:00
ganovelli ccbfc728cb added include of algorithm 2005-06-14 14:27:00 +00:00
Federico Ponchio 60036b0e6e Minibug: Box2f -> Box2 in the template. 2005-06-14 13:46:20 +00:00
Paolo Cignoni d09e9e039d Completed FaceBorderFromNone (and added a missing helper class) 2005-06-10 15:07:23 +00:00
Paolo Cignoni 70574b6f7f Made inline PlyType specializations 2005-06-10 15:05:00 +00:00
Paolo Cignoni fe5d343fd0 Added Various missing functions: SetShearXY, SetShearXZ, SetShearYZ, SetScale for point3 and Decompose
Completed *=(scalar); made uniform GetRow and GetColumn
2005-06-10 15:04:12 +00:00
Paolo Cignoni c379550e2e Added include assert.h and cast to ScalarType for a pow in SetRange() function. 2005-06-10 14:59:39 +00:00
Paolo Cignoni bebc58f9b1 Changed a Zero in SetZero in WeightedCrossCovariance() 2005-06-10 14:51:54 +00:00
Nico Pietroni 47b654861c Added Norm Function 2005-06-10 11:46:49 +00:00
Paolo Cignoni 4ae07c24c1 Added typedef Histogramf and Histogramd 2005-06-09 14:19:55 +00:00
ganovelli e865911042 two warnings on type cast 2005-06-09 14:14:29 +00:00
ganovelli b14537dcff changed from Matrix33Ide to MatrixeeDiag 2005-06-07 14:29:56 +00:00
Federico Ponchio 6c1fdb3066 Added fabs() to variance, which can sometime be negative in case
of rounding errors (and sqrt chokes on it).
2005-06-07 09:37:33 +00:00
Paolo Cignoni 17fb55c9e0 Added Percentile and removed small bug in Add 2005-06-07 07:44:08 +00:00