//===== // 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) //===== #ifndef __bbwtViewerNVWeb_h_INCLUDED__ #define __bbwtViewerNVWeb_h_INCLUDED__ #include "bbwt_EXPORT.h" #include "bbtkWtBlackBox.h" #include "iostream" namespace bbwt { class Viewer_NV : public Wt::WContainerWidget { public: Viewer_NV(Wt::WContainerWidget* parent,int typeRender); ~Viewer_NV(); std::string mImagePath; int mType; void configureWt(); }; class bbwt_EXPORT ViewerNVWeb : public bbtk::WtBlackBox { BBTK_BLACK_BOX_INTERFACE(ViewerNVWeb,bbtk::WtBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(ImagePath,std::string); BBTK_DECLARE_INPUT(nTypeView,std::vector); BBTK_DECLARE_OUTPUT(viewer1,std::string); BBTK_DECLARE_OUTPUT(viewer2,std::string); BBTK_DECLARE_OUTPUT(viewer3,std::string); BBTK_DECLARE_OUTPUT(viewer4,std::string); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(Wt::WContainerWidget* parent); void loadImage(); std::vector nType; /* Wt::WContainerWidget* wtWindow1; Wt::WContainerWidget* wtWindow2; Wt::WContainerWidget* wtWindow3; Wt::WContainerWidget* wtWindow4; */ int cont; Viewer_NV* wtWindow1; Viewer_NV* wtWindow2; Viewer_NV* wtWindow3; Viewer_NV* wtWindow4; //===== // 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) //===== }; 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,""); 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_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) //===== } // EO namespace bbwt #endif // __bbwtViewerNVWeb_h_INCLUDED__