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;
34 virtual void _CreateVTKActor( ) const ITK_OVERRIDE;
36 template< unsigned int D >
37 inline bool _ITK_2_VTK_0_Scalar( itk::LightObject* o );
39 template< unsigned int D >
40 inline bool _ITK_2_VTK_0_Color( itk::LightObject* o );
42 template< class P, unsigned int D >
43 inline bool _ITK_2_VTK_1( itk::LightObject* o );
46 inline bool _ITK_2_VTK_2( itk::LightObject* o );
49 // Purposely not implemented
51 Self& operator=( const Self& );
54 itk::ProcessObject::Pointer m_ITKvVTK;
59 #include <cpPlugins/Image.hxx>
61 #endif // __CPPLUGINS__IMAGE__H__