From: Eduardo DAVILA Date: Wed, 27 Apr 2016 08:09:58 +0000 (+0200) Subject: ImageSwitcherBox default values X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=33d81dfd1f8005314ce0a656c1d9819121af310d;p=creaRigidRegistration.git ImageSwitcherBox default values --- diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx b/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx index 0279f47..dda210b 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx +++ b/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx @@ -112,8 +112,9 @@ void ImageSwitcherBox::bbUserSetDefaultValues() { myTimer = NULL; change = false; - time = 500; - oldTime = 500; + time = 150; + oldTime = 150; + bbSetInputTime(time); firstTime = true; _on = false; } diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h index 2c58b5d..dbbf1ea 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h +++ b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h @@ -85,7 +85,7 @@ BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(ImageSwitcherBox,Title,"Title prepended to the Widget",std::string,""); BBTK_INPUT(ImageSwitcherBox,In1,"First Image",vtkImageData*,""); BBTK_INPUT(ImageSwitcherBox,In2,"Second Image",vtkImageData*,""); -BBTK_INPUT(ImageSwitcherBox,Time,"Time between image change",int,""); +BBTK_INPUT(ImageSwitcherBox,Time,"Time between image change (default 50)",int,""); BBTK_INPUT(ImageSwitcherBox,On,"Defines if the switcher is turned on. ON = True.",bool,""); BBTK_OUTPUT(ImageSwitcherBox,Out,"Image to be placed",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageSwitcherBox);