]> Creatis software - clitk.git/commitdiff
Debug signal/slot in vvToolBinarize
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 10:28:28 +0000 (11:28 +0100)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 10:28:28 +0000 (11:28 +0100)
vv/vvToolBinarize.cxx
vv/vvToolBinarize.h

index 5fce5d9d538337deadd5cb650a6d7681b103e58d..113cee85d6d1262410d54e0530edfb572129c9e8 100644 (file)
@@ -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);
 }
index c0aa6d9fe6bbcd65326b2f7be3bb22045ddc6078..16676ae68a7e50d2f8a40f77e43d063948a56e0f 100644 (file)
@@ -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);