]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Image.h
Widget integration (step 3/6). WARNING: IT DOES NOT COMPILE YET
[cpPlugins.git] / lib / cpPlugins / Interface / Image.h
index a5beda39b58b59c7e3424a435f1cdbb9c1cafb7a..5d0d55b6807497ed2ad9b0a2893b885287d0b6ee 100644 (file)
@@ -30,24 +30,16 @@ namespace cpPlugins
 
     public:
       template< class I >
-        inline void SetITKImage( itk::DataObject* object );
+        inline void SetITK( itk::Object* object );
 
-      template< class I >
-        inline I* GetITKImage( );
-
-      template< class I >
-        inline const I* GetITKImage( ) const;
-
-      virtual void SetVTKImageData( vtkImageData* image );
-      virtual vtkImageData* GetVTKImageData( );
-      virtual const vtkImageData* GetVTKImageData( ) const;
+      virtual void SetVTK( vtkObject* image );
 
     protected:
       Image( );
       virtual ~Image( );
 
       template< class P, unsigned int D >
-        inline void _ITK_2_VTK( itk::DataObject* object );
+        inline void _ITK_2_VTK( itk::Object* object );
 
     private:
       // Purposely not implemented