X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuHistogramView.h;h=554f62ea800a1d68708d9d4c1d9e45bad7d003f2;hb=de28ababf60ed57a0f4381c159a2ee8c7515b213;hp=90774e17a07fab69d9211e088709c57e2353f009;hpb=44e4be7013ea566bd2bdefb9d48e1da0071c3d91;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuHistogramView.h b/bbtk/src/bbmaracasvisuHistogramView.h index 90774e1..554f62e 100644 --- a/bbtk/src/bbmaracasvisuHistogramView.h +++ b/bbtk/src/bbmaracasvisuHistogramView.h @@ -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_