+ if( this->m_Plugins->ReadImage( this->m_MainImage, true ) )
+ {
+ vtkImageData* vimage = this->m_MainImage->GetVTK< vtkImageData >( );
+ if( vimage == NULL )
+ QMessageBox::critical(
+ this,
+ QMessageBox::tr( "Error showing image." ),
+ QMessageBox::tr(
+ "Image was read, but no valid VTK conversion was found."
+ )
+ );
+ else
+ this->m_UI->MPR->ShowImage( vimage );
+
+ } // fi
+}
+
+// -------------------------------------------------------------------------
+void ImageMPR::
+_aOpenDICOMSeries( )
+{
+ if( this->m_MainImage.IsNotNull( ) )
+ this->m_UI->MPR->ClearAll( );
+ if( this->m_Plugins->ReadDicomSeries( this->m_MainImage ) )
+ {
+ vtkImageData* vimage = this->m_MainImage->GetVTK< vtkImageData >( );
+ if( vimage == NULL )
+ QMessageBox::critical(
+ this,
+ QMessageBox::tr( "Error showing image." ),
+ QMessageBox::tr(
+ "Image was read, but no valid VTK conversion was found."
+ )
+ );
+ else
+ this->m_UI->MPR->ShowImage( vimage );
+
+ } // fi