]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuHistogramView.h
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuHistogramView.h
index 22b8afa5195ec845b75b5122b5b4cc703722c25a..554f62ea800a1d68708d9d4c1d9e45bad7d003f2 100644 (file)
@@ -4,6 +4,8 @@
 #include "bbtkWxBlackBox.h"
 
 #include "vtkImageData.h"
+#include "Histogram.h"
+
 
 namespace bbcreaMaracasVisu
 {
@@ -13,19 +15,16 @@ class /*BBTK_EXPORT*/ HistogramView
    public bbtk::WxBlackBox
 {
   BBTK_BLACK_BOX_INTERFACE(HistogramView,bbtk::WxBlackBox);
-//==================================================================
-/// User callback called in the box contructor
-virtual void bbUserConstructor();
-/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
-/// User callback called in the box destructor
-virtual void bbUserDestructor();
-//==================================================================
        BBTK_DECLARE_INPUT(In, vtkImageData *);
   BBTK_PROCESS(Process);
   void Process();
   BBTK_CREATE_WIDGET(CreateWidget);
-  void CreateWidget();
+  void CreateWidget(wxWindow*);
+       
+private:
+       bool            firsttime;
+       Histogram       *histogram_wxwidget;
+       wxPanel         *wxpanel;
 };
 
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HistogramView,bbtk::WxBlackBox);