1 #ifndef __bbcreaMaracasVisuVolumeRendering_h_INCLUDED__
2 #define __bbcreaMaracasVisuVolumeRendering_h_INCLUDED__
3 #include "bbcreaMaracasVisu_EXPORT.h"
4 #include "bbtkWxBlackBox.h"
8 #include <vtkImageData.h>
9 #include <vtkRenderer.h>
12 namespace bbcreaMaracasVisu
15 class bbcreaMaracasVisu_EXPORT VolumeRendering
17 public bbtk::WxBlackBox
19 BBTK_BLACK_BOX_INTERFACE(VolumeRendering,bbtk::WxBlackBox);
23 BBTK_DECLARE_INPUT(In1,vtkImageData*);
24 BBTK_DECLARE_INPUT(In2,vtkImageData*);
25 BBTK_DECLARE_INPUT(In3,vtkImageData*);
26 BBTK_DECLARE_INPUT(In4,vtkImageData*);
27 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
30 /*BBTK_DECLARE_INPUT(GreyLevel, std::vector<double> );
31 BBTK_DECLARE_INPUT(Value, std::vector<double> );
32 BBTK_DECLARE_INPUT(GreyLevelColors, std::vector<double>);
33 BBTK_DECLARE_INPUT(Red, std::vector<double>);
34 BBTK_DECLARE_INPUT(Green, std::vector<double>);
35 BBTK_DECLARE_INPUT(Blue, std::vector<double>);*/
36 //BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
37 BBTK_PROCESS(Process);
39 BBTK_CREATE_WIDGET(CreateWidget);
40 void CreateWidget(wxWindow*);
43 vtkRenderer* _currentrenderer;
47 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VolumeRendering,bbtk::WxBlackBox);
48 BBTK_NAME("VolumeRendering");
49 BBTK_AUTHOR("car-prie@uniandes.edu.co");
50 BBTK_DESCRIPTION("Volume Rendering of a given image");
51 BBTK_CATEGORY("__CATEGORY__");
53 BBTK_INPUT(VolumeRendering,In1,"Image to create the volume rendering",vtkImageData*,"");
54 BBTK_INPUT(VolumeRendering,In2,"Image to create the volume rendering",vtkImageData*,"");
55 BBTK_INPUT(VolumeRendering,In3,"Image to create the volume rendering",vtkImageData*,"");
56 BBTK_INPUT(VolumeRendering,In4,"Image to create the volume rendering",vtkImageData*,"");
57 BBTK_INPUT(VolumeRendering,Renderer,"Image to create the volume rendering",vtkRenderer*,"");
60 //BBTK_OUTPUT(VolumeRendering,Out,"Prop3D resulting from the volume rendering",vtkProp3D*,"");
62 /*BBTK_INPUT(VolumeRendering,GreyLevel,"Greylevel related to the transparency",std::vector<double>,"");
63 BBTK_INPUT(VolumeRendering,Value,"Value of the transparency in the transfer function",std::vector<double>,"");
64 BBTK_INPUT(VolumeRendering,GreyLevelColors,"Grey level of the color in the transfer function",std::vector<double>,"");
65 BBTK_INPUT(VolumeRendering,Red,"Red value according to the GreyLevelColors",std::vector<double>,"");
66 BBTK_INPUT(VolumeRendering,Green,"Green value according to the GreyLevelColors",std::vector<double>,"");
67 BBTK_INPUT(VolumeRendering,Blue,"Blue value according to the GreyLevelColors",std::vector<double>,"");*/
68 BBTK_END_DESCRIBE_BLACK_BOX(VolumeRendering);
70 // EO namespace bbcreaMaracasVisu
72 #endif // __bbcreaMaracasVisuVolumeRendering_h_INCLUDED__