X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuDrawAxe3D.h;h=da174e61361f8a1805b69f21befcd26d70c9186e;hb=a7017a8ade695bd14a4c7ee70b197d63b5e76765;hp=a18b95615ca30bb3f10caf9666a0ddd741fed0df;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuDrawAxe3D.h b/bbtk/src/bbmaracasvisuDrawAxe3D.h index a18b956..da174e6 100644 --- a/bbtk/src/bbmaracasvisuDrawAxe3D.h +++ b/bbtk/src/bbmaracasvisuDrawAxe3D.h @@ -47,6 +47,7 @@ class /*BBTK_EXPORT*/ DrawAxe3D BBTK_DECLARE_INPUT(lstPointY,std::vector); BBTK_DECLARE_INPUT(lstPointZ,std::vector); BBTK_DECLARE_INPUT(Colour,std::vector); + BBTK_DECLARE_INPUT(Opacity,double); BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *); BBTK_DECLARE_OUTPUT(Out,vtkProp3D *); @@ -55,9 +56,9 @@ class /*BBTK_EXPORT*/ DrawAxe3D void Process(); private: - bool firsttime; - vtkPolyData *mallData; - vtkActor *mvtkactor; + bool firsttime; + vtkPolyData *mallData; + vtkActor *mvtkactor; vtkPolyDataMapper *polydatamapper; }; @@ -72,6 +73,7 @@ BBTK_CATEGORY("actor"); BBTK_INPUT(DrawAxe3D,lstPointY,"list of point Y",std::vector,""); BBTK_INPUT(DrawAxe3D,lstPointZ,"list of point Z",std::vector,""); BBTK_INPUT(DrawAxe3D,Colour,"Color of the line R(0..1) G(0..1) B(0..1) ",std::vector,"colour"); + BBTK_INPUT(DrawAxe3D,Opacity,"Axe opacity property ",double,"intensity"); BBTK_INPUT(DrawAxe3D,Transform,"vtkTransform", vtkLinearTransform *,""); BBTK_OUTPUT(DrawAxe3D,Out,"Actor",vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(DrawAxe3D);