X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvLandmarksPanel.h;h=3d9b45cbd38d2020b0cf71accb6fc52ae50685cf;hb=b99fac059ebc47ce7b243dc9d802b23d730e7100;hp=69dd3d2a96c33dc3cf5ca61a79c7617fa4a834ef;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/vv/vvLandmarksPanel.h b/vv/vvLandmarksPanel.h index 69dd3d2..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 RemoveLastPoint(); + 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 //====================================================================