15 #ifndef niftkFileIOUtils_h
16 #define niftkFileIOUtils_h
18 #include "niftkCoreExports.h"
20 #include <vtkMatrix4x4.h>
21 #include <vtkSmartPointer.h>
23 #include <mitkImage.h>
24 #include <mitkPointSet.h>
25 #include <mitkVector.h>
bool Load3DPointFromFile(const std::string &fileName, mitk::Point3D &point)
Loads a 3D point from file, returning true if successful and false otherwise.
Definition: niftkFileIOUtils.cxx:89
std::vector< mitk::PointSet::Pointer > LoadPointSetsFromDirectory(const std::string fullDirectoryName)
Loads all point sets from directory.
Definition: niftkFileIOUtils.cxx:135
bool Load2DPointFromFile(const std::string &fileName, mitk::Point2D &point)
Loads a 2D point from file, returning true if successful and false otherwise.
Definition: niftkFileIOUtils.cxx:63
GLuint GLenum matrix
Definition: glew.h:12775
void LoadTimeStampData(const std::string &fileName, std::set< unsigned long long > &outputTimeStamps)
Loads a list of timestamps from a file.
Definition: niftkFileIOUtils.cxx:166
bool LoadDoublesFromFile(const std::string &fileName, std::vector< double > &output)
Definition: niftkFileIOUtils.cxx:28
vtkSmartPointer< vtkMatrix4x4 > LoadVtkMatrix4x4FromFile(const std::string &fileName)
Load a plain text file of 4 rows of 4 space separated numbers into a vtkMatrix4x4.
Definition: niftkFileIOUtils.cxx:116
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194
bool SaveVtkMatrix4x4ToFile(const std::string &fileName, const vtkMatrix4x4 &matrix)
Save the matrix to a plain text file of 4 rows of 4 space separated numbers.
Definition: niftkFileIOUtils.cxx:123