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< std::string > TStringList;
34 itkTypeMacro( ImageReader, cpPluginsInterfaceImageSource );
35 cpPlugins_Id_Macro( cpPlugins::IO::ImageReader, IO );
39 virtual ~ImageReader( );
41 virtual std::string _GenerateData( );
43 template< unsigned int D >
44 std::string _GD0( itk::ImageIOBase* io, const TStringList& names );
46 template< class P, unsigned int D >
47 std::string _GD1( const TStringList& names );
50 std::string _RealGD( const TStringList& names );
53 // Purposely not implemented
54 ImageReader( const Self& );
55 Self& operator=( const Self& );
58 // ---------------------------------------------------------------------
59 CPPLUGINS_INHERIT_PROVIDER( ImageReader );
65 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__