|
OpenWalnut
1.2.5
|
Can read a look up table from a file in VTK format. More...
#include <WReaderMatrixSymVTK.h>
Inheritance diagram for WReaderMatrixSymVTK: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. | |
Public Member Functions inherited from WReader | |
| WReader (std::string fname) throw ( WDHNoSuchFile ) | |
| Creates a read object for file reading. | |
| void | setFileName (std::string fname) throw ( WDHNoSuchFile ) |
| Reset the file name and checks if it exists. | |
Additional Inherited Members | |
Protected Attributes inherited from WReader | |
| std::string | m_fname |
| Absolute path of the file to read from. | |
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 42 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 47 of file WReaderMatrixSymVTK.cpp.
References wlog::error(), WReader::m_fname, and wlog::warn().
1.8.1