| 36 | } |
| 37 | |
| 38 | void NodeWriter::write( |
| 39 | const VectorF& vertices, |
| 40 | const VectorI& faces, |
| 41 | const VectorI& voxels, |
| 42 | size_t dim, size_t vertex_per_face, size_t vertex_per_voxel) { |
| 43 | Mesh::Ptr mesh = MeshFactory() |
| 44 | .load_data(vertices, faces, voxels, dim, vertex_per_face, vertex_per_voxel) |
| 45 | .create(); |
| 46 | write_mesh(*mesh); |
| 47 | } |
| 48 | |
| 49 | void NodeWriter::write_node_file(const std::string& filename, Mesh& mesh) { |
| 50 | const size_t num_vertices = mesh.get_num_vertices(); |
nothing calls this directly
no test coverage detected