0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / MeshVS / MeshVS_DisplayModeFlags.hxx
1 // Created on: 2003-09-09
2 // Created by: Alexander SOLOVYOV
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef MeshVS_DISPLAY_MODE_FLAGS_HXX
17 #define MeshVS_DISPLAY_MODE_FLAGS_HXX
18
19 typedef Standard_Integer MeshVS_DisplayModeFlags;
20
21 enum
22 {
23   MeshVS_DMF_WireFrame             = 0x0001,
24   MeshVS_DMF_Shading               = 0x0002,
25   MeshVS_DMF_Shrink                = 0x0003,
26   MeshVS_DMF_OCCMask               = ( MeshVS_DMF_WireFrame | MeshVS_DMF_Shading | MeshVS_DMF_Shrink ),
27   // the mask which helps pick out CasCade display mode
28
29   MeshVS_DMF_VectorDataPrs         = 0x0004,
30   MeshVS_DMF_NodalColorDataPrs     = 0x0008,
31   MeshVS_DMF_ElementalColorDataPrs = 0x0010,
32   MeshVS_DMF_TextDataPrs           = 0x0020,
33   MeshVS_DMF_EntitiesWithData      = 0x0040,
34   MeshVS_DMF_DeformedPrsWireFrame  = 0x0080,
35   MeshVS_DMF_DeformedPrsShading    = 0x0100,
36   MeshVS_DMF_DeformedPrsShrink     = 0x0180,
37   MeshVS_DMF_DeformedMask          = ( MeshVS_DMF_DeformedPrsWireFrame | MeshVS_DMF_DeformedPrsShading | MeshVS_DMF_DeformedPrsShrink ),
38   MeshVS_DMF_SelectionPrs          = 0x0200,
39   MeshVS_DMF_HilightPrs            = 0x0400,
40   MeshVS_DMF_User                  = 0x0800
41 };
42
43
44 #endif