]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerNV.h
Linux compil
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerNV.h
index 53c0ad59a6e4ff3a92dc41a64b43ed4995749d2e..71d159c42e072954f19c9ce7eb2598cbd6b5be2b 100644 (file)
 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
@@ -24,7 +47,7 @@ class /*BBTK_EXPORT*/ ViewerNV
 /// 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();
 //==================================================================
@@ -43,7 +66,7 @@ virtual void bbUserDestructor();
   BBTK_PROCESS(Process);
   void Process();
   BBTK_CREATE_WIDGET(CreateWidget);
-  void CreateWidget();
+  void CreateWidget(wxWindow* parent);
 
 private:
        wxMaracas_N_ViewersWidget       *mwxwidget;