]> Creatis software - creaMaracasVisu.git/blob - bbtk/src/bbcreaMaracasVisuManualPaint.h
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuManualPaint.h
1 //=====
2 // Don't edit this file. This file is generated from xml description..
3 //=====
4 #ifdef _USE_WXWIDGETS_
5 #ifndef __bbcreaMaracasVisuManualPaint_h_INCLUDED__
6 #define __bbcreaMaracasVisuManualPaint_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9
10 #include "wxVtkBaseView.h"
11 #include "vtkImageData.h"
12
13 #include "InteractorStyleMaracas.h"
14
15 namespace bbcreaMaracasVisu
16 {
17
18
19
20 class vtkInteractorManualPaint : public InteractorStyleMaracas {
21 public:
22         vtkInteractorManualPaint();
23         virtual ~vtkInteractorManualPaint();
24
25         virtual bool  OnMouseMove();
26         virtual bool  OnLeftButtonDown();
27         virtual bool  OnLeftButtonUp();
28         void SetImage(vtkImageData *image);
29
30 private:
31         double          _Z;
32         int             _auxZ;
33                 bool            _state;
34                 vtkImageData    *_image;
35         void PaintImage( int px, int py, int pz );
36
37 protected:
38
39 };
40
41
42
43
44
45
46 class bbcreaMaracasVisu_EXPORT ManualPaint
47  :
48    public bbtk::WxBlackBox
49 {
50   BBTK_BLACK_BOX_INTERFACE(ManualPaint,bbtk::WxBlackBox);
51 //=====
52 // Don't edit this file. This file is generated from xml description..
53 //=====
54   BBTK_DECLARE_INPUT(In,vtkImageData*);
55   BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView*);
56   BBTK_PROCESS(Process);
57   void Process();
58   BBTK_CREATE_WIDGET(CreateWidget);
59   void CreateWidget(wxWindow*);
60
61     vtkInteractorManualPaint *imp;
62 //=====
63 // Don't edit this file. This file is generated from xml description..
64 //=====
65 };
66
67 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint,bbtk::WxBlackBox);
68 BBTK_NAME("ManualPaint");
69 BBTK_AUTHOR("eduardo davila (Creatis)");
70 BBTK_DESCRIPTION("Voxel manual paint");
71 BBTK_CATEGORY("__CategoryBlackBox__");
72 BBTK_INPUT(ManualPaint,In,"Input image to be modified",vtkImageData*,"");
73 BBTK_INPUT(ManualPaint,WxVtkBaseView,"creaMaracasVisu viewer",wxVtkBaseView*,"");
74 BBTK_END_DESCRIBE_BLACK_BOX(ManualPaint);
75 //=====
76 // Don't edit this file. This file is generated from xml description..
77 //=====
78 }
79 // EO namespace bbcreaMaracasVisu
80
81 #endif // __bbcreaMaracasVisuManualPaint_h_INCLUDED__
82 #endif // _USE_WXWIDGETS_
83