ViennaLS
Loading...
Searching...
No Matches
viennals::VTKReader< T > Class Template Reference

Class handling the import of VTK file types. More...

#include <lsVTKReader.hpp>

Public Member Functions

 VTKReader ()
 
 VTKReader (SmartPointer< Mesh< T > > passedMesh)
 
 VTKReader (SmartPointer< Mesh< T > > passedMesh, std::string passedFileName)
 
 VTKReader (SmartPointer< Mesh<> > passedMesh, FileFormatEnum passedFormat, std::string passedFileName)
 
void setMesh (SmartPointer< Mesh<> > passedMesh)
 set the mesh the file should be read into
 
void setFileFormat (FileFormatEnum passedFormat)
 set file format for file to read. Defaults to VTK_LEGACY.
 
void setFileName (std::string passedFileName)
 set file name for file to read
 
void apply ()
 

Detailed Description

template<class T = double>
class viennals::VTKReader< T >

Class handling the import of VTK file types.

Constructor & Destructor Documentation

◆ VTKReader() [1/4]

template<class T = double>
viennals::VTKReader< T >::VTKReader ( )
inline

◆ VTKReader() [2/4]

template<class T = double>
viennals::VTKReader< T >::VTKReader ( SmartPointer< Mesh< T > > passedMesh)
inline

◆ VTKReader() [3/4]

template<class T = double>
viennals::VTKReader< T >::VTKReader ( SmartPointer< Mesh< T > > passedMesh,
std::string passedFileName )
inline

◆ VTKReader() [4/4]

template<class T = double>
viennals::VTKReader< T >::VTKReader ( SmartPointer< Mesh<> > passedMesh,
FileFormatEnum passedFormat,
std::string passedFileName )
inline

Member Function Documentation

◆ apply()

template<class T = double>
void viennals::VTKReader< T >::apply ( )
inline

◆ setFileFormat()

template<class T = double>
void viennals::VTKReader< T >::setFileFormat ( FileFormatEnum passedFormat)
inline

set file format for file to read. Defaults to VTK_LEGACY.

◆ setFileName()

template<class T = double>
void viennals::VTKReader< T >::setFileName ( std::string passedFileName)
inline

set file name for file to read

◆ setMesh()

template<class T = double>
void viennals::VTKReader< T >::setMesh ( SmartPointer< Mesh<> > passedMesh)
inline

set the mesh the file should be read into


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