vcglib/vcg/complex/trimesh
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
..
create make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
update make point2 derived Eigen's Matrix, and a set of minimal fixes to make meshlab compile 2008-10-28 00:59:46 +00:00
allocate.h [Polygon modification] 2008-10-08 09:10:53 +00:00
append.h Removed a few warnings and added a template keyword in the call of a templated function member. 2008-10-09 13:50:45 +00:00
autoalign_4pcs.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
base.h [Polygon modification] 2008-10-08 09:10:53 +00:00
clean.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
clip.h First Commit. 2006-05-02 14:17:36 +00:00
closest.h [Namespaces changes] 2008-09-30 11:41:58 +00:00
clustering.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
crease_cut.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
edge_collapse.h Added Allocator::DeleteFace and Allocator::DeleteVertex; Now the use of SetD() should be deprecated. 2007-10-16 16:46:53 +00:00
geodesic.h converted functions into static 2008-07-08 14:49:08 +00:00
hole.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
inertia.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
inside.h [Namespaces changes] 2008-09-30 10:52:37 +00:00
point_sampling.h corrected small bug in FaceSimilar 2008-08-14 14:19:29 +00:00
polygon_support.h Created. 2008-10-27 16:54:32 +00:00
refine.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
smooth.h Port to eigen2: state of the mess: 2008-10-27 19:35:17 +00:00
stat.h Added ComputePerFaceQualityMinMax() 2008-10-14 06:36:25 +00:00
subset.h compilation fix for 64bits systems 2008-10-24 12:41:50 +00:00
textcoord_optimization.h big replacement .Zero => .SetZero, and start of Eigen's compatibilities (currently disabled by default) 2008-10-27 14:48:14 +00:00