]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkText3D.h
0dbe84f7fc400d6767418732e56701a40b50627d
[bbtk.git] / packages / vtk / src / bbvtkText3D.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 __bbvtkText3D_h_INCLUDED__
5 #define __bbvtkText3D_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkProp3D.h"
11 #include "vtkRenderer.h"
12 #include "vtkLinearTransform.h"
13
14
15 namespace bbvtk
16 {
17
18 class bbvtk_EXPORT Text3D
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(Text3D,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(In,std::string);
27         BBTK_DECLARE_INPUT(X,int);
28         BBTK_DECLARE_INPUT(Y,int);
29         BBTK_DECLARE_INPUT(Z,int);
30         BBTK_DECLARE_INPUT(Colour,std::vector<double>);
31         BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
32         BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
33         
34   BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
35   BBTK_PROCESS(Process);
36   void Process();
37 //===== 
38 // 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)
39 //===== 
40 };
41
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Text3D,bbtk::AtomicBlackBox);
43 BBTK_NAME("Text3D");
44 BBTK_AUTHOR("Info-Deb");
45 BBTK_DESCRIPTION("Text in 3D vtkRender");
46 BBTK_CATEGORY("");
47         
48         BBTK_INPUT(Text3D,In,"Input Text",std::string,"");
49         BBTK_INPUT(Text3D,X,"position X",int,"");
50         BBTK_INPUT(Text3D,Y,"position Y",int,"");
51         BBTK_INPUT(Text3D,Z,"position Z",int,"");
52         BBTK_INPUT(Text3D,Colour,"Colour vector RGB",std::vector<double>,"");
53         BBTK_INPUT(Text3D,Renderer,"vtk Renderer",vtkRenderer*,"");
54         BBTK_INPUT(Text3D,Transform,"",vtkLinearTransform*,"");
55
56         BBTK_OUTPUT(Text3D,Out,"vtk Actor",vtkProp3D*,"");
57
58 BBTK_END_DESCRIBE_BLACK_BOX(Text3D);
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 bbvtk
64
65 #endif // __bbvtkText3D_h_INCLUDED__
66