#include "vtkImageData.h"
#include <wx/timer.h>
+#include <wx/wx.h>
namespace bbPackRecalage
{
BBTK_CREATE_WIDGET(CreateWidget);
void CreateWidget(wxWindow*);
+ public:
+ void Change();
+
private:
bool change;
MyTimer *myTimer;
int time;
int oldTime;
bool _on;
+ bool firstTime;
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSwitcherBox,bbtk::WxBlackBox);
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_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);
}