]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuDrawAxe3D.h
#2516 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel with...
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuDrawAxe3D.h
index a18b95615ca30bb3f10caf9666a0ddd741fed0df..da174e61361f8a1805b69f21befcd26d70c9186e 100644 (file)
@@ -47,6 +47,7 @@ class /*BBTK_EXPORT*/ DrawAxe3D
   BBTK_DECLARE_INPUT(lstPointY,std::vector<double>);
   BBTK_DECLARE_INPUT(lstPointZ,std::vector<double>);
   BBTK_DECLARE_INPUT(Colour,std::vector<double>);
+  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<double>,"");
   BBTK_INPUT(DrawAxe3D,lstPointZ,"list of point Z",std::vector<double>,"");
   BBTK_INPUT(DrawAxe3D,Colour,"Color of the line R(0..1) G(0..1) B(0..1) ",std::vector<double>,"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);