X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarks.h;h=8f9471729d92462a0145f78e4ee95c92b0aca3c4;hb=23175b0894c66c909349e03d31cc205443c443e6;hp=29995c72978c6e7019fa27998cda7b5e4fcc0e95;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/vv/vvLandmarks.h b/vv/vvLandmarks.h index 29995c7..8f94717 100644 --- a/vv/vvLandmarks.h +++ b/vv/vvLandmarks.h @@ -24,6 +24,7 @@ #include "vtkPolyData.h" #include "vtkPoints.h" #include "vvLandmarksGlyph.h" +#include "vtkStringArray.h" //typedef struct vvLandmark { @@ -43,6 +44,7 @@ public : void AddLandmark(float x,float y,float z,float t,double value); void RemoveLastLandmark(); + void RemoveLandmark(int index); void ChangeComments(int index, std::string comments); float* GetCoordinates(int index); double GetPixelValue(int index); @@ -66,6 +68,7 @@ private: std::vector mPoints; vtkFloatArray* mIds; //std::vector mText; + vtkStringArray* mLabels; std::string mFilename; int mFormatVersion; };