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