]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkText3D.h
Feature #1609 g packages/wxvtk/doc/bbdoc
[bbtk.git] / packages / vtk / src / bbvtkText3D.h
index 0afce281ae919d5abaa7cc5f3b2066e4d3666ad3..7bbca6c5e69dd6c1ec5bd8680d4925115adc3a45 100644 (file)
@@ -9,6 +9,10 @@
 
 #include "vtkProp3D.h"
 #include "vtkRenderer.h"
+#include "vtkLinearTransform.h"
+#include "vtkTextActor3D.h"
+#include "vtkTextProperty.h"
+
 
 namespace bbvtk
 {
@@ -27,9 +31,14 @@ class bbvtk_EXPORT Text3D
        BBTK_DECLARE_INPUT(Z,int);
        BBTK_DECLARE_INPUT(Colour,std::vector<double>);
        BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
-  BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
-  BBTK_PROCESS(Process);
-  void Process();
+       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)
 //===== 
@@ -47,6 +56,7 @@ BBTK_CATEGORY("");
        BBTK_INPUT(Text3D,Z,"position Z",int,"");
        BBTK_INPUT(Text3D,Colour,"Colour vector RGB",std::vector<double>,"");
        BBTK_INPUT(Text3D,Renderer,"vtk Renderer",vtkRenderer*,"");
+       BBTK_INPUT(Text3D,Transform,"",vtkLinearTransform*,"");
 
        BBTK_OUTPUT(Text3D,Out,"vtk Actor",vtkProp3D*,"");