+
+ } // rof
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetInputConnection( vtkAlgorithmOutput* aout )
+{
+ this->m_MPRActors->SetInputConnection( aout );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetInputImage( vtkImageData* data )
+{
+ this->m_MPRActors->SetInputImage( data );
+}
+
+// -------------------------------------------------------------------------
+int cpExtensions::Visualization::MPRObjects::
+AddBinaryConnection(
+ vtkAlgorithmOutput* aout,
+ const double& r, const double& g, const double& b
+ )
+{
+ return( this->m_MPRActors->AddBinaryConnection( aout, r, g, b ) );
+}
+
+// -------------------------------------------------------------------------
+int cpExtensions::Visualization::MPRObjects::
+AddBinaryImage(
+ vtkImageData* data,
+ const double& r, const double& g, const double& b
+ )
+{
+ return( this->m_MPRActors->AddBinaryImage( data, r, g, b ) );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+Show( )
+{
+ this->m_MPRActors->PushActorsInto(
+ this->m_Windows[ 0 ],
+ this->m_Windows[ 1 ],
+ this->m_Windows[ 2 ],
+ this->m_Windows[ 3 ]
+ );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+Hide( )
+{
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+Clear( )
+{
+ this->m_MPRActors->Clear( );
+}
+
+// -------------------------------------------------------------------------
+vtkImageData* cpExtensions::Visualization::MPRObjects::
+GetInputImage( )
+{
+ return( this->m_MPRActors->GetInputImage( ) );
+}
+
+// -------------------------------------------------------------------------
+const vtkImageData* cpExtensions::Visualization::MPRObjects::
+GetInputImage( ) const
+{
+ return( this->m_MPRActors->GetInputImage( ) );
+}
+
+// -------------------------------------------------------------------------
+unsigned int cpExtensions::Visualization::MPRObjects::
+GetNumberOfImages( ) const
+{
+ return( this->m_MPRActors->GetNumberOfImages( ) );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetInterpolate( bool v )
+{
+ this->m_MPRActors->SetInterpolate( v );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+InterpolateOn( )
+{
+ this->m_MPRActors->InterpolateOn( );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+InterpolateOff( )
+{
+ this->m_MPRActors->InterpolateOff( );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetMinWindow( ) const
+{
+ return( this->m_MPRActors->GetMinWindow( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetMaxWindow( ) const
+{
+ return( this->m_MPRActors->GetMaxWindow( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetMinLevel( ) const
+{
+ return( this->m_MPRActors->GetMinLevel( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetMaxLevel( ) const
+{
+ return( this->m_MPRActors->GetMaxLevel( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetWindow( ) const
+{
+ return( this->m_MPRActors->GetWindow( ) );
+}
+
+// -------------------------------------------------------------------------
+double cpExtensions::Visualization::MPRObjects::
+GetLevel( ) const
+{
+ return( this->m_MPRActors->GetLevel( ) );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetWindow( double w )
+{
+ this->m_MPRActors->SetWindow( w );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetLevel( double l )
+{
+ this->m_MPRActors->SetLevel( l );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetWindowLevel( double w, double l )
+{
+ this->m_MPRActors->SetWindowLevel( w, l );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+ResetWindowLevel( )
+{
+ this->m_MPRActors->ResetWindowLevel( );
+}
+
+// -------------------------------------------------------------------------
+int cpExtensions::Visualization::MPRObjects::
+GetSliceNumber( const int& axis ) const
+{
+ return( this->m_MPRActors->GetSliceNumber( axis ) );
+}
+
+// -------------------------------------------------------------------------
+int cpExtensions::Visualization::MPRObjects::
+GetSliceNumberMinValue( const int& axis ) const
+{
+ return( this->m_MPRActors->GetSliceNumberMinValue( axis ) );
+}
+
+// -------------------------------------------------------------------------
+int cpExtensions::Visualization::MPRObjects::
+GetSliceNumberMaxValue( const int& axis ) const
+{
+ return( this->m_MPRActors->GetSliceNumberMaxValue( axis ) );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetSliceNumber( const int& axis, const int& slice )
+{
+ this->m_MPRActors->SetSliceNumber( axis, slice );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+SetSlice( const int& axis, double* pos )
+{
+ this->m_MPRActors->SetSlice( axis, pos );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+Render( const double& t )
+{
+ this->Render( 0, t );
+ this->Render( 1, t );
+ this->Render( 2, t );
+ this->Render( 3, t );
+}
+
+// -------------------------------------------------------------------------
+void cpExtensions::Visualization::MPRObjects::
+Render( const int& axis, const double& t )
+{
+ if( axis < 4 )
+ {
+ if( this->m_Windows[ axis ].GetPointer( ) != NULL )
+ {
+ if( this->m_Renderers[ axis ].GetPointer( ) != NULL )
+ this->m_Renderers[ axis ]->SetAllocatedRenderTime( t );
+ this->m_Windows[ axis ]->Render( );