X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarksPanel.h;h=3d9b45cbd38d2020b0cf71accb6fc52ae50685cf;hb=0ef2d6ae784a865d069ca5dc77b540f859011848;hp=9966d8820f6672802e8e597d5795c03ac1847c6a;hpb=5ae099d86b4f40afc0e0beb1acbce3c37f1e9436;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 //====================================================================