]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Image.hxx
More bugs smashed
[cpPlugins.git] / lib / cpPlugins / Image.hxx
index dd6ef10163482f101a661336bd9f798c71114f23..47778ddf3b490dac9c09d7fd8fd90b4dead792b2 100644 (file)
@@ -70,13 +70,13 @@ _ITK_2_VTK_1( itk::LightObject* o )
 }
 
 // -------------------------------------------------------------------------
-template< class I >
+template< class T >
 bool cpPlugins::Image::
 _ITK_2_VTK_2( itk::LightObject* o )
 {
-  typedef itk::ImageToVTKImageFilter< I > _I2V;
+  typedef itk::ImageToVTKImageFilter< T > _I2V;
 
-  I* image = dynamic_cast< I* >( o );
+  T* image = dynamic_cast< T* >( o );
   if( image != NULL )
   {
     _I2V* f = dynamic_cast< _I2V* >( this->m_ITKvVTK.GetPointer( ) );