#ifndef __CPPLUGINS__PLUGINS__IMAGEWRITER__H__ #define __CPPLUGINS__PLUGINS__IMAGEWRITER__H__ #include #include namespace cpPlugins { namespace Plugins { /** */ class cpPlugins_EXPORT ImageWriter : public cpPlugins::Interface::ImageSink { public: typedef ImageWriter Self; typedef cpPlugins::Interface::ImageSink Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; public: itkNewMacro( Self ); itkTypeMacro( ImageWriter, cpPluginsInterfaceImageSink ); protected: ImageWriter( ); virtual ~ImageWriter( ); virtual std::string _GenerateData( ); template< class I > inline std::string _RealGD( itk::DataObject* image ); private: // Purposely not implemented ImageWriter( const Self& ); Self& operator=( const Self& ); }; // --------------------------------------------------------------------- CPPLUGINS_INHERIT_PROVIDER( ImageWriter ); } // ecapseman } // ecapseman #endif // __CPPLUGINS__PLUGINS__IMAGEWRITER__H__ // eof - $RCSfile$