X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOCCViewer%2FOCCViewer_ViewPort3d.h;h=1413b76e9eb1363d20ed3a0b47ea71d022ad4f5e;hb=77a9b7ac9d8b364358e1760e74a44e86557b79aa;hp=cd8b1c9e1c945603967a4f1af48ef0fb92d294d9;hpb=709ca3ff8e3de62937d1e781abd8ee8794ce760a;p=modules%2Fgui.git diff --git a/src/OCCViewer/OCCViewer_ViewPort3d.h b/src/OCCViewer/OCCViewer_ViewPort3d.h index cd8b1c9e1..1413b76e9 100755 --- a/src/OCCViewer/OCCViewer_ViewPort3d.h +++ b/src/OCCViewer/OCCViewer_ViewPort3d.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -63,8 +63,6 @@ public: virtual int getBgImgHeight(){return myBgImgHeight; }; virtual int getBgImgWidth() {return myBgImgWidth; }; - virtual void updateStaticTriedronVisibility(); - // void setActive( V3d_TypeOfView ); virtual bool syncronize( const OCCViewer_ViewPort3d* ); @@ -94,10 +92,17 @@ public: void setAdvancedZoomingEnabled( const bool theState ) { myIsAdvancedZoomingEnabled = theState; } bool isAdvancedZoomingEnabled() const { return myIsAdvancedZoomingEnabled; } + void showStaticTrihedron( bool ); + + //void repaintViewAfterMove( ); + + void setDefaultCursor( Qt::CursorShape theCursorShape ); + QCursor* getDefaultCursor() const; + signals: void vpChangeBackground( const Qtx::BackgroundData& ); - void vpClosed(); - void vpMapped(); + void vpClosed(OCCViewer_ViewPort3d*); + void vpMapped(OCCViewer_ViewPort3d*); public slots: virtual bool synchronize( OCCViewer_ViewPort* ); @@ -117,6 +122,7 @@ private: bool setWindow( const Handle(V3d_View)& ); bool mapped( const Handle(V3d_View)& ) const; void updateBackground(); + void setDefaultParams(); private: Handle(V3d_View) myActiveView; @@ -130,6 +136,7 @@ private: Qtx::BackgroundData myBackground; int myBgImgHeight; int myBgImgWidth; + QCursor* myCursor; }; #ifdef WIN32