X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkBoxWidget.h;h=9f5d104cb531159e2bda64f42778ed25bc874e53;hb=84f24d4ef3aa0376ced29fe7f3a43127cc2d3aa4;hp=ca223de29eba4a61ecbd20049c1b3fa5fb488af2;hpb=b146797e0ad985788de697dcb3e6a48f4a2a488a;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h b/bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h index ca223de..9f5d104 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h @@ -12,6 +12,8 @@ #include "vtkRenderer.h" #include "vtkImplicitFunction.h" #include "vtkPlanes.h" +#include "vtkImageData.h" +#include "vtkLinearTransform.h" namespace bbcreaVtk { @@ -24,16 +26,26 @@ class bbcreaVtk_EXPORT BoxWidget //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== - BBTK_DECLARE_INPUT( Active , bool ); - BBTK_DECLARE_INPUT( Renderer , vtkRenderer* ); - BBTK_DECLARE_OUTPUT( ImplicitFunction , vtkImplicitFunction* ); + BBTK_DECLARE_INPUT( Active , bool ); + BBTK_DECLARE_INPUT( InitBoxChangeImage , bool ); + BBTK_DECLARE_INPUT( TransformIn , vtkLinearTransform* ); + BBTK_DECLARE_INPUT( Renderer , vtkRenderer* ); + BBTK_DECLARE_INPUT( ImageInitSize , vtkImageData* ); + BBTK_DECLARE_OUTPUT( ImplicitFunction , vtkImplicitFunction* ); + BBTK_DECLARE_OUTPUT( TransformOut , vtkLinearTransform* ); + BBTK_DECLARE_OUTPUT( Box_BoxWidget , BoxWidget* ); + BBTK_PROCESS(Process); - void Process(); + + void SetTransform( vtkLinearTransform* transform ); + void Process(); bool firsttime; vtkBoxWidget *boxWidget; vtkPlanes *planes; -//===== + vtkTransform *transformOut; + +//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== }; @@ -41,13 +53,18 @@ class bbcreaVtk_EXPORT BoxWidget BBTK_BEGIN_DESCRIBE_BLACK_BOX(BoxWidget,bbtk::AtomicBlackBox); BBTK_NAME("BoxWidget"); BBTK_AUTHOR("InfoDev"); - BBTK_DESCRIPTION("No Description."); + BBTK_DESCRIPTION("(C++,Python) No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(BoxWidget,Active,"(default false) true/false",bool,""); + BBTK_INPUT(BoxWidget,InitBoxChangeImage,"(default false) true/false",bool,""); + BBTK_INPUT(BoxWidget,TransformIn,"vtkLinearTransform",vtkLinearTransform*,""); + BBTK_INPUT(BoxWidget,ImageInitSize,"(default NULL=> 0,500,0,500,0,500) Boudaring image size ",vtkImageData*,""); BBTK_INPUT(BoxWidget,Renderer,"vtkRenderer",vtkRenderer*,""); BBTK_OUTPUT(BoxWidget,ImplicitFunction,"vtkImplicitFunction",vtkImplicitFunction*,""); + BBTK_OUTPUT(BoxWidget,TransformOut,"vtkLinearTransform",vtkLinearTransform*,""); + BBTK_OUTPUT(BoxWidget,Box_BoxWidget,"bbtk Box BoxWidget",BoxWidget*,""); BBTK_END_DESCRIBE_BLACK_BOX(BoxWidget); //=====