#ifndef __CPPLUGINS__IMAGE__H__ #define __CPPLUGINS__IMAGE__H__ #include #include namespace cpPlugins { /** */ class cpPlugins_EXPORT Image : public DataObject { public: typedef Image Self; typedef DataObject Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( Image, DataObject ); cpPlugins_Id_Macro( Image, Object ); public: virtual void SetITK( itk::LightObject* o ) ITK_OVERRIDE; virtual void SetVTK( vtkObjectBase* o ) ITK_OVERRIDE; protected: Image( ); virtual ~Image( ); virtual void _CreateVTKActor( ) const ITK_OVERRIDE; template< unsigned int D > inline bool _ITK_2_VTK_0( itk::LightObject* o ); template< class P, unsigned int D > inline bool _ITK_2_VTK_1( itk::LightObject* o ); template< class T > inline bool _ITK_2_VTK_2( itk::LightObject* o ); private: // Purposely not implemented Image( const Self& ); Self& operator=( const Self& ); protected: itk::ProcessObject::Pointer m_ITKvVTK; }; } // ecapseman #include #endif // __CPPLUGINS__IMAGE__H__ // eof - $RCSfile$