2 // 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)
5 #ifndef __bbwtViewerNVWeb_h_INCLUDED__
6 #define __bbwtViewerNVWeb_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
13 class Viewer_NV : public Wt::WContainerWidget
16 Viewer_NV(Wt::WContainerWidget* parent,int typeRender);
18 std::string mImagePath;
27 class bbwt_EXPORT ViewerNVWeb
29 public bbtk::WtBlackBox
31 BBTK_BLACK_BOX_INTERFACE(ViewerNVWeb,bbtk::WtBlackBox);
33 // 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)
35 BBTK_DECLARE_INPUT(ImagePath,std::string);
36 BBTK_DECLARE_INPUT(nTypeView,std::vector<int>);
37 BBTK_DECLARE_OUTPUT(viewer1,std::string);
38 BBTK_DECLARE_OUTPUT(viewer2,std::string);
39 BBTK_DECLARE_OUTPUT(viewer3,std::string);
40 BBTK_DECLARE_OUTPUT(viewer4,std::string);
43 BBTK_DECLARE_OUTPUT(Viewer1,Wt::WContainerWidget*);
44 BBTK_DECLARE_OUTPUT(Viewer2,Wt::WContainerWidget*);
45 BBTK_DECLARE_OUTPUT(Viewer3,Wt::WContainerWidget*);
46 BBTK_DECLARE_OUTPUT(Viewer4,Wt::WContainerWidget*);
49 BBTK_PROCESS(Process);
51 BBTK_CREATE_WIDGET(CreateWidget);
52 void CreateWidget(Wt::WContainerWidget* parent);
54 std::vector<int> nType;
55 /* Wt::WContainerWidget* wtWindow1;
56 Wt::WContainerWidget* wtWindow2;
57 Wt::WContainerWidget* wtWindow3;
58 Wt::WContainerWidget* wtWindow4;
67 // 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)
71 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ViewerNVWeb,bbtk::WtBlackBox);
72 BBTK_NAME("ViewerNVWeb");
73 BBTK_AUTHOR("johann.gonzalez@creatis.insa-lyon.fr");
74 BBTK_DESCRIPTION("No Description.");
75 BBTK_CATEGORY("empty");
76 BBTK_INPUT(ViewerNVWeb,ImagePath,"Image path",std::string,"");
77 BBTK_INPUT(ViewerNVWeb,nTypeView,"Paramaters for the setting up of the renders",std::vector<int>,"");
79 BBTK_OUTPUT(ViewerNVWeb,viewer1,"Reference to viewer 1",std::string,"");
80 BBTK_OUTPUT(ViewerNVWeb,viewer2,"Reference to viewer 2",std::string,"");
81 BBTK_OUTPUT(ViewerNVWeb,viewer3,"Reference to viewer 3",std::string,"");
82 BBTK_OUTPUT(ViewerNVWeb,viewer4,"Reference to viewer 4",std::string,"");
84 BBTK_OUTPUT(ViewerNVWeb,Viewer1,"Viewer container wt",Wt::WContainerWidget*,"");
85 BBTK_OUTPUT(ViewerNVWeb,Viewer2,"Viewer container wt",Wt::WContainerWidget*,"");
86 BBTK_OUTPUT(ViewerNVWeb,Viewer3,"Viewer container wt",Wt::WContainerWidget*,"");
87 BBTK_OUTPUT(ViewerNVWeb,Viewer4,"Viewer container wt",Wt::WContainerWidget*,"");
88 BBTK_END_DESCRIBE_BLACK_BOX(ViewerNVWeb);
90 // 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)
95 #endif // __bbwtViewerNVWeb_h_INCLUDED__