Skip to content

Commit

Permalink
Merge pull request #445 from kerautret/mesh2voxEdit
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo authored Feb 11, 2023
2 parents 5a01c53 + 9d72c4b commit 354fa2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# DGtalTools 1.4 (beta)

- *converters*
- mesh2vol: small fix to read generic mesh.
(Bertrand Kerautret [#444](https://github.com/DGtal-team/DGtal/pull/444))



# DGtalTools 1.3
Expand Down
2 changes: 1 addition & 1 deletion converters/mesh2vol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void voxelizeAndExport(const std::string& inputFilename,
trace.beginBlock("Preparing the mesh");
trace.info() << "Reading input file: " << inputFilename;
Mesh<PointR3> inputMesh;
MeshReader<PointR3>::importOFFFile(inputFilename.c_str(), inputMesh);
inputMesh << inputFilename.c_str();
trace.info() << " [done]" << std::endl;
const std::pair<PointR3, PointR3> bbox = inputMesh.getBoundingBox();
trace.info()<< "Mesh bounding box: "<<bbox.first <<" "<<bbox.second<<std::endl;
Expand Down

0 comments on commit 354fa2d

Please sign in to comment.