//===== // 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) //===== #ifndef __bbcreaVtkPlaneWidget_h_INCLUDED__ #define __bbcreaVtkPlaneWidget_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "creaVtkPlaneWidget.h" #include "vtkImageData.h" #include "vtkPlaneSource.h" #include "vtkRenderer.h" namespace bbcreaVtk { class PlaneWidget; class boxcreaVtkPlaneWidget : public creaVtkPlaneWidget { public: virtual void Execute(); PlaneWidget *box; }; class bbcreaVtk_EXPORT PlaneWidget : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(PlaneWidget,bbtk::AtomicBlackBox); //===== // 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(In,vtkImageData*); BBTK_DECLARE_INPUT(Resolution,int); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_OUTPUT(Out,vtkDataSet*); BBTK_DECLARE_OUTPUT(Center,std::vector); BBTK_DECLARE_OUTPUT(Normal,std::vector); BBTK_PROCESS(Process); void Process(); boxcreaVtkPlaneWidget _boxcreavtkplanewidget; //===== // 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_BEGIN_DESCRIBE_BLACK_BOX(PlaneWidget,bbtk::AtomicBlackBox); BBTK_NAME("PlaneWidget"); BBTK_AUTHOR("ED at Info-Dev Creatis"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(PlaneWidget,Active,"Active widget (false default)",bool,""); BBTK_INPUT(PlaneWidget,In,"Reference Image",vtkImageData*,""); BBTK_INPUT(PlaneWidget,Resolution,"Resolution (60 default)",int,""); BBTK_INPUT(PlaneWidget,Renderer,"vtkRenderer",vtkRenderer*,""); BBTK_OUTPUT(PlaneWidget,Out,"Dynamic plane result from vtkPlaneSource",vtkDataSet*,""); BBTK_OUTPUT(PlaneWidget,Center,"Center of the plane",std::vector,""); BBTK_OUTPUT(PlaneWidget,Normal,"Normal of the plane",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(PlaneWidget); //===== // 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkPlaneWidget_h_INCLUDED__