X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;fp=vv%2FvvToolProfile.h;h=dd5efbdb61965d398689f2ae36a1a1ec2137ab8d;hb=c3f5fb33ede3fc84e36a9f97d530f93f5fe49e44;hp=baaf4a9e66f846f15dbb6df97a9980ec9f35c074;hpb=ebc1acee802a4dd54c3ff05662d3c7087c7aa882;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index baaf4a9..dd5efbd 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -43,6 +43,8 @@ class vvToolProfile: void GetArgsInfoFromGUI(); virtual void InputIsSelected(vvSlicerManager * m); + bool isPointsSelected(); + //----------------------------------------------------- public slots: virtual void apply(); @@ -56,6 +58,10 @@ class vvToolProfile: void useFGBGtoggled(bool); void InteractiveDisplayToggled(bool b); // void LeftButtonReleaseEvent(int slicer); + + void selectPoint1(); + void selectPoint2(); + void cancelPoints(); protected: void RemoveVTKObjects(); @@ -66,6 +72,11 @@ class vvToolProfile: std::vector mImageContourLower; bool mInteractiveDisplayIsEnabled; + double* mPoint1; + double* mPoint2; + bool point1Selected; + bool point2Selected; + void Update(int slicer); }; // end class vvToolProfile