X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=d59e8035e0f3f1158d2fab1048f0a85e4e7e5411;hb=f960afb3b3a66c547815425995d6f7c63dc811cd;hp=072dc3aafcc2175d91ada9bd72d8e86028eb8a14;hpb=e502d745ac4c73037ef615931db2dcbf36a94341;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 072dc3a..d59e803 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -18,12 +18,19 @@ #ifndef VVTOOLPROFILE_H #define VVTOOLPROFILE_H +#include +#if QT_VERSION < 0x050000 +#include +#else #include +#endif #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" @@ -48,6 +55,7 @@ class vvToolProfile: virtual void InputIsSelected(vvSlicerManager * m); bool isPointsSelected(); + void computeProfile(); //----------------------------------------------------- public slots: @@ -58,7 +66,8 @@ class vvToolProfile: void selectPoint1(); void selectPoint2(); void cancelPoints(); - void computeProfile(); + void SaveAs(); + void DisplayLine(); protected: void RemoveVTKObjects(); @@ -72,6 +81,9 @@ class vvToolProfile: bool mPoint2Selected; vtkSmartPointer mView; clitk::ProfileImageGenericFilter::Pointer mFilter; + std::string mTextFileName; + vvImage::Pointer mImageLine; + std::vector< vvBinaryImageOverlayActor::Pointer > mOverlayActors; }; // end class vvToolProfile