X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcpPlugins%2FInterface%2FDataObject.h;fp=lib%2FcpPlugins%2FInterface%2FDataObject.h;h=46682197b81eee9b3bae03f355965dec90b18e20;hb=55743f4ff8867c0075518dcc6b76745722ce60ed;hp=841f3a2514366b9af2d01bf5e943fd2145904795;hpb=d6f15d4cb764982e2b09060a9c0f38636891590c;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/DataObject.h b/lib/cpPlugins/Interface/DataObject.h index 841f3a2..4668219 100644 --- a/lib/cpPlugins/Interface/DataObject.h +++ b/lib/cpPlugins/Interface/DataObject.h @@ -1,11 +1,9 @@ #ifndef __CPPLUGINS__INTERFACE__DATAOBJECT__H__ #define __CPPLUGINS__INTERFACE__DATAOBJECT__H__ -#include #include #include - #include #include @@ -13,6 +11,9 @@ namespace cpPlugins { namespace Interface { + // Some forward declarations + class ProcessObject; + /** */ class cpPlugins_Interface_EXPORT DataObject @@ -26,14 +27,12 @@ namespace cpPlugins public: itkTypeMacro( DataObject, Object ); - cpPlugins_Id_Macro( - cpPlugins::Interface::DataObject, "BasicObject" - ); + cpPlugins_Id_Macro( DataObject, "BasicObject" ); public: - Object* GetSource( ); - const Object* GetSource( ) const; - void SetSource( Object* src ); + ProcessObject* GetSource( ); + const ProcessObject* GetSource( ) const; + void SetSource( ProcessObject* src ); void DisconnectPipeline( ); @@ -61,7 +60,7 @@ namespace cpPlugins protected: itk::Object::Pointer m_ITKObject; vtkSmartPointer< vtkObject > m_VTKObject; - Object::Pointer m_Source; + ProcessObject* m_Source; }; } // ecapseman