vcglib/wrap/gl
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
..
addons.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 big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00
fbo.h First Commit. 2006-10-05 18:34:13 +00:00
gl_geometry.h added newline at end of file 2008-03-02 15:50:20 +00:00
gl_object.h removed non-portable inclusion of GL.h (on mac gl.h is in stupid places) 2008-10-15 10:11:39 +00:00
gl_surface.h Added a GLenum cast to suppress warning message. 2007-10-16 13:31:23 +00:00
glu_tesselator.h removed unused vars 2008-02-15 08:19:51 +00:00
math.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
pick.h Added cast for mac compiling 2007-02-22 09:17:56 +00:00
picking.h Added std:: prefix to advance call 2007-05-28 07:35:21 +00:00
pos.h adde vf iterator 2007-05-08 18:55:14 +00:00
shaders.h fix a typo in Program::Uniform() 2008-10-15 09:28:15 +00:00
shot.h Extrinsics.tra is now private, using Tra() 2008-10-24 16:37:24 +00:00
space.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
tetramesh.h typenames 2007-07-05 16:35:14 +00:00
trimesh.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