2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbcreaVtkPlaneWidget_h_INCLUDED__
5 #define __bbcreaVtkPlaneWidget_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "creaVtkPlaneWidget.h"
12 #include "vtkImageData.h"
13 #include "vtkPlaneSource.h"
14 #include "vtkRenderer.h"
22 class boxcreaVtkPlaneWidget : public creaVtkPlaneWidget
25 virtual void Execute();
31 class bbcreaVtk_EXPORT PlaneWidget
33 public bbtk::AtomicBlackBox
35 BBTK_BLACK_BOX_INTERFACE(PlaneWidget,bbtk::AtomicBlackBox);
37 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
39 BBTK_DECLARE_INPUT(Active,bool);
40 BBTK_DECLARE_INPUT(In,vtkImageData*);
41 BBTK_DECLARE_INPUT(Resolution,int);
42 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
43 BBTK_DECLARE_OUTPUT(Out,vtkDataSet*);
44 BBTK_PROCESS(Process);
47 boxcreaVtkPlaneWidget _boxcreavtkplanewidget;
50 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
55 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PlaneWidget,bbtk::AtomicBlackBox);
56 BBTK_NAME("PlaneWidget");
57 BBTK_AUTHOR("ED at Info-Dev Creatis");
58 BBTK_DESCRIPTION("No Description.");
59 BBTK_CATEGORY("empty");
60 BBTK_INPUT(PlaneWidget,Active,"Active widget (false default)",bool,"");
61 BBTK_INPUT(PlaneWidget,In,"Reference Image",vtkImageData*,"");
62 BBTK_INPUT(PlaneWidget,Resolution,"Resolution (60 default)",int,"");
63 BBTK_INPUT(PlaneWidget,Renderer,"vtkRenderer",vtkRenderer*,"");
64 BBTK_OUTPUT(PlaneWidget,Out,"Dynamic plane result from vtkPlaneSource",vtkDataSet*,"");
65 BBTK_END_DESCRIBE_BLACK_BOX(PlaneWidget);
67 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
70 // EO namespace bbcreaVtk
72 #endif // __bbcreaVtkPlaneWidget_h_INCLUDED__