X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_OCCDisplayer.h;h=681e137abcdc629e70073b385194cd52eb4582e4;hb=f34b90e9e4e02ba65419134d5d37a2e42aecfabf;hp=410ee7766d4dde7c09eb13e7baf4e0dde2247896;hpb=026402739f8239caa8c470c19402ce379d17b9d7;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_OCCDisplayer.h b/src/HYDROGUI/HYDROGUI_OCCDisplayer.h index 410ee776..681e137a 100644 --- a/src/HYDROGUI/HYDROGUI_OCCDisplayer.h +++ b/src/HYDROGUI/HYDROGUI_OCCDisplayer.h @@ -55,6 +55,11 @@ public: void SetToUpdate( const HYDROData_SequenceOfObjects& theObjs, const int theViewerId ); + /** + * \brief Get the applicable viewer type. + */ + virtual QString GetType() const; + protected: /** * \brief Erase all viewer objects. @@ -75,11 +80,14 @@ protected: * \param theObjs sequence of objects to display * \param theViewerId viewer identifier * \param theIsForced flag used to update all objects, including the unchanged ones + * \param theDoFitAll flag used to fit the view to all visible objects; do not fit by default */ void Display( const HYDROData_SequenceOfObjects& theObjs, const int theViewerId, - const bool theIsForced ); + const bool theIsForced, + const bool theDoFitAll ); +protected: /** * \brief Purge all invalid objects in the viewer. * \param theViewerId viewer identifier