OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WReaderMatrixSymVTK Class Reference

Can read a look up table from a file in VTK format. More...

#include <WReaderMatrixSymVTK.h>

+ Inheritance diagram for WReaderMatrixSymVTK:
+ Collaboration diagram for WReaderMatrixSymVTK:

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...
 

Detailed Description

Can read a look up table from a file in VTK format.

Definition at line 39 of file WReaderMatrixSymVTK.h.

Constructor & Destructor Documentation

◆ WReaderMatrixSymVTK()

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.

Parameters
fnamefile name

Definition at line 41 of file WReaderMatrixSymVTK.cpp.

Member Function Documentation

◆ readTable()

void WReaderMatrixSymVTK::readTable ( std::shared_ptr< std::vector< double > >  table) const

Perform reading from the file.

Parameters
tablevector 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().

+ Here is the call graph for this function:

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