]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuManualPaint.h
re indent
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuManualPaint.h
index cb3b6bf84fb70b8d3af3c86d62e8c05086a71f4d..c35662fc758ad3078664d53c28a50a843972766c 100644 (file)
@@ -7,42 +7,14 @@
 #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
@@ -52,13 +24,16 @@ class bbcreaMaracasVisu_EXPORT ManualPaint
 // 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..
 //=====
@@ -68,9 +43,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ManualPaint,bbtk::WxBlackBox);
 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..