X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPluginsExtensions%2FSkeleton.h;fp=lib%2FcpPluginsExtensions%2FSkeleton.h;h=0be2901bd78f798fd0c2e9f9b0b2101b2211634a;hb=ced860e96e5d2e10481582649664505396b0054d;hp=0000000000000000000000000000000000000000;hpb=d8c6c19cd58d865ddfde7a5724bd99bbad19878c;p=cpPlugins.git diff --git a/lib/cpPluginsExtensions/Skeleton.h b/lib/cpPluginsExtensions/Skeleton.h new file mode 100644 index 0000000..0be2901 --- /dev/null +++ b/lib/cpPluginsExtensions/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$