#include "bbcreaMaracasVisu_EXPORT.h"
#include "bbtkWxBlackBox.h"
-#include "wxVtkBaseView.h"
#include "vtkImageData.h"
+#include "wxVtkBaseView.h"
-#include "InteractorStyleMaracas.h"
namespace bbcreaMaracasVisu
{
-
-class vtkInteractorManualPaint : public InteractorStyleMaracas {
-public:
- vtkInteractorManualPaint();
- virtual ~vtkInteractorManualPaint();
-
- virtual bool OnMouseMove();
- virtual bool OnLeftButtonDown();
- virtual bool OnLeftButtonUp();
- void SetImage(vtkImageData *image);
-
-private:
- double _Z;
- int _auxZ;
- bool _state;
- vtkImageData *_image;
- void PaintImage( int px, int py, int pz );
-
-protected:
-
-};
-
-
-
-
-
-
class bbcreaMaracasVisu_EXPORT ManualPaint
:
public bbtk::WxBlackBox
// Don't edit this file. This file is generated from xml description..
//=====
BBTK_DECLARE_INPUT(In,vtkImageData*);
- BBTK_DECLARE_INPUT(WxVtkBaseView,wxVtkBaseView*);
+ BBTK_DECLARE_INPUT(WxVtkBaseView1,wxVtkBaseView*);
+ BBTK_DECLARE_INPUT(WxVtkBaseView2,wxVtkBaseView*);
+ BBTK_DECLARE_INPUT(WxVtkBaseView3,wxVtkBaseView*);
+ BBTK_DECLARE_INPUT(WxVtkBaseView4,wxVtkBaseView*);
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
void CreateWidget(wxWindow*);
- vtkInteractorManualPaint *imp;
+ bool firsttime;
//=====
// Don't edit this file. This file is generated from xml description..
//=====
BBTK_NAME("ManualPaint");
BBTK_AUTHOR("eduardo davila (Creatis)");
BBTK_DESCRIPTION("Voxel manual paint");
-BBTK_CATEGORY("__CategoryBlackBox__");
+BBTK_CATEGORY("widget");
BBTK_INPUT(ManualPaint,In,"Input image to be modified",vtkImageData*,"");
-BBTK_INPUT(ManualPaint,WxVtkBaseView,"creaMaracasVisu viewer",wxVtkBaseView*,"");
+BBTK_INPUT(ManualPaint,WxVtkBaseView1,"creaMaracasVisu viewer 2D",wxVtkBaseView*,"");
+BBTK_INPUT(ManualPaint,WxVtkBaseView2,"creaMaracasVisu viewer 2D",wxVtkBaseView*,"");
+BBTK_INPUT(ManualPaint,WxVtkBaseView3,"creaMaracasVisu viewer 2D",wxVtkBaseView*,"");
+BBTK_INPUT(ManualPaint,WxVtkBaseView4,"creaMaracasVisu viewer 2D",wxVtkBaseView*,"");
BBTK_END_DESCRIBE_BLACK_BOX(ManualPaint);
//=====
// Don't edit this file. This file is generated from xml description..