]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageImageSwitcherBox.h
*** empty log message ***
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageSwitcherBox.h
index 364775cf2dd7c4bf4fbafe14b5934d0cc474f1c3..7bb5cdfcfc6323e9c30d8980913e56c141e1646d 100644 (file)
@@ -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);
 }