]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/Visualization/MPRWithDifferentWindows.cxx
MPR updated
[cpPlugins.git] / lib / cpPlugins / Extensions / Visualization / MPRWithDifferentWindows.cxx
index e2716318d0aa63ed64a822c8a48de9426079e1f6..f8f86c60d141a4468ed0923f3559c78d4aaa8743 100644 (file)
@@ -106,6 +106,30 @@ SetSegmentation( vtkImageData* image )
   this->Render( 2 );
 }
 
+// -------------------------------------------------------------------------
+void cpPlugins::Extensions::Visualization::MPRWithDifferentWindows::
+SetModeToNavigation( )
+{
+  for( unsigned int i = 0; i < 3; ++i )
+  {
+    if( this->m_Styles[ i ].GetPointer( ) != NULL )
+      this->m_Styles[ i ]->SetModeToNavigation( );
+    
+  } // rof
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::Extensions::Visualization::MPRWithDifferentWindows::
+SetModeToDeformation( )
+{
+  for( unsigned int i = 0; i < 3; ++i )
+  {
+    if( this->m_Styles[ i ].GetPointer( ) != NULL )
+      this->m_Styles[ i ]->SetModeToDeformation( );
+    
+  } // rof
+}
+
 // -------------------------------------------------------------------------
 void cpPlugins::Extensions::Visualization::MPRWithDifferentWindows::
 ResetCamera( const int& id )