]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkStreamTracer.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStreamTracer.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 __bbcreaVtkStreamTracer_h_INCLUDED__
5 #define __bbcreaVtkStreamTracer_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 "vtkPolyData.h"
13
14 #include "creaVtkStreamTracer.h"
15
16 namespace bbcreaVtk
17 {
18
19 class bbcreaVtk_EXPORT StreamTracer
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(StreamTracer,bbtk::AtomicBlackBox);
24 //===== 
25 // 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)
26 //===== 
27   BBTK_DECLARE_INPUT(Active,bool);
28   BBTK_DECLARE_INPUT(In,vtkDataObject*);
29   BBTK_DECLARE_INPUT(Source,vtkDataSet*);
30   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
31   BBTK_PROCESS(Process);
32   void Process();
33
34 private:
35    creaVtkStreamTracer  creavtkstreamtracer;
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(StreamTracer,bbtk::AtomicBlackBox);
43         BBTK_NAME("StreamTracer");
44         BBTK_AUTHOR("InfoDev Creatis");
45         BBTK_DESCRIPTION("No Description.");
46         BBTK_CATEGORY("empty");
47         BBTK_INPUT(StreamTracer,Active,"Active true/false (default true)",bool,"");
48         BBTK_INPUT(StreamTracer,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
49         BBTK_INPUT(StreamTracer,Source,"(needed) vtkDataSet. (Example vtkPointSource->GetOutput() )",vtkDataSet*,"");
50         BBTK_OUTPUT(StreamTracer,Out,"vtkPolyData output",vtkPolyData*,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(StreamTracer);
52 //===== 
53 // 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)
54 //===== 
55 }
56 // EO namespace bbcreaVtk
57
58 #endif // __bbcreaVtkStreamTracer_h_INCLUDED__
59