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;
30 std::vector< cpPlugins::Interface::Parameters::TString >
35 itkTypeMacro( ImageReader, cpPluginsInterfaceImageSource );
37 cpPlugins::IO::ImageReader, "ImageReader"
41 virtual bool ExecConfigurationDialog( QWidget* parent );
45 virtual ~ImageReader( );
47 virtual std::string _GenerateData( );
49 template< unsigned int D >
50 std::string _GD0( itk::ImageIOBase* io, const TStringList& names );
52 template< class P, unsigned int D >
53 std::string _GD1( const TStringList& names );
56 std::string _RealGD( const TStringList& names );
59 // Purposely not implemented
60 ImageReader( const Self& );
61 Self& operator=( const Self& );
64 // ---------------------------------------------------------------------
65 CPPLUGINS_INHERIT_PROVIDER( ImageReader );
71 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__