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