]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuText2D.h
b984841e19da02dc33c36438a818e384e940eaa6
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuText2D.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 __bbcreaMaracasVisuText2D_h_INCLUDED__
5 #define __bbcreaMaracasVisuText2D_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkProp.h"
11 #include "vtkRenderer.h"
12
13 namespace bbcreaMaracasVisu
14 {
15
16 class bbcreaMaracasVisu_EXPORT Text2D
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(Text2D,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(Renderer,vtkRenderer*);
26   BBTK_DECLARE_INPUT(X,double);
27   BBTK_DECLARE_INPUT(Y,double);
28   BBTK_DECLARE_INPUT(Z,double);
29   BBTK_DECLARE_INPUT(Opacity,double);
30   BBTK_DECLARE_OUTPUT( Out , vtkProp* );
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(Text2D,bbtk::AtomicBlackBox);
39   BBTK_NAME("Text2D");
40   BBTK_AUTHOR("Info-Dev Creatis");
41   BBTK_DESCRIPTION("No Description.");
42   BBTK_CATEGORY("empty");
43
44   BBTK_INPUT(Text2D,In,"Input text",std::string,"");
45   BBTK_INPUT(Text2D,Renderer,"Input text",vtkRenderer*,"");
46   BBTK_INPUT(Text2D,X,"Input text",double,"");
47   BBTK_INPUT(Text2D,Y,"Input text",double,"");
48   BBTK_INPUT(Text2D,Z,"Input text",double,"");
49   BBTK_INPUT(Text2D,Opacity,"Input text",double,"");
50
51   BBTK_OUTPUT(Text2D,Out,"vtk Prop",vtkProp*,"");
52
53 BBTK_END_DESCRIBE_BLACK_BOX(Text2D);
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 bbcreaMaracasVisu
59
60 #endif // __bbcreaMaracasVisuText2D_h_INCLUDED__
61