6 #include "vtkFloatArray.h"
7 #include "vtkPolyData.h"
9 #include "vvLandmarksGlyph.h"
21 vvLandmarks(int size);
24 void LoadFile(std::string filename);
25 void SaveFile(std::string filename);
27 void AddLandmark(float x,float y,float z,float t,double value);
28 void RemoveLastLandmark();
29 void ChangeComments(int index, std::string comments);
30 float* GetCoordinates(int index);
31 double GetPixelValue(int index);
32 std::string GetComments(int index);
33 int GetNumberOfPoints() {
34 return mLandmarks.size();
36 //int GetNumberOfSources(){return mText.size();}
38 vtkPolyData* GetOutput() {
41 //vtkPolyData* GetSources(int i){return mText[i]->GetOutput();}
42 void SetTime(int time);
44 bool ErrorMsg(int num,const char * text);
47 ///Helper function to tackle the use of the comma as the decimal separator
48 std::string replace_dots(std::string input);
49 std::vector<vvLandmark> mLandmarks;
50 vtkPolyData *mPolyData;
51 std::vector<vtkPoints*> mPoints;
53 //std::vector<vvLandmarksGlyph*> mText;
54 std::string mFilename;