]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/MPRActors.cxx
Minor refactoring and errors solved
[cpPlugins.git] / lib / cpExtensions / Visualization / MPRActors.cxx
index a02c8bc28d52ad37ff20848e333a3a5d4f1606a8..f755e455eac540902d650b5e40bc65d6471c11b3 100644 (file)
@@ -244,15 +244,17 @@ PushActorsInto(
 
   for( unsigned int j = 0; j < 3; ++j )
   {
-    ImageInteractorStyle* st =
-      dynamic_cast< ImageInteractorStyle* >( this->Slices[ 0 ][ j ]->GetStyle( ) );
-    if( w != NULL )
-      st->AssociateInteractor( w->GetInteractor( ) );
-    for( unsigned int l = 0; l < 3; ++l )
-      if( j != l )
-        st->AssociateInteractor(
-          this->Slices[ 0 ][ l ]->GetStyle( )->GetInteractor( )
-          );
+    /* TODO
+       ImageInteractorStyle* st =
+       dynamic_cast< ImageInteractorStyle* >( this->Slices[ 0 ][ j ]->GetStyle( ) );
+       if( w != NULL )
+       st->AssociateInteractor( w->GetInteractor( ) );
+       for( unsigned int l = 0; l < 3; ++l )
+       if( j != l )
+       st->AssociateInteractor(
+       this->Slices[ 0 ][ l ]->GetStyle( )->GetInteractor( )
+       );
+    */
 
   } // rof
 }
@@ -407,9 +409,11 @@ MPRActors( )
   this->Slices[ 0 ][ 1 ]->AssociateSlice( this->Slices[ 1 ][ 1 ] );
   this->Slices[ 0 ][ 2 ]->AssociateSlice( this->Slices[ 1 ][ 2 ] );
 
-  this->Slices[ 0 ][ 0 ]->SetSlicesCommand( Self::_SetSlices, this );
-  this->Slices[ 0 ][ 1 ]->SetSlicesCommand( Self::_SetSlices, this );
-  this->Slices[ 0 ][ 2 ]->SetSlicesCommand( Self::_SetSlices, this );
+  /* TODO
+     this->Slices[ 0 ][ 0 ]->SetSlicesCommand( Self::_SetSlices, this );
+     this->Slices[ 0 ][ 1 ]->SetSlicesCommand( Self::_SetSlices, this );
+     this->Slices[ 0 ][ 2 ]->SetSlicesCommand( Self::_SetSlices, this );
+  */
 }
 
 // -------------------------------------------------------------------------