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"
13 #include "vtkPolyData.h"
14 #include "vtkRenderer.h"
16 #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)
30 BBTK_DECLARE_INPUT(In,vtkDataObject*);
31 BBTK_DECLARE_INPUT(Source,vtkDataSet*);
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_INPUT(ColorLaw,int);
41 BBTK_DECLARE_INPUT(Color, std::vector<double> );
42 BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
43 BBTK_PROCESS(Process);
47 creaVtkStreamLine creavtkstreamline;
50 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(StreamLineVisu,bbtk::AtomicBlackBox);
55 BBTK_NAME("StreamLineVisu");
56 BBTK_AUTHOR("ED at InfoDev Creatis");
57 BBTK_DESCRIPTION("vtk Stream Line");
58 BBTK_CATEGORY("empty");
60 BBTK_INPUT(StreamLineVisu,Active,"Active (false default)",bool,"");
61 BBTK_INPUT(StreamLineVisu,PolyData,"(needed) vtkPolyData.",vtkPolyData*,"");
62 BBTK_INPUT(StreamLineVisu,Opacity,"Opacity (1 default)",double,"");
63 BBTK_INPUT(StreamLineVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
64 BBTK_INPUT(StreamLineVisu,ScaleFactor,"Scale factor",double,"");
65 BBTK_INPUT(StreamLineVisu,TypeForm,"Type of form : 0(default) Tubes, 1 Ribbons,2 Lines",int,"");
66 BBTK_INPUT(StreamLineVisu,ColorLaw,"(default 0) 0=Direction 1=MagnitudDirection 2=Solid",int,"");
67 BBTK_INPUT(StreamLineVisu,Color,"In case of ColorLaw=Solid the color is [R,G,B] 0..1",std::vector<double>,"");
69 BBTK_OUTPUT(StreamLineVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
71 BBTK_END_DESCRIBE_BLACK_BOX(StreamLineVisu);
73 // 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)
76 // EO namespace bbcreaVtk
78 #endif // __bbcreaVtkStreamLineVisu_h_INCLUDED__