1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #ifndef HYDROGUI_UPDATEFLAGS_H
24 #define HYDROGUI_UPDATEFLAGS_H
26 #include <LightApp_UpdateFlags.h>
29 * \enum HYDRO_UpdateFlags
30 * Enumeration for update flags. First byte is reserved for LightApp_Module.
31 * Modules derived from this model must use other 3 bytes to define their
36 UF_Base = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls,
38 UF_GV_Init = 0x00000020, //!< initial update (used with UF_Viewer)
39 UF_GV_Forced = 0x00000040, //!< to force recomputing all presentations (used with UF_Viewer)
41 UF_OCCViewer = 0x00000080, //!< OCC viewer
42 UF_OCC_Init = 0x00000100, //!< initial update (used with UF_OCCViewer)
43 UF_OCC_Forced = 0x00000200, //!< to force recomputing all presentations (used with UF_OCCViewer)
45 UF_VTKViewer = 0x00000800, //!< VTK viewer
46 UF_VTK_Init = 0x00001000, //!< initial update (used with UF_VTKViewer)
47 UF_VTK_Forced = 0x00002000, //!< to force recomputing all presentations (used with UF_VTKViewer)
49 UF_FitAll = 0x00000400, //!< to do fit all (used with UF_Viewer or UF_OCCViewer)
51 UF_All = UF_Base | UF_GV_Init | UF_GV_Forced | UF_OCCViewer | UF_OCC_Init | UF_OCC_Forced |
52 UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced//!< all update flags