X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=plugins%2FExtensions%2FSkeleton.h;fp=plugins%2FExtensions%2FSkeleton.h;h=839da1748094c6230f0e63870470e7ba84170ba2;hb=514419c89876aa75880cabee60c14f7582b1d33c;hp=0000000000000000000000000000000000000000;hpb=d74a07c7e0854fcfe2b0189805b992785f3631e8;p=cpPlugins.git diff --git a/plugins/Extensions/Skeleton.h b/plugins/Extensions/Skeleton.h new file mode 100644 index 0000000..839da17 --- /dev/null +++ b/plugins/Extensions/Skeleton.h @@ -0,0 +1,58 @@ +#ifndef __cpPluginsExtensions__Skeleton__h__ +#define __cpPluginsExtensions__Skeleton__h__ + +#include +#include +#include +#include + +// ------------------------------------------------------------------------- +class vtkPolyDataAlgorithm; + +// ------------------------------------------------------------------------- +namespace cpPluginsExtensions +{ + /** + */ + class cpPluginsExtensions_EXPORT Skeleton + : public cpPlugins::BaseObjects::DataObject + { + public: + typedef Skeleton Self; + typedef cpPlugins::BaseObjects::DataObject Superclass; + typedef itk::SmartPointer< Self > Pointer; + typedef itk::SmartPointer< const Self > ConstPointer; + + public: + itkNewMacro( Self ); + itkTypeMacro( + Skeleton, cpPlugins::BaseObjects::DataObject + ); + cpPlugins_Id_Macro( Skeleton, Object ); + cpPlugins_Compatibility_Macro; + + public: + virtual void SetITK( itk::LightObject* o ) cpPlugins_OVERRIDE; + virtual void SetVTK( vtkObjectBase* o ) cpPlugins_OVERRIDE; + + protected: + Skeleton( ); + virtual ~Skeleton( ); + + template< class _TSkeleton > + inline void _ITK_2_VTK( _TSkeleton* sk ); + + private: + // Purposely not implemented + Skeleton( const Self& ); + Self& operator=( const Self& ); + + protected: + vtkSmartPointer< vtkPolyDataAlgorithm > m_ITKvVTK; + }; + +} // ecapseman + +#endif // __cpPluginsExtensions__Skeleton__h__ + +// eof - $RCSfile$