X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkScreenShot.h;fp=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkScreenShot.h;h=307d8f79e96aa81eab34701d668e19070a6c676b;hb=3d95096f97588894dd9a5ffbb8b2c8e6c111cd29;hp=0000000000000000000000000000000000000000;hpb=b14773c04cfae41766a01441d155225c9fc4668f;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkScreenShot.h b/bbtk_creaVtk_PKG/src/bbcreaVtkScreenShot.h new file mode 100644 index 0000000..307d8f7 --- /dev/null +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkScreenShot.h @@ -0,0 +1,51 @@ +//===== +// 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(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,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__ +