ESyS-Particle  2.3.2
esys::lsm::MeshReader Class Reference

class to read triangle meshes from Finley mesh format files More...

#include <MeshReader.h>

Collaboration diagram for esys::lsm::MeshReader:

Classes

class  Impl
 implementation details for the mesh reader. Decouples Interface from implementation. More...

Public Types

typedef NodeReader::Iterator NodeIterator
typedef TriReader::Iterator TriIterator

Public Member Functions

 MeshReader (const string &)
 ~MeshReader ()
NodeIteratorgetNodeIterator ()
TriIteratorgetTriIterator ()

Private Attributes

Implm_impl_ptr

Detailed Description

class to read triangle meshes from Finley mesh format files

Author
Steffen Abe $Date$ $Revision$

Member Typedef Documentation

Constructor & Destructor Documentation

esys::lsm::MeshReader::MeshReader ( const string &  filename)

construct a mesh reader to read from file

Parameters
filenamethe name of the file to read from

References esys::lsm::MeshReader::Impl::initialise(), and m_impl_ptr.

Here is the call graph for this function:

esys::lsm::MeshReader::~MeshReader ( )

destroy a mesh reader. Closes all accociated files.

References m_impl_ptr.

Member Function Documentation

MeshReader::NodeIterator & esys::lsm::MeshReader::getNodeIterator ( )

return iterator for nodes in file/stream

References m_impl_ptr, and esys::lsm::MeshReader::Impl::m_node_reader_ptr.

Referenced by do_mesh(), main(), and CLatticeMaster::readTriMesh().

Here is the caller graph for this function:

MeshReader::TriIterator & esys::lsm::MeshReader::getTriIterator ( )

return iterator for triangles in file/stream

References m_impl_ptr, and esys::lsm::MeshReader::Impl::m_tri_reader_ptr.

Referenced by do_mesh(), main(), and CLatticeMaster::readTriMesh().

Here is the caller graph for this function:

Member Data Documentation

Impl* esys::lsm::MeshReader::m_impl_ptr
private

The documentation for this class was generated from the following files: