]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuHistogramView.h
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuHistogramView.h
index 90774e17a07fab69d9211e088709c57e2353f009..554f62ea800a1d68708d9d4c1d9e45bad7d003f2 100644 (file)
@@ -1,11 +1,13 @@
 #ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuHistogramView_h_INCLUDED__
-#define __bbmaracasvisuHistogramView_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuHistogramView_h_INCLUDED__
+#define __bbcreaMaracasVisuHistogramView_h_INCLUDED__
 #include "bbtkWxBlackBox.h"
 
 #include "vtkImageData.h"
+#include "Histogram.h"
 
-namespace bbmaracasvisu
+
+namespace bbcreaMaracasVisu
 {
 
 class /*BBTK_EXPORT*/ HistogramView
@@ -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);
@@ -36,8 +35,8 @@ BBTK_CATEGORY("viewer");
   BBTK_INPUT(HistogramView,In,"Input image",vtkImageData*,"");
 BBTK_END_DESCRIBE_BLACK_BOX(HistogramView);
 }
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
 
-#endif // __bbmaracasvisuHistogramView_h_INCLUDED__
+#endif // __bbcreaMaracasVisuHistogramView_h_INCLUDED__
 #endif // _USE_WXWIDGETS_