X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarksPanel.h;h=3d9b45cbd38d2020b0cf71accb6fc52ae50685cf;hb=HEAD;hp=d352a9a0f1077f99ac833292305d39c10c44d1ec;hpb=b2a15c048423c022085de60356f15ab014f75522;p=clitk.git diff --git a/vv/vvLandmarksPanel.h b/vv/vvLandmarksPanel.h index d352a9a..3d9b45c 100644 --- a/vv/vvLandmarksPanel.h +++ b/vv/vvLandmarksPanel.h @@ -38,21 +38,29 @@ 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 UpdateTransform(); void RemoveSelectedPoints(); + void RemoveAllPoints(); void AddPoint(); + void SelectPoint(); void CommentsChanged(int row, int column); signals: void UpdateRenderWindows(); + void SelectedPointChanged(); + void UpdateLandmarkTransform(); private: void AddPoint(int); + vvLandmarks* mCurrentLandmarks; std::string mCurrentPath; + double mSelectedPoint[4]; }; // end class vvLandmarksPanel //====================================================================