Chaste
Build::
|
#include <MeshReader.hpp>
Public Member Functions | |
MeshReader () | |
~MeshReader () | |
vtkSmartPointer< vtkUnstructuredGrid > | GetMesh () |
void | SetFilename (const std::string &rFilename) |
void | Read () |
Static Public Member Functions | |
static boost::shared_ptr< MeshReader > | Create () |
Private Attributes | |
vtkSmartPointer< vtkUnstructuredGrid > | mpVtkMesh |
std::string | mFilepath |
Read a vtk unstructured mesh from file. This is a simple wrapper over the vtk unstructured grid reader.
Definition at line 48 of file MeshReader.hpp.
MeshReader::MeshReader | ( | ) |
Constructor
Definition at line 42 of file MeshReader.cpp.
MeshReader::~MeshReader | ( | ) |
Destructor
Definition at line 55 of file MeshReader.cpp.
|
static |
Factory constructor method
Definition at line 49 of file MeshReader.cpp.
vtkSmartPointer< vtkUnstructuredGrid > MeshReader::GetMesh | ( | ) |
void MeshReader::Read | ( | ) |
Do the read operation
Definition at line 78 of file MeshReader.cpp.
void MeshReader::SetFilename | ( | const std::string & | rFilename | ) |
Set the filename for the readers and writers
rFilename | the file name |
Definition at line 73 of file MeshReader.cpp.
References mFilepath.
|
private |
Path to the mesh file
Definition at line 58 of file MeshReader.hpp.
Referenced by Read(), and SetFilename().
|
private |
The mesh in vtk format
Definition at line 53 of file MeshReader.hpp.