Commit Graph

152 Commits

Author SHA1 Message Date
Paolo Cignoni 5a2ed7b59d Corrected intialization of flag, must be zero. 2006-01-22 17:01:40 +00:00
Nico Pietroni cf9fd0ca9f added operators:
operator -= ( const Matrix33Diag<S>  &p )
           Matrix33  operator - ( const Matrix33Diag<S>  &p )
           Matrix33  operator + ( const Matrix33 &m )
           Matrix33  operator + ( const Matrix33Diag<S>  &p )
2006-01-20 16:41:44 +00:00
Marco Callieri e7b6fd9b9f in FileWrite, added file closing after finishing 2006-01-12 13:12:54 +00:00
Marco Callieri abbcfe10a9 corrected UnProject, it's necessary also a ZDepth value to perform inverse projection 2005-12-12 16:53:43 +00:00
Marco Callieri f6261d2a45 Added Unproject, from 2D local space + Zdepth to 3D camera space. Added ViewportToLocal, inverse of LocalToViewport 2005-12-12 16:52:55 +00:00
ganovelli 7229c77576 added diagonal matrix, outer produce and namespace 2005-12-12 11:25:00 +00:00
ganovelli dca1252d91 missing type added 2005-12-12 11:24:09 +00:00
Marco Callieri 1257fd3a4a added commodity function ProjectWorldtoViewport() to obtain directly pixel indices without calling two separate function of two different objects 2005-12-07 10:57:52 +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 6d5c0cd0f7 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 01:03:37 +00:00
ganovelli 29208970f0 added access to similarity (just for symmetry with Camera() ) 2005-11-23 14:18:35 +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
ganovelli 43b85e9405 created 2005-11-18 14:46:23 +00:00
Paolo Cignoni 0f7d072b0f Changed Invert -> FastInvert for the function based on the maple expansion 2005-11-14 10:28:25 +00:00
Federico Ponchio cf9d5743fb Added newline at end of file (tired of stupid warnings...) 2005-10-24 09:20:28 +00:00
Federico Ponchio a06ae78c6e Changed a Zero in SetZero in WeightedCrossCovariance() (again) 2005-10-13 15:45:23 +00:00
Federico Ponchio 5008465972 Added IsOrtho... 2005-10-12 16:43:32 +00:00
Nico Pietroni 7580221931 corrected sintax error on singular value decomposition 2005-10-05 17:06:12 +00:00
Paolo Cignoni 5ef378ec5a add define header 2005-10-03 16:19:44 +00:00
ganovelli 44e86f5a9b added inverse by SVD 2005-09-29 09:53:58 +00:00
Paolo Cignoni f8aafdd20d removed signed/unsigned warning 2005-09-16 11:51:23 +00:00
Paolo Cignoni 2c5c27e3fd First working version 2005-07-28 06:34:03 +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 bd4e3b01b0 Removed default values from the implementation of SetCavalieri and SetIsometric 2005-07-01 10:55:42 +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
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
ganovelli ccbfc728cb added include of algorithm 2005-06-14 14:27: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 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
ganovelli 5aea057836 Matrix33Ide Added: it implements diagonal matrix. Added only operator += in Matrix33 2005-05-23 15:05:26 +00:00
ganovelli c3db21bd39 tolto il const a interpolate 2005-04-17 21:57:03 +00:00
Federico Ponchio 59c1559e59 Typo: Point3 -> Point4 2005-04-15 09:19:50 +00:00
Federico Ponchio f766cf6773 *** empty log message *** 2005-04-14 17:23:08 +00:00
Federico Ponchio 2328e5b1e4 *** empty log message *** 2005-04-14 11:35:09 +00:00
Nico Pietroni 9cb3c240e6 changed swap to math::Swap in Traspose Function 2005-04-11 14:11:22 +00:00
Paolo Cignoni 1363b8c4a8 Added missing functions Avg, rms etc, now fully (almost) functional 2005-04-04 10:48:35 +00:00
Paolo Cignoni 825c3b9a0c minor changes to comply gcc compiler 2005-03-30 17:18:13 +00:00
Paolo Cignoni f8fb041641 minor bugs fixed 2005-03-18 16:31:02 +00:00
Paolo Cignoni 4c1f6e73b6 removed small gcc compiling issues 2005-03-18 00:14:40 +00:00
Paolo Cignoni 27694f7a67 Added operator*=( std::vector<PointType> ...) to apply a matrix to a vector of vertexes (replacement of the old style mesh.Apply(tr). 2005-03-15 11:40:56 +00:00
Paolo Cignoni c272706c18 Added missing include<vector> 2005-03-14 09:23:40 +00:00