1 #ifndef __CPPLUGINS__PLUGINS__IMAGEREADER__H__
2 #define __CPPLUGINS__PLUGINS__IMAGEREADER__H__
6 #include <cpPlugins/IO/cpPluginsIO_Export.h>
7 #include <cpPlugins/Interface/BaseProcessObjects.h>
20 class cpPluginsIO_EXPORT ImageReader
21 : public cpPlugins::Interface::ImageSource
24 typedef ImageReader Self;
25 typedef cpPlugins::Interface::ImageSource Superclass;
26 typedef itk::SmartPointer< Self > Pointer;
27 typedef itk::SmartPointer< const Self > ConstPointer;
29 typedef Superclass::TParameters TParameters;
30 typedef std::vector< TParameters::TString > TStringList;
34 itkTypeMacro( ImageReader, cpPluginsInterfaceImageSource );
36 cpPlugins::IO::ImageReader, "ImageReader"
40 virtual DialogResult ExecConfigurationDialog( QWidget* parent );
44 virtual ~ImageReader( );
46 virtual std::string _GenerateData( );
48 template< unsigned int D >
49 std::string _GD0( itk::ImageIOBase* io, const TStringList& names );
51 template< class P, unsigned int D >
52 std::string _GD1( const TStringList& names );
55 std::string _RealGD( const TStringList& names );
58 // Purposely not implemented
59 ImageReader( const Self& );
60 Self& operator=( const Self& );
63 // ---------------------------------------------------------------------
64 CPPLUGINS_INHERIT_PROVIDER( ImageReader );
70 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__