]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuTransformWidget2.h
#3524 TransformWidget2
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuTransformWidget2.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 #ifdef _USE_WXWIDGETS_
5 #ifndef __bbcreaMaracasVisuTransformWidget2_h_INCLUDED__
6 #define __bbcreaMaracasVisuTransformWidget2_h_INCLUDED__
7
8 #include "bbcreaMaracasVisu_EXPORT.h"
9 #include "bbtkWxBlackBox.h"
10
11 #include "vtkTransform.h"
12
13 namespace bbcreaMaracasVisu
14 {
15
16 class bbcreaMaracasVisu_EXPORT TransformWidget2
17  : 
18    public bbtk::WxBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(TransformWidget2,bbtk::WxBlackBox);
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(Type,int);
25     BBTK_DECLARE_INPUT(PossiblePoint,std::vector< double >);
26     BBTK_DECLARE_OUTPUT(Out,vtkLinearTransform *);
27     BBTK_DECLARE_OUTPUT(ActualPoint,std::vector< double >);
28     BBTK_PROCESS(Process);
29     void Process();
30     BBTK_CREATE_WIDGET(CreateWidget);
31     void CreateWidget(wxWindow*);
32     bool firsttime;
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(TransformWidget2,bbtk::WxBlackBox);
39     BBTK_NAME("TransformWidget2");
40     BBTK_AUTHOR("InfoDev");
41     BBTK_DESCRIPTION("No Description.");
42     BBTK_CATEGORY("__CategoryBlackBox__");
43     BBTK_INPUT(TransformWidget2,Type,"(default 1) 0:mode A with 3 sliders  1:mode B with radio buttons,",int,"");
44     BBTK_INPUT(TransformWidget2,PossiblePoint,"Potential Point [x y z]",std::vector<double>,"");
45     BBTK_OUTPUT(TransformWidget2,Out,"vtkTransform result",vtkLinearTransform *,"");
46     BBTK_OUTPUT(TransformWidget2,ActualPoint,"Origin [x,y,z]",std::vector<double>,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(TransformWidget2);
48 //===== 
49 // 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)
50 //===== 
51 } // EO namespace bbcreaMaracasVisu
52
53 #endif // __bbcreaMaracasVisuTransformWidget2_h_INCLUDED__
54 #endif // _USE_WXWIDGETS_
55