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 __bbcreaVtkVectorsVisu_h_INCLUDED__
5 #define __bbcreaVtkVectorsVisu_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkRenderer.h"
11 #include "vtkDataObject.h"
12 #include "vtkScalarsToColors.h"
14 #include "vtkVectorsVisu.h"
19 class bbcreaVtk_EXPORT VectorsVisu
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(VectorsVisu,bbtk::AtomicBlackBox);
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)
27 BBTK_DECLARE_INPUT(Active,bool);
28 BBTK_DECLARE_INPUT(In,vtkDataObject*);
29 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
30 BBTK_DECLARE_INPUT(ScaleFactor,double);
31 BBTK_DECLARE_INPUT(Opacity,double);
32 BBTK_DECLARE_INPUT(TypeForm,int);
33 BBTK_DECLARE_INPUT(Orientation,int);
34 BBTK_DECLARE_INPUT(ExternalLut,vtkScalarsToColors*);
35 BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
36 BBTK_PROCESS(Process);
40 vtkVectorsVisu vectorsvisu;
43 // 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)
47 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VectorsVisu,bbtk::AtomicBlackBox);
48 BBTK_NAME("VectorsVisu");
49 BBTK_AUTHOR("ED at InfoDev Creatis");
50 BBTK_DESCRIPTION("No Description.");
51 BBTK_CATEGORY("empty");
53 BBTK_INPUT(VectorsVisu,Active,"Active (false default)",bool,"");
54 BBTK_INPUT(VectorsVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
55 BBTK_INPUT(VectorsVisu,ScaleFactor,"Scale factor (500 default)",double,"");
56 BBTK_INPUT(VectorsVisu,Opacity,"Opacity (1 default)",double,"");
57 BBTK_INPUT(VectorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
58 BBTK_INPUT(VectorsVisu,TypeForm,"0 Line, 1 Arrow (default 0)",int,"");
59 BBTK_INPUT(VectorsVisu,Orientation,"(default -1) -1=3D, 0=yz, 1=xz, 2=xy",int,"");
60 BBTK_INPUT(VectorsVisu,ExternalLut,"Lookuptable",vtkScalarsToColors*,"");
62 BBTK_OUTPUT(VectorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
64 BBTK_END_DESCRIBE_BLACK_BOX(VectorsVisu);
66 // 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)
69 // EO namespace bbcreaVtk
71 #endif // __bbcreaVtkVectorsVisu_h_INCLUDED__