MITK-IGT
IGT Extension of MITK
|
#include <mitkNavigationDataReaderCSV.h>
Public Member Functions | |
NavigationDataReaderCSV () | |
~NavigationDataReaderCSV () override | |
Protected Member Functions | |
std::vector< itk::SmartPointer< BaseData > > | DoRead () override |
mitk::NavigationData::Pointer | CreateNd (std::string timestamp, std::string valid, std::string X, std::string Y, std::string Z, std::string QX, std::string QY, std::string QZ, std::string QR) |
std::vector< std::string > | GetFileContentLineByLine (std::string filename) |
int | getNumberOfToolsInLine (std::string line) |
std::vector< mitk::NavigationData::Pointer > | parseLine (std::string line, int NumOfTools) |
double | StringToDouble (const std::string &s) |
std::vector< std::string > | splitLine (std::string line) |
NavigationDataReaderCSV (const NavigationDataReaderCSV &other) | |
mitk::NavigationDataReaderCSV * | Clone () const override |
This class reads csv logged navigation datas from the hard disc and returns the navigation data set.
Caution: at the moment only one navigation data is supported which means that only the data of the first navigation tool in the file is read!
Definition at line 28 of file mitkNavigationDataReaderCSV.h.
mitk::NavigationDataReaderCSV::NavigationDataReaderCSV | ( | ) |
Definition at line 22 of file mitkNavigationDataReaderCSV.cpp.
|
override |
Definition at line 33 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
Definition at line 29 of file mitkNavigationDataReaderCSV.cpp.
|
overrideprotected |
Definition at line 37 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Creates a NavigationData Pointer based on the given Input.
Definition at line 86 of file mitkNavigationDataReaderCSV.cpp.
|
overrideprotected |
Definition at line 42 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Presents File Content line by line
Definition at line 143 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Calculates the Number of Tools based on the number of colums per line.
Definition at line 61 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Converts string to double returns zero if failing
Definition at line 125 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Split line in elemens based on a given delim
Definition at line 75 of file mitkNavigationDataReaderCSV.cpp.
|
protected |
/brief Converts string to double returns zero if failing
Definition at line 116 of file mitkNavigationDataReaderCSV.cpp.