if( name == "" ) \
return; \
TImage* image = this->m_Plugins.GetData< TImage >( name ); \
- vtkImageData* vimage = image->GetVTK< vtkImageData >( ); \
- if( vimage != NULL ) \
- { \
- this->m_UI->MPR->AddImage( vimage, name ); \
- this->m_UI->MPR->ShowData( name ); \
- } \
- else \
- QMessageBox::critical( \
- this, \
- QMessageBox::tr( "Error showing image." ), \
- QMessageBox::tr( "Image read, but no valid VTK conversion found." ) \
- ); \
+ this->m_UI->MPR->AddData( image, name, "" ); \
+ this->m_UI->MPR->ShowData( name ); \
} \
catch( std::exception& err ) \
{ \