]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkSetCameraInfo.h
#3233 creaVtk Feature New Normal - GetCameraInfo SetCameraInfo ScreenShot
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkSetCameraInfo.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 __bbcreaVtkSetCameraInfo_h_INCLUDED__
5 #define __bbcreaVtkSetCameraInfo_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkRenderer.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT SetCameraInfo
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(SetCameraInfo,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(vtkRenderer,vtkRenderer*);
24   BBTK_DECLARE_INPUT(ViewUp,std::vector<double>);
25   BBTK_DECLARE_INPUT(FocalPoint,std::vector<double>);
26   BBTK_DECLARE_INPUT(Position,std::vector<double>);
27 //  BBTK_DECLARE_OUTPUT(Out,double);
28   BBTK_PROCESS(Process);
29   void Process();
30 //===== 
31 // 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)
32 //===== 
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SetCameraInfo,bbtk::AtomicBlackBox);
36   BBTK_NAME("SetCameraInfo");
37   BBTK_AUTHOR("InfoDev");
38   BBTK_DESCRIPTION("No Description.");
39   BBTK_CATEGORY("empty");
40   BBTK_INPUT(SetCameraInfo,vtkRenderer,"vtkRenderer",vtkRenderer*,"");
41   BBTK_INPUT(SetCameraInfo,ViewUp,"ViewUp[x,y,z]",std::vector<double>,"");
42   BBTK_INPUT(SetCameraInfo,FocalPoint,"FocalPoint[x,y,z]",std::vector<double>,"");
43   BBTK_INPUT(SetCameraInfo,Position,"Position[x,y,z]",std::vector<double>,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(SetCameraInfo);
45 //===== 
46 // 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)
47 //===== 
48 }
49 // EO namespace bbcreaVtk
50
51 #endif // __bbcreaVtkSetCameraInfo_h_INCLUDED__
52