]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.h
#3481 wxVtkBaseView_Info add events mouse observer
[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 namespace bbcreaMaracasVisu
14 {
15
16 class bbcreaMaracasVisu_EXPORT wxVtkBaseView_Info
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(wxVtkBaseView_Info,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(wxVtkBaseView,wxVtkBaseView*);
25     BBTK_DECLARE_INPUT(wxVtkBaseView2,wxVtkBaseView*);
26     BBTK_DECLARE_INPUT(wxVtkBaseView3,wxVtkBaseView*);
27     BBTK_DECLARE_INPUT(InteractionType,int);
28     BBTK_DECLARE_OUTPUT(vtkRenderer,vtkRenderer*);
29     BBTK_DECLARE_OUTPUT(Direction,int);
30     BBTK_DECLARE_OUTPUT(Image,vtkImageData*);
31     BBTK_DECLARE_OUTPUT(WindowColorLevel,std::vector<double>);
32     BBTK_DECLARE_OUTPUT(Interpolation,bool);
33     BBTK_DECLARE_OUTPUT(Point,std::vector<double>);
34     BBTK_DECLARE_OUTPUT(PointMouse,std::vector<double>);
35     BBTK_DECLARE_OUTPUT(Normal,std::vector<double>);
36   
37     BBTK_PROCESS(Process);
38     void Process();
39     bool firsttime;
40     void SetwxVtkBaseViewOutputs(wxVtkBaseView *wxvtkbaseview );
41
42 //===== 
43 // 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)
44 //===== 
45 };
46
47 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
48   BBTK_NAME("wxVtkBaseView_Info");
49   BBTK_AUTHOR("InfoDev");
50   BBTK_DESCRIPTION("No Description.");
51   BBTK_CATEGORY("empty");
52
53   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView,"wxVtkBaseView Used for the principal output. Used in case of InteractionType!=0",wxVtkBaseView*,"");
54   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView2,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
55   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView3,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
56   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,"");
57
58   BBTK_OUTPUT(wxVtkBaseView_Info,Direction,"Direction -1=3D 0=YZ  1=XZ  2=XY(default)",int,"");
59   BBTK_OUTPUT(wxVtkBaseView_Info,vtkRenderer,"vtkRenderer default=NULL",vtkRenderer*,"");
60   BBTK_OUTPUT(wxVtkBaseView_Info,Image,"vtkImageData",vtkImageData*,"");
61   BBTK_OUTPUT(wxVtkBaseView_Info,WindowColorLevel,"List [Window, Level]",std::vector<double>,"");
62   BBTK_OUTPUT(wxVtkBaseView_Info,Interpolation,"(default true) true/false",bool,"");
63   BBTK_OUTPUT(wxVtkBaseView_Info,Point,"Axis positon of the viewer",std::vector<double>,"");
64   BBTK_OUTPUT(wxVtkBaseView_Info,PointMouse,"Actual Point Mouse",std::vector<double>,"");
65   BBTK_OUTPUT(wxVtkBaseView_Info,Normal,"Normal of plane viewe",std::vector<double>,"");
66
67 BBTK_END_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info);
68 //===== 
69 // 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)
70 //===== 
71 }
72 // EO namespace bbcreaMaracasVisu
73
74 #endif // __bbcreaMaracasVisuwxVtkBaseView_Info_h_INCLUDED__
75