]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuIRMViewer.h
12f7563c0f031c46d970be8e4c18284177ddaf32
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuIRMViewer.h
1 #ifdef _USE_WXWIDGETS_
2 #ifndef __bbcreaMaracasVisuIRMViewer_h_INCLUDED__
3 #define __bbcreaMaracasVisuIRMViewer_h_INCLUDED__
4 #include "bbcreaMaracasVisu_EXPORT.h"
5 #include "bbtkWxBlackBox.h"
6
7 #include "vtkImageData.h"
8 #include "vtkProp3D.h"
9
10 //#include "marInterface.h"
11
12 namespace bbcreaMaracasVisu
13 {
14
15 class bbcreaMaracasVisu_EXPORT IRMViewer
16  : 
17    public bbtk::WxBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(IRMViewer,bbtk::WxBlackBox);
20 //==================================================================
21 /// User callback called in the box contructor
22 virtual void bbUserConstructor();
23 /// User callback called in the box copy constructor
24 virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
25 /// User callback called in the box destructor
26 virtual void bbUserDestructor();
27 //==================================================================
28   //BBTK_DECLARE_INPUT(In,vtkImageData*);
29   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
30   BBTK_DECLARE_INPUT(In0,vtkProp3D*);  
31   BBTK_DECLARE_INPUT(In1,vtkProp3D*);
32   BBTK_DECLARE_INPUT(In2,vtkProp3D*);
33   BBTK_DECLARE_INPUT(In3,vtkProp3D*);
34   BBTK_DECLARE_INPUT(In4,vtkProp3D*);
35   BBTK_PROCESS(Process);
36   void Process();
37   BBTK_CREATE_WIDGET(CreateWidget);
38   void CreateWidget(wxWindow*);
39
40 private:
41         //marInterface* mar;
42 };
43
44 BBTK_BEGIN_DESCRIBE_BLACK_BOX(IRMViewer,bbtk::WxBlackBox);
45 BBTK_NAME("IRMViewer");
46 BBTK_AUTHOR("car-prie@uniandes.edu.co");
47 BBTK_DESCRIPTION("BB of the module IRMViewer");
48 BBTK_CATEGORY("__CategoryBlackBox__");
49 //BBTK_INPUT(IRMViewer,In,"Renderer to show the different prop3D",vtkImageData*,"");
50 BBTK_INPUT(IRMViewer,Renderer,"Renderer to show the different prop3D",vtkRenderer*,"");
51 BBTK_INPUT(IRMViewer,In0,"prop3D to the IRMViewer",vtkProp3D*,"");
52 BBTK_INPUT(IRMViewer,In1,"prop3D to the IRMViewer",vtkProp3D*,"");
53 BBTK_INPUT(IRMViewer,In2,"prop3D to the IRMViewer",vtkProp3D*,"");
54 BBTK_INPUT(IRMViewer,In3,"prop3D to the IRMViewer",vtkProp3D*,"");
55 BBTK_INPUT(IRMViewer,In4,"prop3D to the IRMViewer",vtkProp3D*,"");
56 BBTK_END_DESCRIBE_BLACK_BOX(IRMViewer);
57 }
58 // EO namespace bbcreaMaracasVisu
59
60 #endif // __bbcreaMaracasVisuIRMViewer_h_INCLUDED__
61 #endif // _USE_WXWIDGETS_
62