]> Creatis software - creaContours.git/blob - bbtk/src/bbcreaContoursSetViewerPosition.h
#3334 creaContours Feature New Normal - Control Refresh events from bbtk
[creaContours.git] / bbtk / src / bbcreaContoursSetViewerPosition.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 __bbcreaContoursSetViewerPosition_h_INCLUDED__
5 #define __bbcreaContoursSetViewerPosition_h_INCLUDED__
6
7 #include "bbcreaContours_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "wxContourMainFrame.h"
12
13 namespace bbcreaContours
14 {
15
16 class bbcreaContours_EXPORT SetViewerPosition
17         :public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(SetViewerPosition,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(wxContourMainFrame,wxContourMainFrame*);
24   BBTK_DECLARE_INPUT(Position,std::vector<int>);
25   BBTK_DECLARE_INPUT(Direction,int);
26   BBTK_DECLARE_INPUT(Jump,int);
27   BBTK_DECLARE_INPUT(Shift,int);
28 //  BBTK_DECLARE_OUTPUT(Out,double);
29   BBTK_PROCESS(Process);
30   void Process();
31
32   int backX, backY, backZ;
33 //===== 
34 // 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)
35 //===== 
36 };
37
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SetViewerPosition,bbtk::AtomicBlackBox);
39   BBTK_NAME("SetViewerPosition");
40   BBTK_AUTHOR("InfoDev");
41   BBTK_DESCRIPTION("No Description.");
42   BBTK_CATEGORY("empty");
43
44   BBTK_INPUT(SetViewerPosition,wxContourMainFrame,"wxContourMainFrame",wxContourMainFrame*,"");
45   BBTK_INPUT(SetViewerPosition,Position,"vector px py pz",std::vector<int>,"");
46   BBTK_INPUT(SetViewerPosition,Direction,"(default 0) 0:XYZ 1:XZY 2:YZX",int,"");
47   BBTK_INPUT(SetViewerPosition,Jump,"Slice jump+shift",int,"");
48   BBTK_INPUT(SetViewerPosition,Shift,"Slice jump+shift",int,"");
49
50   //BBTK_OUTPUT(SetViewerPosition,Out,"First output",double,"");
51
52 BBTK_END_DESCRIBE_BLACK_BOX(SetViewerPosition);
53 //===== 
54 // 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)
55 //===== 
56 }
57 // EO namespace bbcreaContours
58
59 #endif // __bbcreaContoursSetViewerPosition_h_INCLUDED__
60