1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
26 #ifdef _USE_WXWIDGETS_
27 #ifndef __bbcreaMaracasVisuSurfaceRendering_h_INCLUDED__
28 #define __bbcreaMaracasVisuSurfaceRendering_h_INCLUDED__
29 #include "bbcreaMaracasVisu_EXPORT.h"
30 #include "bbtkWxBlackBox.h"
31 #include "vtkRenderWindowInteractor.h"
33 #include "vtkImageData.h"
34 #include "vtkProp3D.h"
36 //#include "marInterface.h"
38 namespace bbcreaMaracasVisu
41 class bbcreaMaracasVisu_EXPORT SurfaceRendering
43 public bbtk::WxBlackBox
45 BBTK_BLACK_BOX_INTERFACE(SurfaceRendering,bbtk::WxBlackBox);
46 //BBTK_DECLARE_INPUT(In,vtkImageData*);
47 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
48 BBTK_DECLARE_INPUT(Interactor,vtkRenderWindowInteractor*);
49 BBTK_DECLARE_INPUT(In0,vtkImageData*);
50 BBTK_DECLARE_INPUT(In1,vtkImageData*);
51 BBTK_DECLARE_INPUT(In2,vtkImageData*);
52 BBTK_DECLARE_INPUT(In3,vtkImageData*);
53 BBTK_DECLARE_INPUT(In4,vtkImageData*);
55 BBTK_DECLARE_OUTPUT(Out1,vtkImageData*);
56 BBTK_DECLARE_OUTPUT(Out2,vtkImageData*);
57 BBTK_DECLARE_OUTPUT(Out3,vtkImageData*);
58 BBTK_DECLARE_OUTPUT(Out4,vtkImageData*);
59 BBTK_PROCESS(Process);
61 BBTK_CREATE_WIDGET(CreateWidget);
62 void CreateWidget(wxWindow*);
68 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SurfaceRendering,bbtk::WxBlackBox);
69 BBTK_NAME("SurfaceRendering");
70 BBTK_AUTHOR("car-prie@uniandes.edu.co");
71 BBTK_DESCRIPTION("Black Box of the module SurfaceRendering");
72 BBTK_CATEGORY("actor");
73 //BBTK_INPUT(SurfaceRendering,In,"Renderer to show the different prop3D",vtkImageData*,"");
74 BBTK_INPUT(SurfaceRendering,Renderer,"Renderer to show the different prop3D",vtkRenderer*,"");
75 BBTK_INPUT(SurfaceRendering,Interactor,"Renderer to show the different prop3D",vtkRenderWindowInteractor*,"");
76 BBTK_INPUT(SurfaceRendering,In0,"Input image to the SurfaceRendering",vtkImageData*,"");
77 BBTK_INPUT(SurfaceRendering,In1,"Input image to the SurfaceRendering",vtkImageData*,"");
78 BBTK_INPUT(SurfaceRendering,In2,"Input image to the SurfaceRendering",vtkImageData*,"");
79 BBTK_INPUT(SurfaceRendering,In3,"Input image to the SurfaceRendering",vtkImageData*,"");
80 BBTK_INPUT(SurfaceRendering,In4,"Input image to the SurfaceRendering",vtkImageData*,"");
81 BBTK_OUTPUT(SurfaceRendering,Out1,"Output resulting image",vtkImageData*,"");
82 BBTK_OUTPUT(SurfaceRendering,Out2,"Output resulting image",vtkImageData*,"");
83 BBTK_OUTPUT(SurfaceRendering,Out3,"Output resulting image",vtkImageData*,"");
84 BBTK_OUTPUT(SurfaceRendering,Out4,"Output resulting image",vtkImageData*,"");
85 BBTK_END_DESCRIBE_BLACK_BOX(SurfaceRendering);
87 // EO namespace bbcreaMaracasVisu
89 #endif // __bbcreaMaracasVisuSurfaceRendering_h_INCLUDED__
90 #endif // _USE_WXWIDGETS_