BBTK_DECLARE_OUTPUT(viewer2,std::string);
BBTK_DECLARE_OUTPUT(viewer3,std::string);
BBTK_DECLARE_OUTPUT(viewer4,std::string);
+
+
+ BBTK_DECLARE_OUTPUT(Viewer1,Wt::WContainerWidget*);
+ BBTK_DECLARE_OUTPUT(Viewer2,Wt::WContainerWidget*);
+ BBTK_DECLARE_OUTPUT(Viewer3,Wt::WContainerWidget*);
+ BBTK_DECLARE_OUTPUT(Viewer4,Wt::WContainerWidget*);
+
+
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
void CreateWidget(Wt::WContainerWidget* parent);
- void loadImage();
std::vector<int> nType;
+ bool firstTime;
+
/* Wt::WContainerWidget* wtWindow1;
Wt::WContainerWidget* wtWindow2;
Wt::WContainerWidget* wtWindow3;
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(ViewerNVWeb,bbtk::WtBlackBox);
-BBTK_NAME("ViewerNVWeb");
-BBTK_AUTHOR("johann.gonzalez@creatis.insa-lyon.fr");
-BBTK_DESCRIPTION("No Description.");
-BBTK_CATEGORY("empty");
-BBTK_INPUT(ViewerNVWeb,ImagePath,"Image path",std::string,"");
-BBTK_INPUT(ViewerNVWeb,nTypeView,"Paramaters for the setting up of the renders",std::vector<int>,"");
-
-BBTK_OUTPUT(ViewerNVWeb,viewer1,"Reference to viewer 1",std::string,"");
-BBTK_OUTPUT(ViewerNVWeb,viewer2,"Reference to viewer 2",std::string,"");
-BBTK_OUTPUT(ViewerNVWeb,viewer3,"Reference to viewer 3",std::string,"");
-BBTK_OUTPUT(ViewerNVWeb,viewer4,"Reference to viewer 4",std::string,"");
+ BBTK_NAME("ViewerNVWeb");
+ BBTK_AUTHOR("johann.gonzalez@creatis.insa-lyon.fr");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+ BBTK_INPUT(ViewerNVWeb,ImagePath,"Image path",std::string,"");
+ BBTK_INPUT(ViewerNVWeb,nTypeView,"Paramaters for the setting up of the renders",std::vector<int>,"");
+
+ BBTK_OUTPUT(ViewerNVWeb,viewer1,"Reference to viewer 1",std::string,"");
+ BBTK_OUTPUT(ViewerNVWeb,viewer2,"Reference to viewer 2",std::string,"");
+ BBTK_OUTPUT(ViewerNVWeb,viewer3,"Reference to viewer 3",std::string,"");
+ BBTK_OUTPUT(ViewerNVWeb,viewer4,"Reference to viewer 4",std::string,"");
+ BBTK_OUTPUT(ViewerNVWeb,Viewer1,"Viewer container wt",Wt::WContainerWidget*,"");
+ BBTK_OUTPUT(ViewerNVWeb,Viewer2,"Viewer container wt",Wt::WContainerWidget*,"");
+ BBTK_OUTPUT(ViewerNVWeb,Viewer3,"Viewer container wt",Wt::WContainerWidget*,"");
+ BBTK_OUTPUT(ViewerNVWeb,Viewer4,"Viewer container wt",Wt::WContainerWidget*,"");
BBTK_END_DESCRIBE_BLACK_BOX(ViewerNVWeb);
//=====
// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)