1 #ifndef __CPPLUGINS__PLUGINS__POLYDATAREADER__H__
2 #define __CPPLUGINS__PLUGINS__POLYDATAREADER__H__
4 #include <cpPlugins/Plugins/cpPlugins_Export.h>
5 #include <cpPlugins/Interface/PolyDataSource.h>
7 #include <vtkAlgorithm.h>
8 #include <vtkSmartPointer.h>
16 class cpPlugins_EXPORT PolyDataReader
17 : public cpPlugins::Interface::PolyDataSource
20 typedef PolyDataReader Self;
21 typedef cpPlugins::Interface::PolyDataSource Superclass;
22 typedef itk::SmartPointer< Self > Pointer;
23 typedef itk::SmartPointer< const Self > ConstPointer;
27 itkTypeMacro( PolyDataReader, cpPluginsInterfacePolyDataSource );
30 virtual std::string GetClassName( ) const;
34 virtual ~PolyDataReader( );
36 virtual std::string _GenerateData( );
39 // Purposely not implemented
40 PolyDataReader( const Self& );
41 Self& operator=( const Self& );
44 vtkSmartPointer< vtkAlgorithm > m_Reader;
47 // ---------------------------------------------------------------------
48 CPPLUGINS_INHERIT_PROVIDER( PolyDataReader );
54 #endif // __CPPLUGINS__PLUGINS__POLYDATAREADER__H__