Interface of a mesh writing service. More...
#include <arcane/core/IMeshWriter.h>
Public Member Functions | |
| virtual void | build ()=0 |
| Constructs the instance. | |
| virtual bool | writeMeshToFile (IMesh *mesh, const String &file_name)=0 |
| Writes a mesh to a file. | |
Interface of a mesh writing service.
Definition at line 37 of file IMeshWriter.h.
|
inlinevirtual |
Definition at line 41 of file IMeshWriter.h.
|
pure virtual |
Constructs the instance.
Implemented in Arcane::LimaMeshWriter, Arcane::MshMeshWriterService, Arcane::VtkLegacyMeshWriter, Arcane::VtuMeshWriter, and Arcane::XmfMeshWriter.
|
pure virtual |
Writes a mesh to a file.
The mesh file path must be writable and the directory must already exist.
| mesh | mesh to save |
| file_name | name of the mesh file. |
| true | in case of error |
| false | if everything is ok. |
Implemented in Arcane::LimaMeshWriter, Arcane::MshMeshWriterService, Arcane::VtkLegacyMeshWriter, Arcane::VtuMeshWriter, and Arcane::XmfMeshWriter.
Referenced by Arcane::LegacyMeshBuilder::_readMesh().