From 0868b4adfe44c79a01e51fbae1d7c249550aa3e3 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 2 Mar 2016 11:28:28 +0100 Subject: [PATCH] Debug signal/slot in vvToolBinarize --- vv/vvToolBinarize.cxx | 5 +++-- vv/vvToolBinarize.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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); -- 2.47.1