//===== // 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 __bbcreaVtkScreenShot_h_INCLUDED__ #define __bbcreaVtkScreenShot_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkRenderer.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT ScreenShot : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ScreenShot,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(FileName,std::string); BBTK_DECLARE_INPUT(Size,std::vector); BBTK_DECLARE_INPUT(Scale,std::vector); BBTK_DECLARE_INPUT(vtkRenderer,vtkRenderer*); // BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); //===== // 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(ScreenShot,bbtk::AtomicBlackBox); BBTK_NAME("ScreenShot"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(ScreenShot,Size,"[sX,sY] size of the render window. Default [actual window sX, actual window sY]",std::vector,""); BBTK_INPUT(ScreenShot,Scale,"[scaleX,scaleY] default [1,1]",std::vector,""); BBTK_INPUT(ScreenShot,FileName,"File Name Default:ScreenShot-BBTK.png",std::string,""); BBTK_INPUT(ScreenShot,vtkRenderer,"First input",vtkRenderer*,""); // BBTK_OUTPUT(ScreenShot,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(ScreenShot); //===== // 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 // __bbcreaVtkScreenShot_h_INCLUDED__