]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkStreamLineVisu.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStreamLineVisu.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 __bbcreaVtkStreamLineVisu_h_INCLUDED__
5 #define __bbcreaVtkStreamLineVisu_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkDataObject.h"
11 #include "vtkDataSet.h"
12
13 #include "vtkPolyData.h"
14 #include "vtkRenderer.h"
15
16 #include "creaVtkStreamLine.h"
17
18 namespace bbcreaVtk
19 {
20
21 class bbcreaVtk_EXPORT StreamLineVisu
22  : 
23    public bbtk::AtomicBlackBox
24 {
25   BBTK_BLACK_BOX_INTERFACE(StreamLineVisu,bbtk::AtomicBlackBox);
26 //===== 
27 // 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)
28 //===== 
29
30   BBTK_DECLARE_INPUT(In,vtkDataObject*);
31   BBTK_DECLARE_INPUT(Source,vtkDataSet*);
32
33
34   BBTK_DECLARE_INPUT(Active,bool);
35   BBTK_DECLARE_INPUT(PolyData,vtkPolyData*);
36   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
37   BBTK_DECLARE_INPUT(Opacity,double);
38   BBTK_DECLARE_INPUT(ScaleFactor,double);
39   BBTK_DECLARE_INPUT(TypeForm,int);
40   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
41   BBTK_PROCESS(Process);
42   void Process();
43
44 private:
45   creaVtkStreamLine  creavtkstreamline;
46
47 //===== 
48 // 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)
49 //===== 
50 };
51
52 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StreamLineVisu,bbtk::AtomicBlackBox);
53  BBTK_NAME("StreamLineVisu");
54  BBTK_AUTHOR("ED at InfoDev Creatis");
55  BBTK_DESCRIPTION("vtk Stream Line");
56  BBTK_CATEGORY("empty");
57
58  BBTK_INPUT(StreamLineVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
59  BBTK_INPUT(StreamLineVisu,Source,"(needed) vtkDataSet. (Example vtkPointSource->GetOutput() )",vtkDataSet*,"");
60
61  BBTK_INPUT(StreamLineVisu,Active,"Active (false default)",bool,"");
62  BBTK_INPUT(StreamLineVisu,PolyData,"(needed) vtkPolyData.",vtkPolyData*,"");
63  BBTK_INPUT(StreamLineVisu,Opacity,"Opacity (1 default)",double,"");
64  BBTK_INPUT(StreamLineVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
65  BBTK_INPUT(StreamLineVisu,ScaleFactor,"Scale factor",double,"");
66  BBTK_INPUT(StreamLineVisu,TypeForm,"Type of form : 0(default) Tubes, 1 Ribbons,2 Lines",int,"");
67  BBTK_OUTPUT(StreamLineVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
68
69 BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu);
70 //===== 
71 // 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)
72 //===== 
73 }
74 // EO namespace bbcreaVtk
75
76 #endif // __bbcreaVtkStreamLineVisu_h_INCLUDED__
77