X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FMesh.h;h=4d1f8fd3494a0146cb1b92398a578d66d373c5ce;hb=6ffc11d77924d6ab7e94db95d41105982ac73e00;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=8c23766af88a29c3e830299dffc4b95d9fe61df9;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Mesh.h b/lib/cpPlugins/Interface/Mesh.h index e69de29..4d1f8fd 100644 --- a/lib/cpPlugins/Interface/Mesh.h +++ b/lib/cpPlugins/Interface/Mesh.h @@ -0,0 +1,54 @@ +#ifndef __CPPLUGINS__INTERFACE__MESH__H__ +#define __CPPLUGINS__INTERFACE__MESH__H__ + +#include + +// Some forward declarations +class vtkObject; + +namespace cpPlugins +{ + namespace Interface + { + /** + */ + class cpPlugins_Interface_EXPORT Mesh + : public DataObject + { + public: + typedef Mesh Self; + typedef DataObject Superclass; + typedef itk::SmartPointer< Self > Pointer; + typedef itk::SmartPointer< const Self > ConstPointer; + + public: + itkNewMacro( Self ); + itkTypeMacro( Mesh, DataObject ); + cpPlugins_Id_Macro( Mesh, DataObject ); + + public: + virtual void SetITK( itk::LightObject* o ); + virtual void SetVTK( vtkObjectBase* o ); + + protected: + Mesh( ); + virtual ~Mesh( ); + + template< class M > + inline void _ITK_2_VTK( itk::LightObject* o ); + + private: + // Purposely not implemented + Mesh( const Self& ); + Self& operator=( const Self& ); + }; + + } // ecapseman + +} // ecapseman + +#include + +#endif // __CPPLUGINS__INTERFACE__MESH__H__ + +// eof - $RCSfile$