36 #ifndef FIBREREADER_HPP_
37 #define FIBREREADER_HPP_
44 #include "FileFinder.hpp"
49 typedef enum FibreFileType_
60 template<
unsigned DIM>
149 void GetFibreVector(
unsigned fibreIndex, c_vector<double,DIM>& rFibreVector,
bool checkNormalised=
true);
167 void GetAllAxi(std::vector< c_vector<double, DIM> >& direction);
178 void GetAllOrtho(std::vector< c_vector<double, DIM> >& first_direction,
179 std::vector< c_vector<double, DIM> >& second_direction,
180 std::vector< c_vector<double, DIM> >& third_direction);
FibreReader(const FileFinder &rFileFinder, FibreFileType fibreFileType)
unsigned GetNumLinesOfData()
void ReadNumLinesOfDataFromFile()
unsigned GetTokensAtNextLine()
std::vector< double > mTokens
unsigned mNumItemsPerLine
void GetFibreVector(unsigned fibreIndex, c_vector< double, DIM > &rFibreVector, bool checkNormalised=true)
void GetAllAxi(std::vector< c_vector< double, DIM > > &direction)
void GetAllOrtho(std::vector< c_vector< double, DIM > > &first_direction, std::vector< c_vector< double, DIM > > &second_direction, std::vector< c_vector< double, DIM > > &third_direction)
void GetFibreSheetAndNormalMatrix(unsigned fibreIndex, c_matrix< double, DIM, DIM > &rFibreMatrix, bool checkOrthogonality=true)