]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkText3D.h
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / vtk / src / bbvtkText3D.h
index af788d6910d1d5c2af5ee2588da73c309691c12a..073d427a9424f11fcce2c200889a96ef7b4a56e3 100644 (file)
@@ -56,6 +56,7 @@ class bbvtk_EXPORT Text3D
        BBTK_DECLARE_INPUT(X,int);
        BBTK_DECLARE_INPUT(Y,int);
        BBTK_DECLARE_INPUT(Z,int);
+       BBTK_DECLARE_INPUT(Opacity,double);
        BBTK_DECLARE_INPUT(Colour,std::vector<double>);
        BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
        BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
@@ -81,7 +82,8 @@ BBTK_CATEGORY("");
        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<double>,"");
+       BBTK_INPUT(Text3D,Opacity,"0..1   (default 1)",double,"");
+       BBTK_INPUT(Text3D,Colour,"Colour vector RGB  < 0..1 , 0..1 , 0..1 >",std::vector<double>,"");
        BBTK_INPUT(Text3D,Renderer,"vtk Renderer",vtkRenderer*,"");
        BBTK_INPUT(Text3D,Transform,"",vtkLinearTransform*,"");