X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=1f5d6c96ceb5ec077d68c5533f7990e4fb082df7;hb=b0f9ef265dbfc67374eaa989e606d2b00d634f76;hp=072dc3aafcc2175d91ada9bd72d8e86028eb8a14;hpb=5ad36f8cd7908f6fbc29f0d95c05c56fa7b68f3f;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 072dc3a..1f5d6c9 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" @@ -48,6 +50,7 @@ class vvToolProfile: virtual void InputIsSelected(vvSlicerManager * m); bool isPointsSelected(); + void computeProfile(); //----------------------------------------------------- public slots: @@ -58,7 +61,8 @@ class vvToolProfile: void selectPoint1(); void selectPoint2(); void cancelPoints(); - void computeProfile(); + void SaveAs(); + void DisplayLine(); protected: void RemoveVTKObjects(); @@ -72,6 +76,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