Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix savePolygonFile* ASCII file support #1445

Merged
merged 1 commit into from
Nov 22, 2015
Merged

Fix savePolygonFile* ASCII file support #1445

merged 1 commit into from
Nov 22, 2015

Conversation

VictorLamoine
Copy link
Contributor

Without the fix the following code outputs 2 binary files using VTK trunk:

  pcl::PolygonMesh mesh;
  pcl::io::loadPolygonFile("/home/victor/input.ply", mesh);
  pcl::io::savePolygonFile("/home/victor/output_1.ply", mesh, true);
  pcl::io::savePolygonFile("/home/victor/output_2.ply", mesh, false);

I think the VTK guys switched again from ASCII to binary default format somewhere between VTK 6.1 and VTK trunk, not sure when exactly. We already had that discussion here and here.

🐌 🐢

jspricke added a commit that referenced this pull request Nov 22, 2015
Fix savePolygonFile* ASCII file support
@jspricke jspricke merged commit 2676763 into PointCloudLibrary:master Nov 22, 2015
@VictorLamoine VictorLamoine deleted the savePolygonFile_ascii branch November 22, 2015 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants