]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.h
d6efc375d55ef36a2a75eff57e4db14629b37651
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuwxVtkBaseView_Info.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 __bbcreaMaracasVisuwxVtkBaseView_Info_h_INCLUDED__
5 #define __bbcreaMaracasVisuwxVtkBaseView_Info_h_INCLUDED__
6 #include "bbcreaMaracasVisu_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "wxVtkBaseView.h"
11 #include "vtkRenderer.h"
12
13 #include "InteractorStyleMaracas.h"
14
15 namespace bbcreaMaracasVisu
16 {
17
18 class InteractorwxVtkBaseView;
19
20
21 class InteractorwxVtkBaseView_model : public InteractorStyleMaracas
22 {
23 public:
24     InteractorwxVtkBaseView_model();
25     ~InteractorwxVtkBaseView_model();
26     void SetwxVtkBaseView( wxVtkBaseView *wxvtkbaseview);
27     void AddThisInteractor();
28 protected:
29     wxVtkBaseView           *_wxvtkbaseview;
30 };
31
32
33
34
35 class bbcreaMaracasVisu_EXPORT wxVtkBaseView_Info
36  : 
37    public bbtk::AtomicBlackBox
38 {
39   BBTK_BLACK_BOX_INTERFACE(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
40 //===== 
41 // 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)
42 //===== 
43     BBTK_DECLARE_INPUT(wxVtkBaseView,wxVtkBaseView*);
44     BBTK_DECLARE_INPUT(wxVtkBaseView2,wxVtkBaseView*);
45     BBTK_DECLARE_INPUT(wxVtkBaseView3,wxVtkBaseView*);
46     BBTK_DECLARE_INPUT(InteractionType,int);
47     
48     BBTK_DECLARE_OUTPUT(vtkRenderer,vtkRenderer*);
49     BBTK_DECLARE_OUTPUT(Direction,int);
50     BBTK_DECLARE_OUTPUT(Image,vtkImageData*);
51     BBTK_DECLARE_OUTPUT(WindowColorLevel,std::vector<double>);
52     BBTK_DECLARE_OUTPUT(Interpolation,bool);
53     BBTK_DECLARE_OUTPUT(Point,std::vector<double>);
54     BBTK_DECLARE_OUTPUT(PointMouse,std::vector<double>);
55     BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
56     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model,InteractorwxVtkBaseView_model*);
57     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model2,InteractorwxVtkBaseView_model*);
58     BBTK_DECLARE_OUTPUT(InteractorwxVtkBaseView_model3,InteractorwxVtkBaseView_model*);
59     BBTK_DECLARE_OUTPUT(Box_wxVtkBaseView_Info,wxVtkBaseView_Info*);
60     BBTK_DECLARE_OUTPUT(wxVtkBaseView,wxVtkBaseView*);
61  
62     
63     
64     BBTK_PROCESS(Process);
65     void Process();
66     bool firsttime;
67     void SetwxVtkBaseViewOutputs(wxVtkBaseView *wxvtkbaseview );
68     
69     InteractorwxVtkBaseView     *interactorwxvtkbaseview;
70     InteractorwxVtkBaseView     *interactorwxvtkbaseview2;
71     InteractorwxVtkBaseView     *interactorwxvtkbaseview3;
72     
73 //===== 
74 // 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)
75 //===== 
76 };
77
78 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
79   BBTK_NAME("wxVtkBaseView_Info");
80   BBTK_AUTHOR("InfoDev");
81   BBTK_DESCRIPTION("No Description.");
82   BBTK_CATEGORY("empty");
83
84   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView,"wxVtkBaseView Used for the principal output. Used in case of InteractionType!=0",wxVtkBaseView*,"");
85   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView2,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
86   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView3,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
87   BBTK_INPUT(wxVtkBaseView_Info,InteractionType,"(default 0) 0:Nothing 1:LeftButtonDown 2:LeftButtonUp 3:MouseMove 4:RightButtonDown 5:RightButtonUp 6:LeftDClick 7:RightDClick 8:DragLeft 9:DragRight",int,"");
88
89   BBTK_OUTPUT(wxVtkBaseView_Info,Direction,"Direction -1=3D 0=YZ  1=XZ  2=XY(default)",int,"");
90   BBTK_OUTPUT(wxVtkBaseView_Info,vtkRenderer,"vtkRenderer default=NULL",vtkRenderer*,"");
91   BBTK_OUTPUT(wxVtkBaseView_Info,Image,"vtkImageData",vtkImageData*,"");
92   BBTK_OUTPUT(wxVtkBaseView_Info,WindowColorLevel,"List [Window, Level]",std::vector<double>,"");
93   BBTK_OUTPUT(wxVtkBaseView_Info,Interpolation,"(default true) true/false",bool,"");
94   BBTK_OUTPUT(wxVtkBaseView_Info,Point,"Axis positon of the viewer",std::vector<double>,"");
95   BBTK_OUTPUT(wxVtkBaseView_Info,PointMouse,"Actual Point Mouse",std::vector<double>,"");
96   BBTK_OUTPUT(wxVtkBaseView_Info,Normal,"Normal of plane viewe",std::vector<double>,"");
97   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
98   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model2,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
99   BBTK_OUTPUT(wxVtkBaseView_Info,InteractorwxVtkBaseView_model3,"Interactor wxVtkBaseView Model", InteractorwxVtkBaseView_model* ,"");
100   BBTK_OUTPUT(wxVtkBaseView_Info,Box_wxVtkBaseView_Info,"Box wxVtkBaseView_Info", wxVtkBaseView_Info* ,"");
101   BBTK_OUTPUT(wxVtkBaseView_Info,wxVtkBaseView,"wxVtkBaseView in use", wxVtkBaseView* ,"");
102
103
104 BBTK_END_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info);
105 //===== 
106 // 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)
107 //===== 
108 } // EO namespace bbcreaMaracasVisu
109
110 #endif // __bbcreaMaracasVisuwxVtkBaseView_Info_h_INCLUDED__
111