b311480e |
1 | // Created on: 2003-09-09 |
2 | // Created by: Alexander SOLOVYOV |
973c2be1 |
3 | // Copyright (c) 2003-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | #ifndef MeshVS_DISPLAY_MODE_FLAGS_HXX |
17 | #define MeshVS_DISPLAY_MODE_FLAGS_HXX |
18 | |
f24125b9 |
19 | typedef Standard_Integer MeshVS_DisplayModeFlags; |
7fd59977 |
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 |