//===== // 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) //===== #ifndef __bbvtkText3D_h_INCLUDED__ #define __bbvtkText3D_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkProp3D.h" #include "vtkRenderer.h" #include "vtkLinearTransform.h" #include "vtkTextActor3D.h" #include "vtkTextProperty.h" namespace bbvtk { class bbvtk_EXPORT Text3D : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(Text3D,bbtk::AtomicBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(In,std::string); BBTK_DECLARE_INPUT(X,int); BBTK_DECLARE_INPUT(Y,int); BBTK_DECLARE_INPUT(Z,int); BBTK_DECLARE_INPUT(Colour,std::vector); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*); BBTK_DECLARE_OUTPUT(Out,vtkProp3D*); BBTK_PROCESS(Process); void Process(); vtkTextActor3D *_textActor; vtkTextProperty *_textProp; //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(Text3D,bbtk::AtomicBlackBox); BBTK_NAME("Text3D"); BBTK_AUTHOR("Info-Deb"); BBTK_DESCRIPTION("Text in 3D vtkRender"); BBTK_CATEGORY(""); BBTK_INPUT(Text3D,In,"Input Text",std::string,""); BBTK_INPUT(Text3D,X,"position X",int,""); BBTK_INPUT(Text3D,Y,"position Y",int,""); BBTK_INPUT(Text3D,Z,"position Z",int,""); BBTK_INPUT(Text3D,Colour,"Colour vector RGB",std::vector,""); BBTK_INPUT(Text3D,Renderer,"vtk Renderer",vtkRenderer*,""); BBTK_INPUT(Text3D,Transform,"",vtkLinearTransform*,""); BBTK_OUTPUT(Text3D,Out,"vtk Actor",vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(Text3D); //===== // 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) //===== } // EO namespace bbvtk #endif // __bbvtkText3D_h_INCLUDED__