1 #ifndef __CPPLUGINS__PLUGINS__IMAGEWRITER__H__
2 #define __CPPLUGINS__PLUGINS__IMAGEWRITER__H__
4 #include <cpPlugins/IO/cpPluginsIO_Export.h>
5 #include <cpPlugins/Interface/BaseProcessObjects.h>
13 class cpPluginsIO_EXPORT ImageWriter
14 : public cpPlugins::Interface::ImageSink
17 typedef ImageWriter Self;
18 typedef cpPlugins::Interface::ImageSink Superclass;
19 typedef itk::SmartPointer< Self > Pointer;
20 typedef itk::SmartPointer< const Self > ConstPointer;
24 itkTypeMacro( ImageWriter, cpPluginsInterfaceImageSink );
25 cpPlugins_Id_Macro( cpPlugins::IO::ImageWriter, IO );
28 virtual DialogResult ExecConfigurationDialog( QWidget* parent );
32 virtual ~ImageWriter( );
34 virtual std::string _GenerateData( );
37 * These two methods are Microsort courtesy: inner loop error !
39 template< unsigned int D >
40 inline std::string _GD0_Image( );
42 template< unsigned int D >
43 inline std::string _GD0_VectorImage( );
46 inline std::string _RealGD( itk::DataObject* image );
49 // Purposely not implemented
50 ImageWriter( const Self& );
51 Self& operator=( const Self& );
54 // ---------------------------------------------------------------------
55 CPPLUGINS_INHERIT_PROVIDER( ImageWriter );
61 #endif // __CPPLUGINS__PLUGINS__IMAGEWRITER__H__