OpenWalnut
1.5.0dev
|
Can read a look up table from a file in VTK format. More...
#include <WReaderMatrixSymVTK.h>
Public Member Functions | |
WReaderMatrixSymVTK (std::string fname) | |
Creates a reader object for look up tables. More... | |
void | readTable (std::shared_ptr< std::vector< double > > table) const |
Perform reading from the file. More... | |
Public Member Functions inherited from WReader | |
WReader (std::string fname) | |
Creates a read object for file reading. More... | |
OW_API_DEPRECATED void | setFileName (std::string fname) |
Reset the file name and checks if it exists. More... | |
void | setFilename (std::string fname) |
Reset the file name and checks if it exists. More... | |
Additional Inherited Members | |
Protected Attributes inherited from WReader | |
std::string | m_fname |
Absolute path of the file to read from. More... | |
Can read a look up table from a file in VTK format.
Definition at line 39 of file WReaderMatrixSymVTK.h.
|
explicit |
Creates a reader object for look up tables.
On parameter documention take a look into the WReader base class.
fname | file name |
Definition at line 41 of file WReaderMatrixSymVTK.cpp.
void WReaderMatrixSymVTK::readTable | ( | std::shared_ptr< std::vector< double > > | table | ) | const |
Perform reading from the file.
table | vector where to place the elements of the table |
Definition at line 46 of file WReaderMatrixSymVTK.cpp.
References wlog::error(), WReader::m_fname, and wlog::warn().