+++ /dev/null
-#ifndef __cpInstances__Image__h__
-#define __cpInstances__Image__h__
-
-#define ITK_MANUAL_INSTANTIATION
-#include <cpInstances/cpPluginsDataObjects_Export.h>
-#include <cpInstances/DataObjects/Image_Demanglers.h>
-#include <cpPlugins/Pipeline/DataObject.h>
-#include <itkProcessObject.h>
-
-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$