Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

SimpleTetMeshReader.h

Go to the documentation of this file.
00001 #ifndef SIMPLETETMESHREADER_H
00002 #define SIMPLETETMESHREADER_H
00003 
00004 #include "SundanceDefs.h"
00005 
00006 #include "MeshReader.h"
00007 
00008 
00009 namespace Sundance
00010 {
00011 
00012   using namespace TSF;
00013   using std::string;
00014 
00015   using std::ostream;
00016 
00017   /** \ingroup UserLevelGeometry
00018    * Reads a 3D mesh that is stored in simple tet format
00019    */
00020 
00021   class SimpleTetMeshReader : public MeshReaderBase
00022     {
00023     public:
00024       /** Construct a SimpleTetMeshReader for reading from a given file */
00025       SimpleTetMeshReader(const string& filename)
00026         : filename_(filename) {;}
00027 
00028       /** read a mesh from the reader's file */
00029       virtual Mesh getMesh() const ;
00030 
00031     private:
00032       string filename_;
00033     };
00034 
00035 
00036 }
00037 #endif

Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by