1 // Copyright (C) 2014-2015 EDF-R&D
2 // This library is free software; you can redistribute it and/or
3 // modify it under the terms of the GNU Lesser General Public
4 // License as published by the Free Software Foundation; either
5 // version 2.1 of the License, or (at your option) any later version.
7 // This library is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 // Lesser General Public License for more details.
12 // You should have received a copy of the GNU Lesser General Public
13 // License along with this library; if not, write to the Free Software
14 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #ifndef HYDROGUI_UPDATEFLAGS_H
20 #define HYDROGUI_UPDATEFLAGS_H
22 #include <LightApp_UpdateFlags.h>
25 * \enum HYDRO_UpdateFlags
26 * Enumeration for update flags. First byte is reserved for LightApp_Module.
27 * Modules derived from this model must use other 3 bytes to define their
32 UF_Base = UF_Forced | UF_Model | UF_Viewer | UF_ObjBrowser | UF_Controls,
34 UF_GV_Init = 0x00000020, //!< initial update (used with UF_Viewer)
35 UF_GV_Forced = 0x00000040, //!< to force recomputing all presentations (used with UF_Viewer)
37 UF_OCCViewer = 0x00000080, //!< OCC viewer
38 UF_OCC_Init = 0x00000100, //!< initial update (used with UF_OCCViewer)
39 UF_OCC_Forced = 0x00000200, //!< to force recomputing all presentations (used with UF_OCCViewer)
41 UF_VTKViewer = 0x00000800, //!< VTK viewer
42 UF_VTK_Init = 0x00001000, //!< initial update (used with UF_VTKViewer)
43 UF_VTK_Forced = 0x00002000, //!< to force recomputing all presentations (used with UF_VTKViewer)
45 UF_FitAll = 0x00000400, //!< to do fit all (used with UF_Viewer or UF_OCCViewer)
47 UF_All = UF_Base | UF_GV_Init | UF_GV_Forced | UF_OCCViewer | UF_OCC_Init | UF_OCC_Forced |
48 UF_VTKViewer | UF_VTK_Init | UF_VTK_Forced//!< all update flags