]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkVectorsVisu.h
VectorField 2D view
[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
13 #include "vtkVectorsVisu.h"
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT VectorsVisu
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(VectorsVisu,bbtk::AtomicBlackBox);
23 //===== 
24 // 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)
25 //===== 
26   BBTK_DECLARE_INPUT(Active,bool);
27   BBTK_DECLARE_INPUT(In,vtkDataObject*);
28   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
29   BBTK_DECLARE_INPUT(ScaleFactor,double);
30   BBTK_DECLARE_INPUT(Opacity,double);
31   BBTK_DECLARE_INPUT(TypeForm,int);
32   BBTK_DECLARE_INPUT(Orientation,int);
33   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
34   BBTK_PROCESS(Process);
35   void Process();
36
37 private:
38  vtkVectorsVisu vectorsvisu;
39
40 //===== 
41 // 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)
42 //===== 
43 };
44
45 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VectorsVisu,bbtk::AtomicBlackBox);
46 BBTK_NAME("VectorsVisu");
47 BBTK_AUTHOR("ED at InfoDev Creatis");
48 BBTK_DESCRIPTION("No Description.");
49 BBTK_CATEGORY("empty");
50  BBTK_INPUT(VectorsVisu,Active,"Active (false default)",bool,"");
51  BBTK_INPUT(VectorsVisu,In,"(needed) vtkDataObject. (Example vtkDataObject<-vtkDataSet<-vtkPointSet<-vtkPolyData (parrent class) )",vtkDataObject*,"");
52  BBTK_INPUT(VectorsVisu,ScaleFactor,"Scale factor (500 default)",double,"");
53  BBTK_INPUT(VectorsVisu,Opacity,"Opacity (1 default)",double,"");
54  BBTK_INPUT(VectorsVisu,Renderer,"vtkRenderer",vtkRenderer*,"");
55  BBTK_INPUT(VectorsVisu,TypeForm,"0 Line, 1 Arrow   (default 0)",int,"");
56  BBTK_INPUT(VectorsVisu,Orientation,"(default 0) 0=3D, 1=xy, 2=yz, 3=xz",int,"");
57  BBTK_OUTPUT(VectorsVisu,Out,"vtkProp3D of an vtkActor",vtkProp3D*,"");
58 BBTK_END_DESCRIBE_BLACK_BOX(VectorsVisu);
59 //===== 
60 // 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)
61 //===== 
62 }
63 // EO namespace bbcreaVtk
64
65 #endif // __bbcreaVtkVectorsVisu_h_INCLUDED__
66