//===== // 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 __bbcreaVtkPointPicker_h_INCLUDED__ #define __bbcreaVtkPointPicker_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkCommand.h" #include "vtkRenderer.h" namespace bbcreaVtk { //--------------------------------------------- class creaVtkCallbackPointPicker : public vtkCommand { public: static creaVtkCallbackPointPicker *New() { return new creaVtkCallbackPointPicker; } void Delete() { delete this; } virtual void Execute(vtkObject *caller, unsigned long, void*); }; //--------------------------------------------- //--------------------------------------------- //--------------------------------------------- class bbcreaVtk_EXPORT PointPicker : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(PointPicker,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(Renderer,vtkRenderer*); BBTK_DECLARE_OUTPUT(Out,std::vector); BBTK_PROCESS(Process); void Process(); bool firsttime; //===== // 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(PointPicker,bbtk::AtomicBlackBox); BBTK_NAME("PointPicker"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(PointPicker,Renderer,"vtk Renderer",vtkRenderer*,""); BBTK_OUTPUT(PointPicker,Out,"First output",std::vector,""); BBTK_END_DESCRIBE_BLACK_BOX(PointPicker); //===== // 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 // __bbcreaVtkPointPicker_h_INCLUDED__