vcglib/wrap/io_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
..
additionalinfo.h missing ending newline 2008-02-22 21:00:22 +00:00
export.h added suppor of color in OFF format. 2008-04-15 10:38:12 +00:00
export_3ds.h removed outdated comment 2008-04-22 14:53:53 +00:00
export_dae.h Added missing license information 2008-07-12 06:12:46 +00:00
export_dxf.h Added comments for documentation 2006-11-21 19:23:50 +00:00
export_idtf.h covertInTGATextures-> covertInTGATextures and added a missing const qualifier 2008-02-10 09:41:40 +00:00
export_iv.h cr lf mismatch 2004-03-09 21:26:47 +00:00
export_obj.h Removed annoying unsigned vs signed warnings. 2008-06-29 22:44:44 +00:00
export_off.h added suppor of color in OFF format. 2008-04-15 10:38:12 +00:00
export_ply.h Removed Similarity from Shot 2008-09-26 17:05:49 +00:00
export_smf.h Removed garbage chars at the beginning of the file 2007-04-16 08:37:53 +00:00
export_stl.h remove harmless warnings 2008-07-02 13:31:00 +00:00
export_u3d.h usual experiments in the u3d exporting name files management 2008-03-22 07:27:09 +00:00
export_vmi.h minor changes for gcc compiler 2008-08-04 14:49:02 +00:00
export_vrml.h removed useless include 2008-02-27 23:35:56 +00:00
how_to_write_an_io_filter.txt first version 2006-11-16 09:44:35 +00:00
import.h * make EmptyRadius::HasRadius returns false 2008-10-15 08:02:14 +00:00
import_asc.h added management of optional quality 2008-07-19 05:25:55 +00:00
import_dae.h Removed a few warnings 2008-10-09 16:16:49 +00:00
import_obj.h fix tokenizeNextLine 2008-10-27 15:19:28 +00:00
import_off.h Improved robustness of parsing of malformed off 2008-10-16 14:32:37 +00:00
import_ply.h Changed an old FaceType::HasFaceQuality() into the tempory aware version HasPerFaceQuality(mesh) 2008-10-14 06:39:04 +00:00
import_ptx.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
import_raw.h add method for automatic hole filling.... 2006-12-04 12:01:23 +00:00
import_smf.h Added comments for documentation 2006-11-21 19:23:50 +00:00
import_stl.h corrected bug in the management of of multiple solid ascii stl files 2008-02-15 09:51:36 +00:00
import_vmi.h minor changes for gcc compiler 2008-08-04 14:49:02 +00:00
io_mask.h Add an optional per vertex radius property in occ, ocf, and IO mask. 2008-10-14 14:58:09 +00:00
io_material.h removed harmless warnings and added better support for transp materials 2008-07-02 13:28:37 +00:00
io_ply.h Restructured management of error, now the standard open for any mesh type return the error code, the default success value is zero 2004-06-23 15:36:57 +00:00