X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FImage.h;h=a5beda39b58b59c7e3424a435f1cdbb9c1cafb7a;hb=94a44f4cdf4747eccc933df0a9c75ec86e825d2e;hp=1da443bfa457df5350392f859d0b9884d502005e;hpb=a3cae0375976d524c957493a3cc565b9f5b20bce;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Image.h b/lib/cpPlugins/Interface/Image.h index 1da443b..a5beda3 100644 --- a/lib/cpPlugins/Interface/Image.h +++ b/lib/cpPlugins/Interface/Image.h @@ -4,23 +4,10 @@ #include #include -#define ITK_MANUAL_INSTANTIATION #include class vtkImageData; -// ------------------------------------------------------------------------- -/* TODO - #define cpPlugins_Image_Demangle( p, d, o, f, r ) \ - if( dynamic_cast< itk::Image< p, d >* >( o ) != NULL ) \ - r = this->f< itk::Image< p, d > >( o ) - - // ------------------------------------------------------------------------- - #define cpPlugins_Image_Array_Demangle( a, p, da, di, o, f, r ) \ - if( dynamic_cast< itk::Image< a< p, da >, di >* >( o ) != NULL ) \ - r = this->f< itk::Image< a< p, da >, di > >( o ) -*/ - // ------------------------------------------------------------------------- namespace cpPlugins { @@ -42,11 +29,6 @@ namespace cpPlugins itkTypeMacro( Image, DataObject ); public: - /* - virtual void SetITKDataObject( itk::DataObject* o ); - virtual void SetVTKDataObject( vtkDataObject* o ); - */ - template< class I > inline void SetITKImage( itk::DataObject* object ); @@ -67,14 +49,6 @@ namespace cpPlugins template< class P, unsigned int D > inline void _ITK_2_VTK( itk::DataObject* object ); - /* TODO - template< unsigned int D > - bool _Dim( itk::DataObject* o ); - - template< class I > - bool _Type( itk::DataObject* o ); - */ - private: // Purposely not implemented Image( const Self& );