X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOCCViewer%2FOCCViewer_VService.h;h=e5cd81c9f82c309b27f327e010abae346ff7e3bd;hb=a02bf230b856e127c34d5b1f7b529f0116fc4123;hp=b4f9fe9387b03ef815725e24fa9e05520a03abc1;hpb=373ceb017989dce241907729a6391ce0af8b9dcb;p=modules%2Fgui.git diff --git a/src/OCCViewer/OCCViewer_VService.h b/src/OCCViewer/OCCViewer_VService.h index b4f9fe938..e5cd81c9f 100755 --- a/src/OCCViewer/OCCViewer_VService.h +++ b/src/OCCViewer/OCCViewer_VService.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 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 @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,15 +23,13 @@ #ifndef OCCVIEWER_VSERVICE_H #define OCCVIEWER_VSERVICE_H -#include -#include -#include +#include +#include +#include #include #include #include -//#include #include -//#include #include #include @@ -39,33 +37,16 @@ class Standard_EXPORT OCCViewer_VService { public: - // STATIC METHODS - static Handle(Aspect_Window) CreateWindow( const Handle(V3d_View)& view, WId id ); - /* - static void SetWindow( const Handle( V3d_View )& view, - const Standard_Integer hiwin, - const Standard_Integer lowin, - const Xw_WindowQuality quality = Xw_WQ_3DQUALITY ); + static Handle(Aspect_Window) CreateWindow( const Handle(V3d_View)&, WId ); - static void SetMagnify( const Handle( V3d_View)& view, - const Standard_Integer hiwin, - const Standard_Integer lowin, - const Handle( V3d_View)& aPreviousView, - const Standard_Integer x1, - const Standard_Integer y1, - const Standard_Integer x2, - const Standard_Integer y2, - const Xw_WindowQuality quality = Xw_WQ_3DQUALITY ); - */ - - static Handle(V3d_Viewer) Viewer3d( const Standard_CString display, - const Standard_ExtString name, - const Standard_CString domain = "", - const Quantity_Length ViewSize = 1000.0, - const V3d_TypeOfOrientation ViewProj = V3d_XposYnegZpos, - const Standard_Boolean ComputedMode = Standard_True, - const Standard_Boolean DefaultComputedMode = Standard_True ); + static Handle(V3d_Viewer) CreateViewer( const Standard_ExtString, + const Standard_CString = "", + const Standard_CString = "", + const Quantity_Length = 1000.0, + const V3d_TypeOfOrientation = V3d_XposYnegZpos, + const Standard_Boolean = Standard_True, + const Standard_Boolean = Standard_True ); }; #endif