Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <FibreConverter.hpp>
Public Member Functions | |
void | Convert (const FileFinder &rSourceFile, const std::string &rOutputFolderName) |
A convenience wrapper around FibreReader and FibreWriter to convert .axi and .ortho fibres from ascii to binary.
Definition at line 46 of file FibreConverter.hpp.
void FibreConverter::Convert | ( | const FileFinder & | rSourceFile, |
const std::string & | rOutputFolderName | ||
) |
The method that converts fibre files from ascii to binary.
rSourceFile | a file finder to any mesh file - the base name minus extension is used |
rOutputFolderName | name of folder where converted fibre files will be written |
Definition at line 40 of file FibreConverter.cpp.
References FileFinder::Exists(), FibreReader< DIM >::GetAllAxi(), FibreReader< DIM >::GetAllOrtho(), FileFinder::GetLeafNameNoExtension(), FileFinder::GetParent(), FibreWriter< DIM >::SetWriteFileAsBinary(), FibreWriter< DIM >::WriteAllAxi(), and FibreWriter< DIM >::WriteAllOrtho().