Mesh3DReader Class Reference
[Mesh loaders]

Mesh loader from Mesh3D format. More...

#include <mesh3d.h>

Inherits MeshLoader.

List of all members.

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

Detailed Description

Mesh loader from Mesh3D format.


Constructor & Destructor Documentation

Mesh3DReader::Mesh3DReader (  ) 
Mesh3DReader::~Mesh3DReader (  )  [virtual]

Member Function Documentation

bool Mesh3DReader::load ( const char *  file_name,
Mesh mesg 
) [virtual]

Loads the mesh from a file. Aborts the program on error.

Parameters:
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.

Parameters:
filename [in] The name of the file.
mesh [out] The mesh.

Implements MeshLoader.


Member Data Documentation

int Mesh3DReader::line_nr [protected]

The documentation for this class was generated from the following files:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3