X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolSegmentation.h;h=7e49dc46efc67486f496eb0be6c0093da113ac77;hb=db7e5217c37e01705f867061e360fdf3290704c8;hp=7ba8d5cc73555d43b7b0cfec47b5d1735f8101fd;hpb=af5378525c594d0adb17104cf333e25976d3ac91;p=clitk.git diff --git a/vv/vvToolSegmentation.h b/vv/vvToolSegmentation.h index 7ba8d5c..7e49dc4 100644 --- a/vv/vvToolSegmentation.h +++ b/vv/vvToolSegmentation.h @@ -18,7 +18,12 @@ #ifndef VVTOOLSEGMENTATION_H #define VVTOOLSEGMENTATION_H +#include +#if QT_VERSION >= 0x050000 +#include +#else #include +#endif #include "vvToolBase.h" #include "vvToolWidgetBase.h" @@ -73,7 +78,8 @@ class vvToolSegmentation: QSharedPointer CreateMaskActor(vvImage::Pointer image, int i, int colorID, bool BGMode=false); double mCurrentLabelUnderMousePointer; - std::vector mCurrentMousePosition; + std::vector mCurrentMousePositionInMM; + //std::vector mCurrentMousePositionInPixel; double GetBackgroundValue() { return 0; } double GetForegroundValue() { return 1; } long ComputeNumberOfPixels(vvImage::Pointer image, double value);