]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkTensorsVisu.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[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_INPUT(TypeForm,int);
31   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
32   BBTK_PROCESS(Process);
33   void Process();
34
35 private:
36  vtkTensorsVisu tensorsvisu;
37
38 //===== 
39 // 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)
40 //===== 
41 };
42
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TensorsVisu,bbtk::AtomicBlackBox);
44 BBTK_NAME("TensorsVisu");
45 BBTK_AUTHOR("ED at InfoDev Creatis");
46 BBTK_DESCRIPTION("No Description.");
47 BBTK_CATEGORY("empty");
48  BBTK_INPUT(TensorsVisu,Active,"Active (false default)",bool,"");
49  BBTK_INPUT(TensorsVisu,In,"(needed) DataObject. (Example vtkPolyData (parrent class) )",vtkDataObject*,"");
50  BBTK_INPUT(TensorsVisu,ScaleFactor,"Scale factor (500 default)",double,"");
51  BBTK_INPUT(TensorsVisu,Opacity,"Opacity (1 default)",double,"");
52  BBTK_INPUT(TensorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
53  BBTK_INPUT(TensorsVisu,TypeForm,"0 Cube, 1 Sphere, 2 Superquadric  (default 0)",int,"");
54  BBTK_OUTPUT(TensorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
55 BBTK_END_DESCRIBE_BLACK_BOX(TensorsVisu);
56 //===== 
57 // 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)
58 //===== 
59 }
60 // EO namespace bbcreaVtk
61
62 #endif // __bbcreaVtkTensorsVisu_h_INCLUDED__
63