2 // Don't edit this file. This file is generated from xml description..
5 #ifndef __bbcreaMaracasVisuManualPaint_h_INCLUDED__
6 #define __bbcreaMaracasVisuManualPaint_h_INCLUDED__
7 #include "bbcreaMaracasVisu_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
10 #include "wxVtkBaseView.h"
11 #include "vtkImageData.h"
13 #include "InteractorStyleMaracas.h"
15 namespace bbcreaMaracasVisu
20 class vtkInteractorManualPaint : public InteractorStyleMaracas {
22 vtkInteractorManualPaint();
23 virtual ~vtkInteractorManualPaint();
25 virtual bool OnMouseMove();
26 virtual bool OnLeftButtonDown();
27 virtual bool OnLeftButtonUp();
28 void SetImage(vtkImageData *image);
35 void PaintImage( int px, int py, int pz );
46 class bbcreaMaracasVisu_EXPORT ManualPaint
48 public bbtk::WxBlackBox
50 BBTK_BLACK_BOX_INTERFACE(ManualPaint,bbtk::WxBlackBox);
52 // Don't edit this file. This file is generated from xml description..
54 BBTK_DECLARE_INPUT(In,vtkImageData*);
55 BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView*);
56 BBTK_PROCESS(Process);
58 BBTK_CREATE_WIDGET(CreateWidget);
59 void CreateWidget(wxWindow*);
61 vtkInteractorManualPaint *imp;
63 // Don't edit this file. This file is generated from xml description..
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);
76 // Don't edit this file. This file is generated from xml description..
79 // EO namespace bbcreaMaracasVisu
81 #endif // __bbcreaMaracasVisuManualPaint_h_INCLUDED__
82 #endif // _USE_WXWIDGETS_