#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
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);
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_