]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkScreenShot.h
#3491 vtk9itk5wx3-macos
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkScreenShot.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbcreaVtkScreenShot_h_INCLUDED__
5 #define __bbcreaVtkScreenShot_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <vtkVersionMacros.h>
11 #include "vtkRenderer.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT ScreenShot
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(ScreenShot,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24   BBTK_DECLARE_INPUT(FileName,std::string);
25   BBTK_DECLARE_INPUT(Size,std::vector<int>);
26   BBTK_DECLARE_INPUT(Scale,std::vector<int>);
27   BBTK_DECLARE_INPUT(vtkRenderer,vtkRenderer*);
28 //  BBTK_DECLARE_OUTPUT(Out,double);
29   BBTK_PROCESS(Process);
30   void Process();
31 //===== 
32 // 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)
33 //===== 
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ScreenShot,bbtk::AtomicBlackBox);
37   BBTK_NAME("ScreenShot");
38   BBTK_AUTHOR("InfoDev");
39   BBTK_DESCRIPTION("No Description.");
40   BBTK_CATEGORY("empty");
41   BBTK_INPUT(ScreenShot,Size,"[sX,sY] size of the render window.  Default [actual window sX,  actual window sY]",std::vector<int>,"");
42   BBTK_INPUT(ScreenShot,Scale,"[scaleX,scaleY]  default [1,1]",std::vector<int>,"");
43   BBTK_INPUT(ScreenShot,FileName,"File Name Default:ScreenShot-BBTK.png",std::string,"");
44   BBTK_INPUT(ScreenShot,vtkRenderer,"First input",vtkRenderer*,"");
45 //  BBTK_OUTPUT(ScreenShot,Out,"First output",double,"");
46 BBTK_END_DESCRIBE_BLACK_BOX(ScreenShot);
47 //===== 
48 // 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)
49 //===== 
50 }
51 // EO namespace bbcreaVtk
52
53 #endif // __bbcreaVtkScreenShot_h_INCLUDED__
54