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 );
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__