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