X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vv%2FvvToolSegmentation.h;h=9e3180bc0ac40d237e7b734e63a1db554ba29920;hb=8dc75d1449323b08bf7378cded6f0bec24b2016f;hp=7ba8d5cc73555d43b7b0cfec47b5d1735f8101fd;hpb=af5378525c594d0adb17104cf333e25976d3ac91;p=clitk.git diff --git a/vv/vvToolSegmentation.h b/vv/vvToolSegmentation.h index 7ba8d5c..9e3180b 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);