X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolSegmentation.h;h=25bf6d018ba19ae57c943ed0c6564c7034671021;hb=1cc90963e0fdb6e162a3858e4f4f5dd0d41c2939;hp=7ba8d5cc73555d43b7b0cfec47b5d1735f8101fd;hpb=af5378525c594d0adb17104cf333e25976d3ac91;p=clitk.git diff --git a/vv/vvToolSegmentation.h b/vv/vvToolSegmentation.h index 7ba8d5c..25bf6d0 100644 --- a/vv/vvToolSegmentation.h +++ b/vv/vvToolSegmentation.h @@ -18,6 +18,7 @@ #ifndef VVTOOLSEGMENTATION_H #define VVTOOLSEGMENTATION_H +#include #include #include "vvToolBase.h" @@ -73,7 +74,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);