X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuHistogramView.h;h=554f62ea800a1d68708d9d4c1d9e45bad7d003f2;hb=5e3e7f1aa4a0dede55f9417e7a8fb756b5186d36;hp=22b8afa5195ec845b75b5122b5b4cc703722c25a;hpb=800f29fd7e4cc70d8706b3075454e63f0b1a5717;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuHistogramView.h b/bbtk/src/bbmaracasvisuHistogramView.h index 22b8afa..554f62e 100644 --- a/bbtk/src/bbmaracasvisuHistogramView.h +++ b/bbtk/src/bbmaracasvisuHistogramView.h @@ -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);