1 #ifndef __CPPLUGINS__PLUGINS__IMAGEREADER__H__
2 #define __CPPLUGINS__PLUGINS__IMAGEREADER__H__
6 #include <cpPlugins/Plugins/cpPlugins_Export.h>
7 #include <cpPlugins/Interface/BaseProcessObjects.h>
9 #define ITK_MANUAL_INSTANTIATION
10 #include <itkImageIOBase.h>
18 class /*cpPlugins_EXPORT*/ ImageReader
19 : public cpPlugins::Interface::ImageSource
22 typedef ImageReader Self;
23 typedef cpPlugins::Interface::ImageSource Superclass;
24 typedef itk::SmartPointer< Self > Pointer;
25 typedef itk::SmartPointer< const Self > ConstPointer;
28 std::vector< cpPlugins::Interface::Parameters::TString >
33 itkTypeMacro( ImageReader, cpPluginsInterfaceImageSource );
37 virtual ~ImageReader( );
39 virtual std::string _GenerateData( );
41 template< unsigned int D >
42 std::string _GD0( itk::ImageIOBase* io, const TStringList& names );
44 template< class P, unsigned int D >
45 std::string _RealGD( const TStringList& names );
48 // Purposely not implemented
49 ImageReader( const Self& );
50 Self& operator=( const Self& );
53 // ---------------------------------------------------------------------
54 CPPLUGINS_INHERIT_PROVIDER( ImageReader );
60 #endif // __CPPLUGINS__PLUGINS__IMAGEREADER__H__