]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuDrawAxe3D.h
Linux compil
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuDrawAxe3D.h
index 01998b445d16187533b4b93745372d6ff68429d1..6058c470195d320a1bac00ad8983f72765b3c3f5 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "vtkRenderer.h"
 #include "vtkPolyData.h"
-
+#include "vtkLinearTransform.h"
 
 namespace bbcreaMaracasVisu
 {
@@ -20,7 +20,7 @@ class /*BBTK_EXPORT*/ DrawAxe3D
 /// User callback called in the box contructor
 virtual void bbUserConstructor();
 /// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
+virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer);
 /// User callback called in the box destructor
 virtual void bbUserDestructor();
 //==================================================================
@@ -29,6 +29,7 @@ virtual void bbUserDestructor();
   BBTK_DECLARE_INPUT(lstPointY,std::vector<double>);
   BBTK_DECLARE_INPUT(lstPointZ,std::vector<double>);
   BBTK_DECLARE_INPUT(Colour,std::vector<double>);
+  BBTK_DECLARE_INPUT(Transform, vtkLinearTransform *);
   BBTK_DECLARE_OUTPUT(Out,vtkProp3D *);
 
 //  BBTK_DECLARE_OUTPUT(Out,double);
@@ -52,6 +53,7 @@ BBTK_CATEGORY("__CATEGORY__");
   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,Transform,"vtkTransform", vtkLinearTransform *,"");
   BBTK_OUTPUT(DrawAxe3D,Out,"Actor",vtkProp3D*,"");
 BBTK_END_DESCRIBE_BLACK_BOX(DrawAxe3D);
 }