X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkText3D.h;fp=packages%2Fvtk%2Fsrc%2FbbvtkText3D.h;h=073d427a9424f11fcce2c200889a96ef7b4a56e3;hb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;hp=af788d6910d1d5c2af5ee2588da73c309691c12a;hpb=c2d2ccbc4bac635e5d0b802d9830efd94b060dab;p=bbtk.git diff --git a/packages/vtk/src/bbvtkText3D.h b/packages/vtk/src/bbvtkText3D.h index af788d6..073d427 100644 --- a/packages/vtk/src/bbvtkText3D.h +++ b/packages/vtk/src/bbvtkText3D.h @@ -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); 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,""); + BBTK_INPUT(Text3D,Opacity,"0..1 (default 1)",double,""); + BBTK_INPUT(Text3D,Colour,"Colour vector RGB < 0..1 , 0..1 , 0..1 >",std::vector,""); BBTK_INPUT(Text3D,Renderer,"vtk Renderer",vtkRenderer*,""); BBTK_INPUT(Text3D,Transform,"",vtkLinearTransform*,"");