#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuViewerNV_h_INCLUDED__
-#define __bbmaracasvisuViewerNV_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuViewerNV_h_INCLUDED__
+#define __bbcreaMaracasVisuViewerNV_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "widgets/wxMaracas_ViewerWidget.h"
#include "widgets/wxMaracas_N_ViewersWidget.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
+
+
+ class ViewerNV;
+ class bbwxMaracas_N_ViewersWidget : public wxMaracas_N_ViewersWidget
+ {
+ public:
+ bbwxMaracas_N_ViewersWidget(ViewerNV* box,wxWindow *parent, vtkImageData* imagedata, std::vector<int> *nTypeView);
+ ~bbwxMaracas_N_ViewersWidget();
+
+ //if the MPR had generated the refresh event
+ void OnRefreshView(wxCommandEvent & event);
+ void OnDClickLeft(wxCommandEvent & event);
+ private:
+ ViewerNV *mbbViewerNV;
+ DECLARE_EVENT_TABLE( );
+ };
+
+
+//-------------------------------------------------------------------
+//-------------------------------------------------------------------
+//-------------------------------------------------------------------
+
+
class /*BBTK_EXPORT*/ ViewerNV
:
public bbtk::WxBlackBox
/// User callback called in the box contructor
virtual void bbUserConstructor();
/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
+virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer p);
/// User callback called in the box destructor
virtual void bbUserDestructor();
//==================================================================
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
- void CreateWidget();
+ void CreateWidget(wxWindow* parent);
private:
wxMaracas_N_ViewersWidget *mwxwidget;
BBTK_OUTPUT(ViewerNV,Point,"Axis point",std::vector<int>,"");
BBTK_END_DESCRIBE_BLACK_BOX(ViewerNV);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuViewerNV_h_INCLUDED__
+#endif // __bbcreaMaracasVisuViewerNV_h_INCLUDED__
#endif // _USE_WXWIDGETS_