X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_UpdateFlags.h;h=2e06848b764ec8087d11724787239780d3d8db02;hb=53641ec32e8a7e7d3afe059ef050e1c42d2c83b6;hp=0bbaaaab40c600af3d9659e88cc0a3caadd4a2ff;hpb=ea51c1575cfdc7e3ad0b8cc1db55d9d83626b12d;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_UpdateFlags.h b/src/HYDROGUI/HYDROGUI_UpdateFlags.h index 0bbaaaab..2e06848b 100644 --- a/src/HYDROGUI/HYDROGUI_UpdateFlags.h +++ b/src/HYDROGUI/HYDROGUI_UpdateFlags.h @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 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 -// +// Copyright (C) 2014-2015 EDF-R&D // 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 @@ -33,9 +29,23 @@ */ typedef enum { - UF_All = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls, + UF_Base = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls, + UF_GV_Init = 0x00000020, //!< initial update (used with UF_Viewer) UF_GV_Forced = 0x00000040, //!< to force recomputing all presentations (used with UF_Viewer) + + UF_OCCViewer = 0x00000080, //!< OCC viewer + UF_OCC_Init = 0x00000100, //!< initial update (used with UF_OCCViewer) + UF_OCC_Forced = 0x00000200, //!< to force recomputing all presentations (used with UF_OCCViewer) + + UF_VTKViewer = 0x00000800, //!< VTK viewer + UF_VTK_Init = 0x00001000, //!< initial update (used with UF_VTKViewer) + UF_VTK_Forced = 0x00002000, //!< to force recomputing all presentations (used with UF_VTKViewer) + + UF_FitAll = 0x00000400, //!< to do fit all (used with UF_Viewer or UF_OCCViewer) + + UF_All = UF_Base | UF_GV_Init | UF_GV_Forced | UF_OCCViewer | UF_OCC_Init | UF_OCC_Forced | + UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced//!< all update flags } HYDRO_UpdateFlags; #endif