]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.h
903f50f3b9a004b93a3f4460425c8ab1a51d79de
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkTensorsVisu.h
1 //===== 
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)
3 //===== 
4 #ifndef __bbcreaVtkTensorsVisu_h_INCLUDED__
5 #define __bbcreaVtkTensorsVisu_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkRenderer.h"
11 #include "vtkDataObject.h"
12 #include "vtkTensorsVisu.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT TensorsVisu
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(TensorsVisu,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(Active,bool);
26   BBTK_DECLARE_INPUT(In,vtkDataObject*);
27   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
28   BBTK_DECLARE_INPUT(ScaleFactor,double);
29   BBTK_DECLARE_INPUT(Opacity,double);
30   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
31   BBTK_PROCESS(Process);
32   void Process();
33
34 private:
35  vtkTensorsVisu tensorsvisu;
36
37 //===== 
38 // 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 //===== 
40 };
41
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TensorsVisu,bbtk::AtomicBlackBox);
43 BBTK_NAME("TensorsVisu");
44 BBTK_AUTHOR("ED at InfoDev Creatis");
45 BBTK_DESCRIPTION("No Description.");
46 BBTK_CATEGORY("empty");
47  BBTK_INPUT(TensorsVisu,Active,"Active (false default)",bool,"");
48  BBTK_INPUT(TensorsVisu,In,"(needed) DataObject. (Example vtkPolyData (parrent class) )",vtkDataObject*,"");
49  BBTK_INPUT(TensorsVisu,ScaleFactor,"Scale factor (500 default)",double,"");
50  BBTK_INPUT(TensorsVisu,Opacity,"Opacity (1 default)",double,"");
51  BBTK_INPUT(TensorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
52  BBTK_OUTPUT(TensorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
53 BBTK_END_DESCRIBE_BLACK_BOX(TensorsVisu);
54 //===== 
55 // 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)
56 //===== 
57 }
58 // EO namespace bbcreaVtk
59
60 #endif // __bbcreaVtkTensorsVisu_h_INCLUDED__
61