X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FHYDROGUI%2FHYDROGUI_Displayer.h;h=17e23c9ab520fecbeb6ad22cb3f9ecac9d361e4a;hb=026402739f8239caa8c470c19402ce379d17b9d7;hp=bc01eb9017ca8a7593da0964df54945c01345136;hpb=4e7f0692821fc25214c394b5df638bba2e672d22;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Displayer.h b/src/HYDROGUI/HYDROGUI_Displayer.h index bc01eb90..17e23c9a 100644 --- a/src/HYDROGUI/HYDROGUI_Displayer.h +++ b/src/HYDROGUI/HYDROGUI_Displayer.h @@ -23,11 +23,10 @@ #ifndef HYDROGUI_DISPLAYER_H #define HYDROGUI_DISPLAYER_H -#include +#include "HYDROGUI_AbstractDisplayer.h" #include -class HYDROGUI_Module; class HYDROGUI_PrsDriver; class GraphicsView_Viewer; @@ -36,7 +35,7 @@ class GraphicsView_Viewer; * \class HYDROGUI_DataModel * \brief Class intended to create, display and update the presentations. */ -class HYDROGUI_Displayer +class HYDROGUI_Displayer : public HYDROGUI_AbstractDisplayer { public: /** @@ -59,16 +58,6 @@ public: void SetToUpdate( const HYDROData_SequenceOfObjects& theObjs, const int theViewerId ); - /** - * \brief Update all objects in the viewer. - * \param theViewerId viewer identifier - * \param theIsInit flag used for initial update - * \param theIsForced flag used to update all objects, including the unchanged ones - */ - void UpdateAll( const int theViewerId, - const bool theIsInit, - const bool theIsForced ); - protected: /** * \brief Erase all viewer objects. @@ -76,24 +65,6 @@ protected: */ void EraseAll( const int theViewerId ); - /** - * \brief Update and display all objects in the viewer. - * \param theViewerId viewer identifier - * \param theIsForced flag used to update all objects, including the unchanged ones - */ - void DisplayAll( const int theViewerId, - const bool theIsForced ); - - /** - * \brief Update the specified viewer objects. - * \param theObjs sequence of objects to update - * \param theViewerId viewer identifier - * \param theIsForced flag used to update all objects, including the unchanged ones - */ - void Update( const HYDROData_SequenceOfObjects& theObjs, - const int theViewerId, - const bool theIsForced ); - /** * \brief Erase the specified viewer objects. * \param theObjs sequence of objects to erase @@ -112,13 +83,13 @@ protected: const int theViewerId, const bool theIsForced ); -private: /** * \brief Purge all invalid objects in the viewer. * \param theViewerId viewer identifier */ void purgeObjects( const int theViewerId ); +private: /** * \brief Get the presentation driver for the specified data object. * \param theObj data object @@ -126,8 +97,6 @@ private: HYDROGUI_PrsDriver* getDriver( const Handle(HYDROData_Entity)& theObj ); private: - HYDROGUI_Module* myModule; - typedef QMap< ObjectKind, HYDROGUI_PrsDriver* > PrsDriversMap; PrsDriversMap myPrsDriversMap; };