X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FDataObject.h;h=c08b3a345475f28fc4521c3876fee70233ff513a;hb=72853b99e3ec514e82859f47b390be4dc2958d0b;hp=c6a2129576e27fcb81cce76559092b06bef7ba34;hpb=cb833d2fface96e020fe91584d2206860a8174ee;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/DataObject.h b/lib/cpPlugins/Interface/DataObject.h index c6a2129..c08b3a3 100644 --- a/lib/cpPlugins/Interface/DataObject.h +++ b/lib/cpPlugins/Interface/DataObject.h @@ -3,10 +3,13 @@ #include #include -#include +#include +#include #include #include +#include + namespace cpPlugins { namespace Interface @@ -23,16 +26,9 @@ namespace cpPlugins typedef itk::SmartPointer< const Self > ConstPointer; public: - itkNewMacro( Self ); itkTypeMacro( DataObject, Object ); public: - virtual std::string GetClassName( ) const; - virtual std::string GetClassType( ) const; - - itk::DataObject* GetRealDataObject( ) const; - virtual void SetRealDataObject( itk::DataObject* dobj ); - Object* GetSource( ); const Object* GetSource( ) const; void SetSource( Object* src ); @@ -49,8 +45,9 @@ namespace cpPlugins Self& operator=( const Self& ); protected: - itk::DataObject::Pointer m_RealDataObject; - Object::Pointer m_Source; + itk::DataObject::Pointer m_ITKObject; + vtkSmartPointer< vtkDataObject > m_VTKObject; + Object::Pointer m_Source; }; } // ecapseman