#ifdef _USE_WXWIDGETS_ #ifndef __bbcreaMaracasVisuCutModule_h_INCLUDED__ #define __bbcreaMaracasVisuCutModule_h_INCLUDED__ #include "bbcreaMaracasVisu_EXPORT.h" #include "bbtkWxBlackBox.h" #include "CutModelMainPanel.h" namespace bbcreaMaracasVisu { class bbcreaMaracasVisu_EXPORT CutModule2 : public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(CutModule2,bbtk::WxBlackBox); BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_INPUT(Interactor,vtkRenderWindowInteractor*); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(wxWindow*); private: CutModelMainPanel* _mainpanel; vtkImageData* _currentimage; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(CutModule2,bbtk::WxBlackBox); BBTK_NAME("CutModule2"); BBTK_AUTHOR("perez@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("extracts"); BBTK_CATEGORY("actor, image, filter"); BBTK_INPUT(CutModule2,In,"Image",vtkImageData*,""); BBTK_INPUT(CutModule2,Interactor,"WindowInteractor",vtkRenderWindowInteractor*,""); BBTK_INPUT(CutModule2,Renderer,"Renderer",vtkRenderer*,""); BBTK_OUTPUT(CutModule2,Out,"Image output",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(CutModule2); } // EO namespace bbcreaMaracasVisu #endif // __bbcreaMaracasVisuCutModule_h_INCLUDED__ #endif // _USE_WXWIDGETS_