X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ViewerProxy.h;h=dfd632bdab9699a1497f78fcdca15e941d36f6c7;hb=f8d51abf2ab6024a974d42c139f7650ccf0ef774;hp=17d0bb8c4cd2cd8a85a31982e16dadb870f31880;hpb=ab453e930becb984af924565b2bf477628b91be0;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ViewerProxy.h b/src/XGUI/XGUI_ViewerProxy.h index 17d0bb8c4..dfd632bda 100644 --- a/src/XGUI/XGUI_ViewerProxy.h +++ b/src/XGUI/XGUI_ViewerProxy.h @@ -28,12 +28,27 @@ public: //! Returns Vsd_View object from currently active view window virtual Handle(V3d_View) activeView() const; + //! Enable or disable selection in the viewer + virtual void enableSelection(bool isEnabled); + + //! Returns true if selection is enabled + virtual bool isSelectionEnabled() const; + + //! Enable or disable multiselection in the viewer + virtual void enableMultiselection(bool isEnable); + + //! Returns true if multiselection is enabled + virtual bool isMultiSelectionEnabled() const; + //! Sets the view projection /// \param theX the X projection value /// \param theY the Y projection value /// \param theZ the Z projection value void setViewProjection(double theX, double theY, double theZ); + //! Sets the view fitted all + void fitAll(); + /// Connects to a viewer according to current environment void connectToViewer(); @@ -49,4 +64,4 @@ private: XGUI_Workshop* myWorkshop; }; -#endif \ No newline at end of file +#endif