]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/MPRObjects.cxx
Intermediary commit
[cpPlugins.git] / lib / cpExtensions / Visualization / MPRObjects.cxx
index 0076ad5334b6b4cfb1d071a0e4e79e19bace8f72..0e522491b933349501a6286a1fd75682f8799e45 100644 (file)
@@ -51,11 +51,11 @@ void cpExtensions::Visualization::MPRObjects::
 SetImage( vtkImageData* image )
 {
   this->m_MPRActors->AddInputData( image );
-  this->m_MPRActors->PushDataInto(
-    this->m_Renderers[ 0 ],
-    this->m_Renderers[ 1 ],
-    this->m_Renderers[ 2 ],
-    this->m_Renderers[ 3 ]
+  this->m_MPRActors->PushActorsInto(
+    this->m_Windows[ 0 ],
+    this->m_Windows[ 1 ],
+    this->m_Windows[ 2 ],
+    this->m_Windows[ 3 ]
     );
 
   // First rendering
@@ -74,11 +74,11 @@ AddAuxiliaryImage( vtkImageData* image )
     return;
 
   // Push everything on renderers
-  this->m_MPRActors->PushDataInto(
-    this->m_Renderers[ 0 ],
-    this->m_Renderers[ 1 ],
-    this->m_Renderers[ 2 ],
-    this->m_Renderers[ 3 ]
+  this->m_MPRActors->PushActorsInto(
+    this->m_Windows[ 0 ],
+    this->m_Windows[ 1 ],
+    this->m_Windows[ 2 ],
+    this->m_Windows[ 3 ]
     );
 
   // Rendering
@@ -143,7 +143,7 @@ ActivateInteractors( )
   } // rof
 
   // Finish interactor linking
-  this->m_MPRActors->LinkInteractors( );
+  // TODO: this->m_MPRActors->LinkInteractors( );
 
   // Restart rendering
   this->ResetCameras( );