X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuViewerMPR.h;h=882fa43962a9c386d13dcc24b48acec2455d3e0a;hb=d0c09a70008646305df0937f47fd7d5930636a67;hp=af3673a55f61a9af80a1a8b6fb5e39a40ea4af8a;hpb=393855ac9ccdd47bc738cc7c0af199b2b45d89db;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuViewerMPR.h b/bbtk/src/bbmaracasvisuViewerMPR.h index af3673a..882fa43 100644 --- a/bbtk/src/bbmaracasvisuViewerMPR.h +++ b/bbtk/src/bbmaracasvisuViewerMPR.h @@ -6,6 +6,7 @@ #include "wxMaracasMPR.h" #include "vtkImageData.h" #include "vtkRenderer.h" +#include "wxMPRWidget2.h" namespace bbcreaMaracasVisu { @@ -32,7 +33,7 @@ namespace bbcreaMaracasVisu //refreshView void Refresh(); - void setMarImage(marImageData* marimagedata); + void setImageData(vtkImageData* img); void ConfigureVTK(); private: @@ -56,14 +57,6 @@ class /*BBTK_EXPORT*/ ViewerMPR public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(ViewerMPR,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(Title,std::string); BBTK_DECLARE_INPUT(In, vtkImageData *); BBTK_DECLARE_OUTPUT(Renderer,vtkRenderer *); @@ -75,7 +68,7 @@ virtual void bbUserDestructor(); private: wxWidgetMPR *wxwidget; - marImageData *marimagedata; + vtkImageData *_img; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ViewerMPR,bbtk::WxBlackBox);