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

Can write a look up table to a file in VTK format. More...

#include <WWriterMatrixSymVTK.h>

+ Inheritance diagram for WWriterMatrixSymVTK:
+ Collaboration diagram for WWriterMatrixSymVTK:

Public Member Functions

 WWriterMatrixSymVTK (std::string fname, bool overwrite=false)
 Creates a writer object for FiberVTK file writing. More...
 
void writeTable (const std::vector< double > &table, size_t dim) const
 Actually perform writing to file. More...
 
- Public Member Functions inherited from WWriter
 WWriter (std::string fname, bool overwrite=false)
 Creates a writer object for writing something to a file. More...
 
OW_API_DEPRECATED void setFileName (std::string fname)
 Reset file name and checks if the file already exists in case of non overwriting is specified. More...
 
void setFilename (std::string fname)
 Reset file name and checks if the file already exists in case of non overwriting is specified. More...
 

Additional Inherited Members

- Protected Attributes inherited from WWriter
std::string m_fname
 Absolute path of the file to write to. More...
 
bool m_overwrite
 flag indicating if the file may be overwritten (true) or not (false) More...
 

Detailed Description

Can write a look up table to a file in VTK format.

Definition at line 38 of file WWriterMatrixSymVTK.h.

Constructor & Destructor Documentation

◆ WWriterMatrixSymVTK()

WWriterMatrixSymVTK::WWriterMatrixSymVTK ( std::string  fname,
bool  overwrite = false 
)

Creates a writer object for FiberVTK file writing.

Parameters
fnamepath to the target file where stuff will be written to
overwriteIf true existing files will be overwritten

Definition at line 35 of file WWriterMatrixSymVTK.cpp.

Member Function Documentation

◆ writeTable()

void WWriterMatrixSymVTK::writeTable ( const std::vector< double > &  table,
size_t  dim 
) const

Actually perform writing to file.

Parameters
tableThe data in that table will be saved
dimthe dimensionality of the table

Definition at line 40 of file WWriterMatrixSymVTK.cpp.

References WWriter::m_fname.


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