]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/Visualization/MPRWithDifferentWindows.cxx
ITK-VTK-Qt4-CMake coordination/factory problem finally solvedgit status!
[cpPlugins.git] / lib / cpPlugins / Extensions / Visualization / MPRWithDifferentWindows.cxx
index e87005197a08f4768cdfb11557eee4037178be4a..1bf8ea9446a127d9b65370dd36b7515b3bc30374 100644 (file)
@@ -156,6 +156,16 @@ RenderAll( )
       this->m_Windows[ i ]->Render( );
 }
 
+// -------------------------------------------------------------------------
+vtkRenderer* cpPlugins::Extensions::Visualization::MPRWithDifferentWindows::
+GetRenderer( const int& id ) const
+{
+  if( id < 4 )
+    return( this->m_Renderers[ id ] );
+  else
+    return( NULL );
+}
+
 // -------------------------------------------------------------------------
 void cpPlugins::Extensions::Visualization::MPRWithDifferentWindows::
 Add3DActor( vtkProp3D* prop )