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)
4 #ifndef __bbcreaVtkStreamLineVisu_h_INCLUDED__
5 #define __bbcreaVtkStreamLineVisu_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkDataObject.h"
11 #include "vtkDataSet.h"
12 #include "vtkRenderer.h"
14 #include "creaVtkStreamLine.h"
21 class bbcreaVtk_EXPORT StreamLineVisu
23 public bbtk::AtomicBlackBox
25 BBTK_BLACK_BOX_INTERFACE(StreamLineVisu,bbtk::AtomicBlackBox);
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)
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);
41 creaVtkStreamLine creavtkstreamline;
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)
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");
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*,"");
63 BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu);
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)
68 // EO namespace bbcreaVtk
70 #endif // __bbcreaVtkStreamLineVisu_h_INCLUDED__