1 #ifndef __CPPLUGINS__IMAGE__H__
2 #define __CPPLUGINS__IMAGE__H__
4 #include <cpPlugins/DataObject.h>
6 #include <itkProcessObject.h>
12 class cpPlugins_EXPORT Image
17 typedef DataObject Superclass;
18 typedef itk::SmartPointer< Self > Pointer;
19 typedef itk::SmartPointer< const Self > ConstPointer;
23 itkTypeMacro( Image, DataObject );
24 cpPlugins_Id_Macro( Image, Object );
27 virtual void SetITK( itk::LightObject* o ) ITK_OVERRIDE;
28 virtual void SetVTK( vtkObjectBase* o ) ITK_OVERRIDE;
30 virtual vtkProp* CreateVTKActor( ) ITK_OVERRIDE;
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;
56 #include <cpPlugins/Image.hxx>
58 #endif // __CPPLUGINS__IMAGE__H__