]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkVectorsVisu.h
14b1e569a64eec7c981742380f118055ff3bb28b
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkVectorsVisu.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 __bbcreaVtkVectorsVisu_h_INCLUDED__
5 #define __bbcreaVtkVectorsVisu_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkRenderer.h"
11 #include "vtkDataObject.h"
12 #include "vtkScalarsToColors.h"
13
14 #include "vtkVectorsVisu.h"
15
16 namespace bbcreaVtk
17 {
18
19 class bbcreaVtk_EXPORT VectorsVisu
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(VectorsVisu,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(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);
37   void Process();
38
39 private:
40  vtkVectorsVisu vectorsvisu;
41
42 //===== 
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)
44 //===== 
45 };
46
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");
52   BBTK_INPUT(VectorsVisu,Active,"Active (false default)",bool,"");
53   BBTK_INPUT(VectorsVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
54   BBTK_INPUT(VectorsVisu,ScaleFactor,"Scale factor (500 default)",double,"");
55   BBTK_INPUT(VectorsVisu,Opacity,"Opacity (1 default)",double,"");
56   BBTK_INPUT(VectorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
57   BBTK_INPUT(VectorsVisu,TypeForm,"0 Line, 1 Arrow   (default 0)",int,"");
58   BBTK_INPUT(VectorsVisu,Orientation,"(default 5) -1=xy, 0=yz, 1=yz, 2=xz, 5=3D, 6=3D",int,"");
59   BBTK_INPUT(VectorsVisu,ExternalLut,"Lookuptable",vtkScalarsToColors*,"");
60   BBTK_OUTPUT(VectorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
61 BBTK_END_DESCRIBE_BLACK_BOX(VectorsVisu);
62 //===== 
63 // 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)
64 //===== 
65 }
66 // EO namespace bbcreaVtk
67
68 #endif // __bbcreaVtkVectorsVisu_h_INCLUDED__
69