#include <MileninExporter.h>
Public Member Functions | |
MileninExporter () | |
MileninExporter (const std::string &file_name) | |
virtual | ~MileninExporter () |
bool | Init () |
bool | Init (const std::string &file_name) |
void | Free () |
bool | doWrite (const hHybridMesh *mesh) |
void | WriteVerticesCount (const int noVerts) |
void | WriteVertex (const double coords[], const uTind type) |
void | WriteEdgesCount (const int noEdges) |
void | WriteEdge (const ID verts[], const uTind type) |
void | WriteFacesCount (const int noFaces) |
void | WriteFace (const ID edges[], const uTind type, const int8_t bc, const ID neigh[]) |
void | WriteElementCount (const int noElems) |
void | WriteElement (const ID faces[], const ID neighbours[], const uTind type, const ID father, const int8_t ref, const int8_t material) |
MileninExporter::MileninExporter | ( | ) |
MileninExporter::MileninExporter | ( | const std::string & | file_name | ) |
MileninExporter::~MileninExporter | ( | ) | [virtual] |
bool MileninExporter::doWrite | ( | const hHybridMesh * | mesh | ) | [virtual] |
void MileninExporter::Free | ( | ) | [virtual] |
Frees all resources allocated by class during mesh export.
Reimplemented from MeshWrite::MeshFileWriter.
bool MileninExporter::Init | ( | const std::string & | file_name | ) | [virtual] |
bool MileninExporter::Init | ( | ) | [virtual] |
Initializes exporter. After this function call exporter should be ready for exporting the mesh. /return true if exporter initializes correctly, otherwise false. If this function doesn't succeeded exporting process is gently stopped and error is thrown.
Reimplemented from MeshWrite::MeshFileWriter.
/param coords array of vertex coordinates
void MileninExporter::WriteEdgesCount | ( | const int | noEdges | ) | [virtual] |
/param noVert Number of all vertices (global) in mesh.
Implements MeshWrite::IMeshWriter.
void MileninExporter::WriteElement | ( | const ID | faces[], | |
const ID | neighbours[], | |||
const uTind | type, | |||
const ID | father, | |||
const int8_t | ref, | |||
const int8_t | material | |||
) |
/param vertices array of indexes of vertices making this element /param neighbours array of indexes of neighbour elements
void MileninExporter::WriteElementCount | ( | const int | noElems | ) | [virtual] |
/param noElems Number of all elements in mesh.
Implements MeshWrite::IMeshWriter.
void MileninExporter::WriteFace | ( | const ID | edges[], | |
const uTind | type, | |||
const int8_t | bc, | |||
const ID | neigh[] | |||
) |
/param coords array of vertex coordinates
void MileninExporter::WriteFacesCount | ( | const int | noFaces | ) | [virtual] |
/param noVert Number of all vertices (global) in mesh.
Implements MeshWrite::IMeshWriter.
/param coords array of vertex coordinates
Implements MeshWrite::IMeshWriter.
void MileninExporter::WriteVerticesCount | ( | const int | noVerts | ) | [virtual] |
/param noVert Number of all vertices (global) in mesh.
Implements MeshWrite::IMeshWriter.