#include "vtkPolyData.h"
#include "vtkPoints.h"
#include "vvLandmarksGlyph.h"
+#include "vtkStringArray.h"
//typedef
struct vvLandmark {
vvLandmarks(int size);
~vvLandmarks();
- void LoadFile(std::string filename);
+ bool LoadFile(std::string filename);
void SaveFile(std::string filename);
void AddLandmark(float x,float y,float z,float t,double value);
std::vector<vtkPoints*> mPoints;
vtkFloatArray* mIds;
//std::vector<vvLandmarksGlyph*> mText;
+ vtkStringArray* mLabels;
std::string mFilename;
int mFormatVersion;
+
+ bool LoadTxtFile(std::string filename);
+ bool LoadPtsFile(std::string filename);
+
};
#endif