| 65 | } |
| 66 | |
| 67 | virtual void write_mesh(const std::string& mesh_file, MeshPtr mesh, |
| 68 | bool in_ascii=false) { |
| 69 | MeshWriter::Ptr writer = MeshWriter::create(mesh_file); |
| 70 | if (in_ascii) writer->in_ascii(); |
| 71 | writer->write_mesh(*mesh); |
| 72 | } |
| 73 | |
| 74 | virtual void write_mesh_raw(const std::string& mesh_file, |
| 75 | const Eigen::Ref<const VectorF>& vertices, |