X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FMeshSources%2FCylinderSource.h;h=03d83bd90de8d1d0f59f64dc79ef1208152f06c8;hb=931fb6b5db15d945e7412735b1ee082b8f62cc97;hp=f7092af09632d9e662bba2582fdcdba288dd3bc5;hpb=8ada00da37d8c4dc70b9387c1147566c62dbd41f;p=cpPlugins.git diff --git a/plugins/MeshSources/CylinderSource.h b/plugins/MeshSources/CylinderSource.h index f7092af..03d83bd 100644 --- a/plugins/MeshSources/CylinderSource.h +++ b/plugins/MeshSources/CylinderSource.h @@ -1,38 +1,21 @@ #ifndef __CPPLUGINSMESHSOURCES__CYLINDERSOURCE__H__ #define __CPPLUGINSMESHSOURCES__CYLINDERSOURCE__H__ -#include -#include +#include +#include namespace cpPluginsMeshSources { /** */ class cpPluginsMeshSources_EXPORT CylinderSource - : public cpPlugins::ProcessObject + : public cpPlugins::BaseObjects::ProcessObject { - cpPluginsObject; - public: - typedef CylinderSource Self; - typedef cpPlugins::ProcessObject Superclass; - typedef itk::SmartPointer< Self > Pointer; - typedef itk::SmartPointer< const Self > ConstPointer; - - public: - itkNewMacro( Self ); - itkTypeMacro( CylinderSource, cpPlugins::ProcessObject ); - cpPlugins_Id_Macro( CylinderSource, MeshSources ); - - protected: - CylinderSource( ); - virtual ~CylinderSource( ); - - virtual void _GenerateData( ) ITK_OVERRIDE; - - private: - // Purposely not implemented - CylinderSource( const Self& ); - Self& operator=( const Self& ); + cpPluginsObject( + CylinderSource, + cpPlugins::BaseObjects::ProcessObject, + MeshSources + ); }; } // ecapseman