]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuwxVtkBaseView_Info.h
5f97e8a9d7e009623654dbac605361ba15bc9b66
[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(Normal,std::vector<double>);
35   
36     BBTK_PROCESS(Process);
37     void Process();
38     bool firsttime;
39     void SetwxVtkBaseViewOutputs(wxVtkBaseView *wxvtkbaseview );
40
41 //===== 
42 // 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)
43 //===== 
44 };
45
46 BBTK_BEGIN_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info,bbtk::AtomicBlackBox);
47   BBTK_NAME("wxVtkBaseView_Info");
48   BBTK_AUTHOR("InfoDev");
49   BBTK_DESCRIPTION("No Description.");
50   BBTK_CATEGORY("empty");
51
52   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView,"wxVtkBaseView Used for the principal output. Used in case of InteractionType!=0",wxVtkBaseView*,"");
53   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView2,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
54   BBTK_INPUT(wxVtkBaseView_Info,wxVtkBaseView3,"Used in case of InteractionType!=0",wxVtkBaseView*,"");
55   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,"");
56
57   BBTK_OUTPUT(wxVtkBaseView_Info,Direction,"Direction -1=3D 0=YZ  1=XZ  2=XY(default)",int,"");
58   BBTK_OUTPUT(wxVtkBaseView_Info,vtkRenderer,"vtkRenderer default=NULL",vtkRenderer*,"");
59   BBTK_OUTPUT(wxVtkBaseView_Info,Image,"vtkImageData",vtkImageData*,"");
60   BBTK_OUTPUT(wxVtkBaseView_Info,WindowColorLevel,"List [Window, Level]",std::vector<double>,"");
61   BBTK_OUTPUT(wxVtkBaseView_Info,Interpolation,"(default true) true/false",bool,"");
62   BBTK_OUTPUT(wxVtkBaseView_Info,Point,"Axis positon of the viewer",std::vector<double>,"");
63   BBTK_OUTPUT(wxVtkBaseView_Info,Normal,"Normal of plane viewe",std::vector<double>,"");
64
65 BBTK_END_DESCRIBE_BLACK_BOX(wxVtkBaseView_Info);
66 //===== 
67 // 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)
68 //===== 
69 }
70 // EO namespace bbcreaMaracasVisu
71
72 #endif // __bbcreaMaracasVisuwxVtkBaseView_Info_h_INCLUDED__
73