2 #ifndef __bbcreaMaracasVisuRenderingViewer_h_INCLUDED__
3 #define __bbcreaMaracasVisuRenderingViewer_h_INCLUDED__
4 #include "bbcreaMaracasVisu_EXPORT.h"
5 #include "bbtkWxBlackBox.h"
7 #include "vtkImageData.h"
8 //#include "vtkRenderer.h"
11 namespace bbcreaMaracasVisu
14 class bbcreaMaracasVisu_EXPORT RenderingViewer
16 public bbtk::WxBlackBox
18 BBTK_BLACK_BOX_INTERFACE(RenderingViewer,bbtk::WxBlackBox);
19 //BBTK_DECLARE_INPUT(Title,std::string);
20 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
21 //BBTK_DECLARE_INPUT(RendererSA,vtkRenderer*);
22 //BBTK_DECLARE_INPUT(RendererSB,vtkRenderer*);
23 //BBTK_DECLARE_INPUT(RendererSC,vtkRenderer*);
24 BBTK_DECLARE_INPUT(In1,vtkImageData*);
25 BBTK_DECLARE_INPUT(In2,vtkImageData*);
26 BBTK_DECLARE_INPUT(In3,vtkImageData*);
27 BBTK_DECLARE_INPUT(In4,vtkImageData*);
28 BBTK_DECLARE_OUTPUT(Out1,vtkImageData*);
29 BBTK_DECLARE_OUTPUT(Out2,vtkImageData*);
30 BBTK_DECLARE_OUTPUT(Out3,vtkImageData*);
31 BBTK_DECLARE_OUTPUT(Out4,vtkImageData*);
32 BBTK_PROCESS(Process);
34 BBTK_CREATE_WIDGET(CreateWidget);
35 void CreateWidget(wxWindow*);
38 vtkRenderer* _currentrenderer;
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(RenderingViewer,bbtk::WxBlackBox);
42 BBTK_NAME("RenderingViewer");
43 BBTK_AUTHOR("Carolina Perez");
44 BBTK_DESCRIPTION("Complex box which gathers VolumeRendering and SurfaceRendering funtionalities");
45 BBTK_CATEGORY("__CategoryBlackBox__");
46 //BBTK_INPUT(RenderingViewer,Title,"Title prepended to the text",std::string,"");
47 BBTK_INPUT(RenderingViewer,Renderer,"Renderer to show volume rendering image" ,vtkRenderer*, "");
48 //BBTK_INPUT(RenderingViewer,RendererSA,"Renderer to show surface rendering image" ,vtkRenderer*, "");
49 //BBTK_INPUT(RenderingViewer,RendererSB,"Renderer to show surface rendering image" ,vtkRenderer*, "");
50 //BBTK_INPUT(RenderingViewer,RendererSC,"Renderer to show surface rendering image" ,vtkRenderer*, "");
51 BBTK_INPUT(RenderingViewer,In1,"Input image to the Rendering",vtkImageData*,"");
52 BBTK_INPUT(RenderingViewer,In2,"Input image to the Rendering",vtkImageData*,"");
53 BBTK_INPUT(RenderingViewer,In3,"Input image to the Rendering",vtkImageData*,"");
54 BBTK_INPUT(RenderingViewer,In4,"Input image to the Rendering",vtkImageData*,"");
55 BBTK_OUTPUT(RenderingViewer,Out1,"Output resulting image",vtkImageData*,"");
56 BBTK_OUTPUT(RenderingViewer,Out2,"Output resulting image",vtkImageData*,"");
57 BBTK_OUTPUT(RenderingViewer,Out3,"Output resulting image",vtkImageData*,"");
58 BBTK_OUTPUT(RenderingViewer,Out4,"Output resulting image",vtkImageData*,"");
59 BBTK_END_DESCRIBE_BLACK_BOX(RenderingViewer);
61 // EO namespace bbcreaMaracasVisu
63 #endif // __bbcreaMaracasVisuRenderingViewer_h_INCLUDED__
64 #endif // _USE_WXWIDGETS_