X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuHistogramView.h;h=554f62ea800a1d68708d9d4c1d9e45bad7d003f2;hb=de28ababf60ed57a0f4381c159a2ee8c7515b213;hp=761446a13c77f2c81ac32da47333bb341536cd2e;hpb=de5cb63cdc23317a114c77f7b6184126d7988508;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuHistogramView.h b/bbtk/src/bbmaracasvisuHistogramView.h index 761446a..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(bbtk::BlackBox::Pointer); -/// 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(wxWindow*); + +private: + bool firsttime; + Histogram *histogram_wxwidget; + wxPanel *wxpanel; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(HistogramView,bbtk::WxBlackBox);