]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerMPR.cxx
#3093 creaMaracasVisu Feature New Normal - Contour Information in pixels and image...
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerMPR.cxx
index 14b816ec867ca29b400bc91085214f093e8fd5a2..edff2060542bd15bab07cca1f977392401806c2d 100644 (file)
@@ -51,7 +51,7 @@ END_EVENT_TABLE( );
                mbbViewerMPR    = box;
 
                
-               wxwidget = new wxMPRWidget2( panel, marimagedata , 1 ); 
+               wxwidget = new wxMPRWidget2( panel, marimagedata );     
 
                if(marimagedata != NULL){
                        wxwidget->ConfigureVTK();
@@ -64,12 +64,16 @@ END_EVENT_TABLE( );
                panel   -> Layout();            
   }
 
-  void wxWidgetMPR::setImageData(vtkImageData* img){
-         wxwidget->setImageData(img, 1);
+  void wxWidgetMPR::setImageData(vtkImageData* img)
+  {
+         wxwidget->setImageData(img);
   }
-  void wxWidgetMPR::ConfigureVTK(){
+
+  void wxWidgetMPR::ConfigureVTK()
+  {
                wxwidget->ConfigureVTK();
-       }
+  }
+
 //--------------------------------------------------------------------------
   wxWidgetMPR::~wxWidgetMPR()
   {