]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_N_ViewersWidget.cxx
changes in viewers
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracas_N_ViewersWidget.cxx
index c097c93ca832c5fc1370ea1ea33defe46f8ed47a..b89ff63d3a371c9d568458d20d978b66c79a6479 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracas_N_ViewersWidget.cxx,v $
   Language:  C++
-  Date:      $Date: 2010/08/04 18:45:27 $
-  Version:   $Revision: 1.18 $
+  Date:      $Date: 2010/08/25 17:51:12 $
+  Version:   $Revision: 1.19 $
 
   Copyright: (c) 2002, 2003
   License:
                        extent[2] = 0;
                        extent[3] = 1;
                        extent[4] = 0;
-                       extent[5] = 1;
+                       extent[5] = 0;
                        
                        imagedata = vtkImageData::New();
                        imagedata->SetSpacing(spc);
                        imagedata->SetExtent(extent);
-                       imagedata->SetScalarTypeToUnsignedShort();
+                       imagedata->SetScalarTypeToUnsignedChar();
                        imagedata->AllocateScalars();
                }*/
                
         if (wxwindow2!=NULL) { wxwindow2->SetImage(image); } 
         if (wxwindow3!=NULL) { wxwindow3->SetImage(image); }
         if (wxwindow4!=NULL) { wxwindow4->SetImage(image); }
-        
         ConfigureVTK();
         
  }