]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuCutModule2.h
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuCutModule2.h
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbcreaMaracasVisuCutModule2_h_INCLUDED__
3 #define __bbcreaMaracasVisuCutModule2_h_INCLUDED__
4 #include "bbcreaMaracasVisu_EXPORT.h"
5 #include "bbtkWxBlackBox.h"
6 #include "CutModel2MainPanel.h"
7
8 namespace bbcreaMaracasVisu
9 {
10
11 class bbcreaMaracasVisu_EXPORT CutModule2
12  : 
13    public bbtk::WxBlackBox
14 {
15         
16   BBTK_BLACK_BOX_INTERFACE(CutModule2,bbtk::WxBlackBox);
17   BBTK_DECLARE_INPUT(In,vtkImageData*);
18   BBTK_DECLARE_INPUT(Interactor,vtkRenderWindowInteractor*);
19   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
20   //BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
21   BBTK_PROCESS(Process);
22   void Process();
23   BBTK_CREATE_WIDGET(CreateWidget);
24   void CreateWidget(wxWindow*);
25
26 private:
27         CutModel2MainPanel* _mainpanel;
28         vtkImageData* _currentimage;
29 };
30
31 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CutModule2,bbtk::WxBlackBox);
32 BBTK_NAME("CutModule2");
33 BBTK_AUTHOR("perez@creatis.insa-lyon.fr");
34 BBTK_DESCRIPTION("extracts");
35 BBTK_CATEGORY("__CategoryBlackBox__");
36 BBTK_INPUT(CutModule2,In,"Image",vtkImageData*,"");
37 BBTK_INPUT(CutModule2,Interactor,"WindowInteractor",vtkRenderWindowInteractor*,"");
38 BBTK_INPUT(CutModule2,Renderer,"Renderer",vtkRenderer*,"");
39 //BBTK_OUTPUT(CutModule2,Out,"Image output",vtkImageData*,"");
40 BBTK_END_DESCRIBE_BLACK_BOX(CutModel2);
41 }
42 // EO namespace bbcreaMaracasVisu
43
44 #endif // __bbcreaMaracasVisuCutModule2_h_INCLUDED__
45 #endif // _USE_WXWIDGETS_
46