]> Creatis software - cpPlugins.git/blobdiff - appli/examples/plugins/QT/example_MPRViewer/example_MPRViewer.cxx
Visual properties dialog finished.
[cpPlugins.git] / appli / examples / plugins / QT / example_MPRViewer / example_MPRViewer.cxx
index eb6daff534ca78898aede3ee93e12029a4e2449f..cfb33b474c5e1f6bfc4ae009f7bf933f6f412ab2 100644 (file)
@@ -66,7 +66,8 @@ example_MPRViewer( int argc, char* argv[], QWidget* parent )
   } // yrt
 
   this->m_UI->Viewer->SetMainImage(
-    this->m_Reader->GetOutputData< vtkImageData >( "Output" )
+    this->m_Reader->GetOutputData< vtkImageData >( "Output" ),
+    "MainImage"
     );
 }