X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageImageSwitcherBox.h;h=7bb5cdfcfc6323e9c30d8980913e56c141e1646d;hb=056c44ebcefce5a0c1d0b5cd162a63d5805df456;hp=364775cf2dd7c4bf4fbafe14b5934d0cc474f1c3;hpb=124e80f4fe9a8dc4c7581b79ad3165aefacdf6ed;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h index 364775c..7bb5cdf 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h +++ b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h @@ -31,6 +31,7 @@ class bbPackRecalage_EXPORT ImageSwitcherBox BBTK_DECLARE_INPUT(In1,vtkImageData*); BBTK_DECLARE_INPUT(In2,vtkImageData*); BBTK_DECLARE_INPUT(Time,int); + BBTK_DECLARE_INPUT(On,bool); BBTK_PROCESS(Process); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); void Process(); @@ -42,6 +43,7 @@ class bbPackRecalage_EXPORT ImageSwitcherBox MyTimer *myTimer; int time; int oldTime; + bool _on; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSwitcherBox,bbtk::WxBlackBox); @@ -53,6 +55,7 @@ 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,On,"Timer status. True = On.",bool,""); BBTK_OUTPUT(ImageSwitcherBox,Out,"Image to be placed",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageSwitcherBox); }