X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FMesh.h;h=e7692390bc46e12a2d2f663159d9c5ac5d56462d;hb=de874ea850042e77a99a456188f423c8df2e374f;hp=241da35309cac492dfea071d86be5fa226af0407;hpb=cb833d2fface96e020fe91584d2206860a8174ee;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Mesh.h b/lib/cpPlugins/Interface/Mesh.h index 241da35..e769239 100644 --- a/lib/cpPlugins/Interface/Mesh.h +++ b/lib/cpPlugins/Interface/Mesh.h @@ -1,14 +1,8 @@ #ifndef __CPPLUGINS__INTERFACE__MESH__H__ #define __CPPLUGINS__INTERFACE__MESH__H__ -#include -#include -#include -#include #include -class vtkMapper; - namespace cpPlugins { namespace Interface @@ -27,37 +21,30 @@ namespace cpPlugins public: itkNewMacro( Self ); itkTypeMacro( Mesh, DataObject ); + cpPlugins_Id_Macro( Mesh, DataObject ); public: - virtual std::string GetClassName( ) const; - virtual void SetRealDataObject( itk::DataObject* dobj ); + template< class M > + inline void SetITK( itk::Object* object ); - vtkMapper* GetVTKMapper( ) const; + virtual void SetVTK( vtkObject* mesh ); protected: Mesh( ); virtual ~Mesh( ); - template< class M > - void _Map( ); - private: // Purposely not implemented Mesh( const Self& ); Self& operator=( const Self& ); - - protected: - /* - itk::ProcessObject::Pointer m_Mesh2VTKMeshData; - vtkMeshData* m_VTKMeshData; - */ - vtkMapper* m_Mapper; }; } // ecapseman } // ecapseman +#include + #endif // __CPPLUGINS__INTERFACE__MESH__H__ // eof - $RCSfile$