vcglib/vcg/math
Paolo Cignoni 7befff7bec make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile
with both old and new version. The fixes include:
- dot product: vec0 * vec1 => vec0.dot(vec1) (I added .dot() to the old Point classes too)
- Transpose: Transpose is an Eigen type, so we cannot keep it if Eigen is used. Therefore
  I added a .tranpose() to old matrix classes, and modified most of the Transpose() to transpose()
  both in vcg and meshlab. In fact, transpose() are free with Eigen, it simply returns a transpose
  expression without copies. On the other be carefull:  m = m.transpose() won't work as expected,
  here me must evaluate to a temporary: m = m.transpose().eval(); However, this operation in very
  rarely needed: you transpose at the same sime you set m, or you use m.transpose() directly.
- the last issue is Normalize which both modifies *this and return a ref to it. This behavior
  don't make sense anymore when using expression template, e.g., in (a+b).Normalize(), the type
  of a+b if not a Point (or whatever Vector types), it an expression of the addition of 2 points,
  so we cannot modify the value of *this, since there is no value. Therefore I've already changed
  all those .Normalize() of expressions to the Eigen's version .normalized().
- Finally I've changed the Zero to SetZero in the old Point classes too.
2008-10-28 00:59:46 +00:00
..
base.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
camera.h qualifier Camera<S>:: removed in inline definition (thanks Oscar Barney) 2008-09-22 13:42:49 +00:00
deprecated_matrix.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
deprecated_matrix33.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
deprecated_matrix44.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
disjoint_set.h many gcc compiling issues 2006-11-07 17:22:53 +00:00
eigen.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
eigen_vcgaddons.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
factorial.h Added new line at the end of file 2008-08-04 15:55:53 +00:00
gen_normal.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
histogram.h added missing include limits 2008-03-06 10:45:39 +00:00
legendre.h chamged " to < in the #include 2008-09-22 09:35:01 +00:00
lin_algebra.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
linear.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
matrix.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
matrix33.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
matrix44.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
perlin_noise.h Corrected wrong license information in the header 2008-05-28 23:29:23 +00:00
point_matching.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
polar_decomposition.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
quadric.h make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
quaternion.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
random_generator.h [Namespaces changes] 2008-09-30 11:41:58 +00:00
shot.h Fixed small error in documentation 2008-10-24 18:49:40 +00:00
similarity.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
spherical_harmonics.h Spherical Harmonics are templatized on the number of coefficients 2008-10-08 14:01:34 +00:00