X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FDataObject.h;h=95cf3dd80c88a443e1ba3e047d73b87c83739259;hb=d610d96888c9bf3f6d3ca968c3dbb821eb9db58c;hp=279fe761858eb9f30a4de49c830c8594cc7ea3cf;hpb=1b0022070ff3b5f80f6f8c8b87f73032f5685eaf;p=cpPlugins.git diff --git a/lib/cpPlugins/DataObject.h b/lib/cpPlugins/DataObject.h index 279fe76..95cf3dd 100644 --- a/lib/cpPlugins/DataObject.h +++ b/lib/cpPlugins/DataObject.h @@ -2,6 +2,11 @@ #define __CPPLUGINS__DATAOBJECT__H__ #include +#include +#include + +// Some forward declarations +// TODO: class vtkProp; namespace cpPlugins { @@ -31,17 +36,25 @@ namespace cpPlugins void DisconnectFromPipeline( ); + // VTK actors + vtkProp* GetVTKActor( ); + const vtkProp* GetVTKActor( ) const; + protected: DataObject( ); virtual ~DataObject( ); + virtual void _CreateVTKActor( ) const; + private: // Purposely not implemented DataObject( const Self& ); Self& operator=( const Self& ); protected: - ProcessObject* m_Source; + ProcessObject* m_Source; + // TODO: mutable vtkProp* m_Actor; + mutable vtkSmartPointer< vtkProp > m_Actor; }; } // ecapseman