17 #ifndef MITKNavigationDataReaderCSV_H_HEADER_INCLUDED_
18 #define MITKNavigationDataReaderCSV_H_HEADER_INCLUDED_
41 virtual std::vector<itk::SmartPointer<BaseData>>
Read()
override;
48 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);
63 std::vector<mitk::NavigationData::Pointer>
parseLine(std::string line,
int NumOfTools);
73 std::vector<std::string>
splitLine(std::string line);
82 #endif // MITKNavigationDataReaderCSV_H_HEADER_INCLUDED_
itk::SmartPointer< Self > Pointer
virtual mitk::NavigationDataReaderCSV * Clone() const override
std::vector< mitk::NavigationData::Pointer > parseLine(std::string line, int NumOfTools)
NavigationDataReaderCSV()
DataCollection - Class to facilitate loading/accessing structured data.
double StringToDouble(const std::string &s)
virtual std::vector< itk::SmartPointer< BaseData > > Read() override=0
Reads a path or stream and creates a list of BaseData objects.
std::vector< std::string > splitLine(std::string line)
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)
static const std::string filename
Base class for creating mitk::BaseData objects from files or streams.
int getNumberOfToolsInLine(std::string line)
virtual ~NavigationDataReaderCSV()
virtual std::vector< itk::SmartPointer< BaseData > > Read() override
Reads a path or stream and creates a list of BaseData objects.
std::vector< std::string > GetFileContentLineByLine(std::string filename)