|
MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Interface for mesh writer implementations. More...
#include <WriterIface.hpp>
Inheritance diagram for moab::WriterIface:Public Member Functions | |
| virtual | ~WriterIface () |
| virtual ErrorCode | write_file (const char *file_name, const bool overwrite, const FileOptions &opts, const EntityHandle *meshset_list, const int num_sets, const std::vector< std::string > &qa_records, const Tag *tag_list=NULL, int num_tags=0, int requested_output_dimension=3)=0 |
| Export mesh to a file. | |
Interface for mesh writer implementations.
Definition at line 34 of file WriterIface.hpp.
| virtual moab::WriterIface::~WriterIface | ( | ) | [inline, virtual] |
Definition at line 37 of file WriterIface.hpp.
{}
| virtual ErrorCode moab::WriterIface::write_file | ( | const char * | file_name, |
| const bool | overwrite, | ||
| const FileOptions & | opts, | ||
| const EntityHandle * | meshset_list, | ||
| const int | num_sets, | ||
| const std::vector< std::string > & | qa_records, | ||
| const Tag * | tag_list = NULL, |
||
| int | num_tags = 0, |
||
| int | requested_output_dimension = 3 |
||
| ) | [pure virtual] |
Export mesh to a file.
Method all writers must provide to export a mesh.
| file_name | The name of the file to create. |
| overwrite | If false, reader should fail if the file already exists. |
| meshset_list | A list of meshsets to export, or NULL if the whole mesh is to be exported. |
| num_sets | The length of meshset_list or zero if the whole mesh is to be exported. |
| qa_records | File history metadata |
| tag_list | Array of handles for tags to write. If null, write all tags. If non-NULL but num_tags is zero, write no tags. |
| requseted_output_dimension | The geometric dimension of the output mesh (coord values per vertex.) If zero, the dimension of the mesh as returned from Interface should be used. |
Implemented in moab::WriteNCDF, moab::WriteNC, moab::WriteCGNS, moab::WriteCCMIO, moab::WriteDamsel, moab::WriteSLAC, moab::WriteTemplate, moab::WriteAns, moab::WriteHDF5, moab::WriteSTL, moab::WriteGmsh, moab::WriteGMV, moab::WriteVtk, and moab::WriteSmf.
Referenced by moab::Core::write_file().