X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FMesh.h;h=10752baeb0be3d171b5495957173da3715d644b8;hb=273699a71c538630c162de031f0c95014319311d;hp=a1f06771b7410c41190b230f5899a7e8faddc30b;hpb=bc3afa8dc27d197bbe334c0b6f8650e7be435b6f;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Mesh.h b/lib/cpPlugins/Interface/Mesh.h index a1f0677..10752ba 100644 --- a/lib/cpPlugins/Interface/Mesh.h +++ b/lib/cpPlugins/Interface/Mesh.h @@ -1,13 +1,10 @@ #ifndef __CPPLUGINS__INTERFACE__MESH__H__ #define __CPPLUGINS__INTERFACE__MESH__H__ -#include -#include -#include -#include #include -class vtkMapper; +// Some forward declarations +class vtkObject; namespace cpPlugins { @@ -27,33 +24,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: - vtkMapper* m_Mapper; }; } // ecapseman } // ecapseman +#include + #endif // __CPPLUGINS__INTERFACE__MESH__H__ // eof - $RCSfile$