X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpInstances%2FDataObjects%2FImage.h;fp=lib%2FcpInstances%2FDataObjects%2FImage.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=7a4a387a2e962d41af44e907bb0f0c21400ff770;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpInstances/DataObjects/Image.h b/lib/cpInstances/DataObjects/Image.h deleted file mode 100644 index 7a4a387..0000000 --- a/lib/cpInstances/DataObjects/Image.h +++ /dev/null @@ -1,71 +0,0 @@ -#ifndef __cpInstances__Image__h__ -#define __cpInstances__Image__h__ - -#define ITK_MANUAL_INSTANTIATION -#include -#include -#include -#include - -class vtkImageData; - -namespace cpInstances -{ - namespace DataObjects - { - /** - */ - class cpPluginsDataObjects_EXPORT Image - : public cpPlugins::Pipeline::DataObject - { - public: - typedef Image Self; - typedef cpPlugins::Pipeline::DataObject Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - public: - itkNewMacro( Self ); - itkTypeMacro( Image, cpPlugins::Pipeline::DataObject ); - cpPlugins_Id_Macro( Image, Object ); - cpPlugins_Compatibility_Macro; - - public: - virtual void SetITK( itk::LightObject* o ) override; - virtual void SetVTK( vtkObjectBase* o ) override; - - protected: - Image( ); - virtual ~Image( ); - - virtual void _UpdateITK( ) const override; - virtual void _UpdateVTK( ) const override; - - template< class _TImage > - inline void _ITK_2_VTK_0( _TImage* image ) const; - - template< class _TImage > - inline void _ITK_2_VTK_1( _TImage* image ) const; - - template< class _TPixel > - inline bool _VTK_2_ITK_0( vtkImageData* image ); - - template< class _TPixel, unsigned int _VDim > - inline bool _VTK_2_ITK_1( vtkImageData* image ); - - private: - // Purposely not implemented - Image( const Self& ); - Self& operator=( const Self& ); - - protected: - itk::ProcessObject::Pointer m_ITKvVTK; - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpInstances__Image__h__ - -// eof - $RCSfile$