From: kgv Date: Tue, 2 May 2017 07:22:59 +0000 (+0300) Subject: 0028664: Documentation of Graphic3d_CView::Activate and Deactivate does not seem... X-Git-Tag: V7_2_0_beta~146 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=46710942dbe26ad34d5132db552dc1bd4387d507;p=occt.git 0028664: Documentation of Graphic3d_CView::Activate and Deactivate does not seem to be correct --- diff --git a/src/Graphic3d/Graphic3d_CView.hxx b/src/Graphic3d/Graphic3d_CView.hxx index 95ac5bd957..3856bf9f20 100644 --- a/src/Graphic3d/Graphic3d_CView.hxx +++ b/src/Graphic3d/Graphic3d_CView.hxx @@ -70,12 +70,11 @@ public: //! Returns the identification number of the view. Standard_Integer Identification() const { return myId; } - //! Activates the view. Map the associated window on the screen and post the view in this window. - //! Warning: Raises ViewDefinitionError if the associated window isn't defined. + //! Activates the view. Maps presentations defined within structure manager onto this view. Standard_EXPORT virtual void Activate(); - //! Deactivates the view. Unmap the associated window on the screen and unpost the view in this window. - //! Warning: Raises ViewDefinitionError if the associated window isn't defined. + //! Deactivates the view. Unmaps presentations defined within structure manager. + //! The view in deactivated state will ignore actions on structures such as Display(). Standard_EXPORT virtual void Deactivate(); //! Returns the activity flag of the view.