X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvToolProfile.h;h=7467cf4c49455e9c9216a66793ef0d883c9cdc95;hb=8e35d3afc7b626ac517905e7f8b846d94894110c;hp=072dc3aafcc2175d91ada9bd72d8e86028eb8a14;hpb=e502d745ac4c73037ef615931db2dcbf36a94341;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 072dc3a..7467cf4 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -23,7 +23,9 @@ #include "vvToolBase.h" #include "vvToolWidgetBase.h" #include "vvImageContour.h" +#include "vvLandmarks.h" #include "ui_vvToolProfile.h" +#include "vvBinaryImageOverlayActor.h" #include "clitkProfileImage_ggo.h" #include "clitkProfileImageGenericFilter.h" @@ -44,10 +46,13 @@ class vvToolProfile: //----------------------------------------------------- static void Initialize(); + void InitializeLine(); void GetArgsInfoFromGUI(); virtual void InputIsSelected(vvSlicerManager * m); bool isPointsSelected(); + void computeProfile(); + void SetPoints(); //----------------------------------------------------- public slots: @@ -58,7 +63,9 @@ class vvToolProfile: void selectPoint1(); void selectPoint2(); void cancelPoints(); - void computeProfile(); + void SaveAs(); + void DisplayLine(int); + void DeleteLine(int); protected: void RemoveVTKObjects(); @@ -72,6 +79,9 @@ class vvToolProfile: bool mPoint2Selected; vtkSmartPointer mView; clitk::ProfileImageGenericFilter::Pointer mFilter; + std::string mTextFileName; + std::vector > mLineActors; + vtkSmartPointer mLinesPolyData; }; // end class vvToolProfile