]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkStreamLineVisu.h
302c45588dd610726a119a8e9288a3c6bce16d09
[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 #include "vtkRenderer.h"
13
14 #include "creaVtkStreamLine.h"
15
16
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   BBTK_DECLARE_INPUT(Active,bool);
30   BBTK_DECLARE_INPUT(In,vtkDataObject*);
31   BBTK_DECLARE_INPUT(Source,vtkDataSet*);
32   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
33   BBTK_DECLARE_INPUT(Opacity,double);
34   BBTK_DECLARE_INPUT(ScaleFactor,double);
35   BBTK_DECLARE_INPUT(TypeForm,int);
36   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
37   BBTK_PROCESS(Process);
38   void Process();
39
40 private:
41   creaVtkStreamLine  creavtkstreamline;
42
43 //===== 
44 // 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)
45 //===== 
46 };
47
48 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StreamLineVisu,bbtk::AtomicBlackBox);
49  BBTK_NAME("StreamLineVisu");
50  BBTK_AUTHOR("ED at InfoDev Creatis");
51  BBTK_DESCRIPTION("vtk Stream Line");
52  BBTK_CATEGORY("empty");
53
54  BBTK_INPUT(StreamLineVisu,Active,"Active (false default)",bool,"");
55  BBTK_INPUT(StreamLineVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
56  BBTK_INPUT(StreamLineVisu,Source,"(needed) vtkDataSet. (Example vtkPointSource->GetOutput() )",vtkDataSet*,"");
57  BBTK_INPUT(StreamLineVisu,Opacity,"Opacity (1 default)",double,"");
58  BBTK_INPUT(StreamLineVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
59  BBTK_INPUT(StreamLineVisu,ScaleFactor,"Scale factor",double,"");
60  BBTK_INPUT(StreamLineVisu,TypeForm,"Type of form : 0(default) Tube, 1 Ribbon",int,"");
61  BBTK_OUTPUT(StreamLineVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
62
63 BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu);
64 //===== 
65 // 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)
66 //===== 
67 }
68 // EO namespace bbcreaVtk
69
70 #endif // __bbcreaVtkStreamLineVisu_h_INCLUDED__
71