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)
4 #ifndef __bbvtkText3D_h_INCLUDED__
5 #define __bbvtkText3D_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkProp3D.h"
11 #include "vtkRenderer.h"
12 #include "vtkLinearTransform.h"
18 class bbvtk_EXPORT Text3D
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(Text3D,bbtk::AtomicBlackBox);
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)
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*);
34 BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
35 BBTK_PROCESS(Process);
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)
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Text3D,bbtk::AtomicBlackBox);
44 BBTK_AUTHOR("Info-Deb");
45 BBTK_DESCRIPTION("Text in 3D vtkRender");
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*,"");
56 BBTK_OUTPUT(Text3D,Out,"vtk Actor",vtkProp3D*,"");
58 BBTK_END_DESCRIBE_BLACK_BOX(Text3D);
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)
65 #endif // __bbvtkText3D_h_INCLUDED__