OpenWalnut
1.4.0
|
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. | |
void | readTable (boost::shared_ptr< std::vector< double > > table) const |
Perform reading from the file. |
Can read a look up table from a file in VTK format.
Definition at line 39 of file WReaderMatrixSymVTK.h.
WReaderMatrixSymVTK::WReaderMatrixSymVTK | ( | std::string | fname | ) | [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 | ( | boost::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().