+ } // rof
+
+ // Create 3D renderer
+ if( this->m_Windows[ 3 ] != NULL )
+ this->m_Renderers[ 3 ]->SetBackground( 0.2, 0.2, 0.2 );
+}
+
+// -------------------------------------------------------------------------
+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 ]
+ );
+
+ // First rendering
+ this->m_MPRActors->ResetSlices( );
+ this->ResetCameras( );
+ this->RenderAll( );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+AddAuxiliaryImage( vtkImageData* image )
+{
+ // Try to add new image
+ int id = this->m_MPRActors->AddInputData( image );
+ if( id < 0 )
+ 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 ]
+ );
+
+ // Rendering
+ this->RenderAll( );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+ActivateInteractors( )
+{
+ // Prepare renderers
+ for( int i = 0; i < 3; ++i )
+ {
+ // Check prerrequisites
+ if( this->m_Windows[ i ] == NULL || this->m_Renderers[ i ] == NULL )