]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkText2D.h
2366 BBTK Feature New Normal Text2D in vtk Package
[bbtk.git] / packages / vtk / src / bbvtkText2D.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 __bbvtkText2D_h_INCLUDED__
5 #define __bbvtkText2D_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkProp.h"
11 #include "vtkRenderer.h"
12
13 namespace bbvtk
14 {
15
16 class bbvtk_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(Point,std::vector<double>);
27   BBTK_DECLARE_INPUT(Opacity,double);
28   BBTK_DECLARE_OUTPUT( Out , vtkProp* );
29   BBTK_PROCESS(Process);
30   void Process();
31 //===== 
32 // 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)
33 //===== 
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Text2D,bbtk::AtomicBlackBox);
37   BBTK_NAME("Text2D");
38   BBTK_AUTHOR("Info-Dev");
39   BBTK_DESCRIPTION("No Description.");
40   BBTK_CATEGORY("empty");
41
42   BBTK_INPUT(Text2D,In,"Input text (default = 'VOID')",std::string,"");
43   BBTK_INPUT(Text2D,Renderer,"Input text",vtkRenderer*,"");
44   BBTK_INPUT(Text2D,Point,"Point [x,y,z]",std::vector<double>,"");
45   BBTK_INPUT(Text2D,Opacity,"Input text",double,"");
46
47   BBTK_OUTPUT(Text2D,Out,"vtk Prop",vtkProp*,"");
48
49 BBTK_END_DESCRIBE_BLACK_BOX(Text2D);
50 //===== 
51 // 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)
52 //===== 
53 }
54 // EO namespace bbvtk
55
56 #endif // __bbvtkText2D_h_INCLUDED__
57