![]() |
OpenWalnut
1.5.0dev
|
Can write a look up table to a file in VTK format. More...
#include <WWriterMatrixSymVTK.h>
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... | |
![]() | |
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 | |
![]() | |
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... | |
Can write a look up table to a file in VTK format.
Definition at line 38 of file WWriterMatrixSymVTK.h.
WWriterMatrixSymVTK::WWriterMatrixSymVTK | ( | std::string | fname, |
bool | overwrite = false |
||
) |
Creates a writer object for FiberVTK file writing.
fname | path to the target file where stuff will be written to |
overwrite | If true existing files will be overwritten |
Definition at line 35 of file WWriterMatrixSymVTK.cpp.
void WWriterMatrixSymVTK::writeTable | ( | const std::vector< double > & | table, |
size_t | dim | ||
) | const |
Actually perform writing to file.
table | The data in that table will be saved |
dim | the dimensionality of the table |
Definition at line 40 of file WWriterMatrixSymVTK.cpp.
References WWriter::m_fname.