X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarksPanel.h;h=01f53994ce67b0c604e8325199a9fca4f21f6f5e;hb=2b8e7f1fda772413d48a86b172c7910dd9677205;hp=d352a9a0f1077f99ac833292305d39c10c44d1ec;hpb=b2a15c048423c022085de60356f15ab014f75522;p=clitk.git diff --git a/vv/vvLandmarksPanel.h b/vv/vvLandmarksPanel.h index d352a9a..01f5399 100644 --- a/vv/vvLandmarksPanel.h +++ b/vv/vvLandmarksPanel.h @@ -38,21 +38,27 @@ public: mCurrentPath = path; } void SetCurrentImage(std::string filename); + double* GetSelectedPoint() { return mSelectedPoint; } public slots: void Load(); - void LoadFromFile(std::string file); + bool LoadFromFile(std::vector file); void Save(); void RemoveSelectedPoints(); + void RemoveAllPoints(); void AddPoint(); + void SelectPoint(); void CommentsChanged(int row, int column); signals: void UpdateRenderWindows(); + void SelectedPointChanged(); private: void AddPoint(int); + vvLandmarks* mCurrentLandmarks; std::string mCurrentPath; + double mSelectedPoint[4]; }; // end class vvLandmarksPanel //====================================================================