]> Creatis software - cpPlugins.git/blobdiff - appli/ImageMPR/ImageMPR.cxx
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/cpPlugins
[cpPlugins.git] / appli / ImageMPR / ImageMPR.cxx
index cf6a1f6b7934f353350ee9ee89f47c200e765157..c18fcd24fad447bd2d4c5fd23f49fd1d826ec4fa 100644 (file)
@@ -75,10 +75,15 @@ UpdateActualFilter( )
     return;
 
   // Show outputs
-#error ACA VOY
   for( auto oIt = outputs.begin( ); oIt != outputs.end( ); ++oIt )
-    std::cout << *oIt << std::endl;
-  
+  {
+    std::string parent = this->m_Plugins.GetParent( *oIt );
+    TDataObject* dobj = this->m_Plugins.GetData< TDataObject >( *oIt );
+    this->m_UI->MPR->AddData( dobj, *oIt, parent );
+    this->m_UI->MPR->ShowData( *oIt );
+
+  } // rof
+
   /* TODO
      std::vector< std::string > outputs;
      std::string err = this->m_Plugins->UpdateActiveFilter( outputs );