Mesh loader from Mesh3D format. More...
#include <mesh3d.h>
Inherits MeshLoader.
Public Member Functions | |
| Mesh3DReader () | |
| virtual | ~Mesh3DReader () |
| virtual bool | load (const char *file_name, Mesh *mesh) |
| Loads the mesh from a file. Aborts the program on error. | |
| virtual bool | save (const char *file_name, Mesh *mesh) |
| Saves the mesh, including all refinements, to a file. Caution: never overwrite hand-created meshes with this function -- all comments in the original file will be lost. | |
Protected Attributes | |
| int | line_nr |
Mesh loader from Mesh3D format.
| Mesh3DReader::Mesh3DReader | ( | ) |
| Mesh3DReader::~Mesh3DReader | ( | ) | [virtual] |
| bool Mesh3DReader::load | ( | const char * | file_name, | |
| Mesh * | mesg | |||
| ) | [virtual] |
Loads the mesh from a file. Aborts the program on error.
| filename | [in] The name of the file. | |
| mesh | [out] The mesh. |
Implements MeshLoader.
| bool Mesh3DReader::save | ( | const char * | file_name, | |
| Mesh * | mesh | |||
| ) | [virtual] |
Saves the mesh, including all refinements, to a file. Caution: never overwrite hand-created meshes with this function -- all comments in the original file will be lost.
| filename | [in] The name of the file. | |
| mesh | [out] The mesh. |
Implements MeshLoader.
int Mesh3DReader::line_nr [protected] |
1.6.3