X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarksPanel.h;h=3d9b45cbd38d2020b0cf71accb6fc52ae50685cf;hb=d1dc57c5af88ff53c75904b1dd55722f9631a21e;hp=9966d8820f6672802e8e597d5795c03ac1847c6a;hpb=a4349280dbd4f723dc8bd5bc2c994e17515afe5f;p=clitk.git diff --git a/vv/vvLandmarksPanel.h b/vv/vvLandmarksPanel.h index 9966d88..3d9b45c 100644 --- a/vv/vvLandmarksPanel.h +++ b/vv/vvLandmarksPanel.h @@ -38,20 +38,29 @@ public: mCurrentPath = path; } void SetCurrentImage(std::string filename); + double* GetSelectedPoint() { return mSelectedPoint; } public slots: void Load(); + 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 //====================================================================