1 #ifndef __CPPLUGINS__INTERFACE__IMAGE__H__
2 #define __CPPLUGINS__INTERFACE__IMAGE__H__
4 #include <cpPlugins/Interface/DataObject.h>
6 #include <itkProcessObject.h>
14 class cpPlugins_Interface_EXPORT Image
19 typedef DataObject Superclass;
20 typedef itk::SmartPointer< Self > Pointer;
21 typedef itk::SmartPointer< const Self > ConstPointer;
25 itkTypeMacro( Image, DataObject );
26 cpPlugins_Id_Macro( Image, DataObject );
29 virtual void SetITK( itk::LightObject* o );
30 virtual void SetVTK( vtkObjectBase* o );
36 template< unsigned int D >
37 inline bool _ITK_2_VTK_0( itk::LightObject* o );
39 template< class P, unsigned int D >
40 inline bool _ITK_2_VTK_1( itk::LightObject* o );
43 inline bool _ITK_2_VTK_2( itk::LightObject* o );
46 // Purposely not implemented
48 Self& operator=( const Self& );
51 itk::ProcessObject::Pointer m_ITKvVTK;
58 #include <cpPlugins/Interface/Image.hxx>
60 #endif // __CPPLUGINS__INTERFACE__IMAGE__H__