From: tbaudier Date: Wed, 2 Mar 2016 10:28:28 +0000 (+0100) Subject: Debug signal/slot in vvToolBinarize X-Git-Tag: v1.4.0~38 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0868b4adfe44c79a01e51fbae1d7c249550aa3e3;p=clitk.git Debug signal/slot in vvToolBinarize --- diff --git a/vv/vvToolBinarize.cxx b/vv/vvToolBinarize.cxx index 5fce5d9..113cee8 100644 --- a/vv/vvToolBinarize.cxx +++ b/vv/vvToolBinarize.cxx @@ -228,7 +228,7 @@ void vvToolBinarize::InputIsSelected(vvSlicerManager * m) connect(mThresholdSlider2, SIGNAL(valueChanged(double)), this, SLOT(valueChangedT2(double))); connect(mCurrentSlicerManager,SIGNAL(UpdateSlice(int,int)),this,SLOT(UpdateSlice(int, int))); - connect(mCurrentSlicerManager,SIGNAL(UpdateTSlice(int,int)),this,SLOT(UpdateSlice(int, int))); + connect(mCurrentSlicerManager,SIGNAL(UpdateTSlice(int,int, int)),this,SLOT(UpdateSlice(int, int, int))); connect(mCurrentSlicerManager,SIGNAL(UpdateOrientation(int,int)),this,SLOT(UpdateOrientation(int, int))); @@ -256,8 +256,9 @@ void vvToolBinarize::UpdateOrientation(int slicer,int orientation) } //------------------------------------------------------------------------------ + //------------------------------------------------------------------------------ -void vvToolBinarize::UpdateSlice(int slicer,int slices) +void vvToolBinarize::UpdateSlice(int slicer,int slices, int code) { Update(slicer); } diff --git a/vv/vvToolBinarize.h b/vv/vvToolBinarize.h index c0aa6d9..16676ae 100644 --- a/vv/vvToolBinarize.h +++ b/vv/vvToolBinarize.h @@ -56,7 +56,7 @@ class vvToolBinarize: void valueChangedT1(double v); void valueChangedT2(double v); void UpdateOrientation(int slicer, int orientation); - void UpdateSlice(int slicer,int slices); + void UpdateSlice(int slicer,int slices, int code=0); void enableLowerThan(bool b); void useFGBGtoggled(bool); void InteractiveDisplayToggled(bool b);