1 // Created on: 2003-10-10
2 // Created by: Alexander SOLOVYOV
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _MeshVS_DrawerAttribute_HeaderFile
17 #define _MeshVS_DrawerAttribute_HeaderFile
19 //! Is it allowed to draw beam and face's edge overlapping with this beam.
20 //! Is mesh drawn with reflective material
21 //! Is colored mesh data representation drawn with reflective material
22 //! What part of face or link will be shown if shrink mode.
23 //! It is recommended this coeff to be between 0 and 1.
24 //! How many nodes is possible to be in face
25 //! If this parameter is true, the compute method CPU time will be displayed in console window
26 //! If this parameter is true, the compute selection method CPU time will be displayed in console window
27 //! If this parameter is false, the nodes won't be shown in viewer, otherwise will be.//! If this parameter is true, the selectable nodes map will be updated automatically when hidden elements change//! If this parameter is false, the face's edges are not shown
28 //! Warning: in wireframe mode this parameter is ignored
29 //! Is mesh drawing in smooth shading mode
30 //! Is back faces of volume elements should be suppressed
31 //! The integer keys for most useful constants attuning mesh presentation appearance
32 //! WARNING: DA_TextExpansionFactor, DA_TextSpace, DA_TextDisplayType have
33 //! no effect and might be removed in the future.
34 enum MeshVS_DrawerAttribute
36 MeshVS_DA_InteriorStyle,
37 MeshVS_DA_InteriorColor,
38 MeshVS_DA_BackInteriorColor,
43 MeshVS_DA_FrontMaterial,
44 MeshVS_DA_BackMaterial,
49 MeshVS_DA_MarkerColor,
50 MeshVS_DA_MarkerScale,
54 MeshVS_DA_TextExpansionFactor,
57 MeshVS_DA_TextDisplayType,
58 MeshVS_DA_TextTexFont,
59 MeshVS_DA_TextFontAspect,
60 MeshVS_DA_VectorColor,
61 MeshVS_DA_VectorMaxLength,
62 MeshVS_DA_VectorArrowPart,
63 MeshVS_DA_IsAllowOverlapped,
65 MeshVS_DA_ColorReflection,
66 MeshVS_DA_ShrinkCoeff,
67 MeshVS_DA_MaxFaceNodes,
68 MeshVS_DA_ComputeTime,
69 MeshVS_DA_ComputeSelectionTime,
70 MeshVS_DA_DisplayNodes,
71 MeshVS_DA_SelectableAuto,
73 MeshVS_DA_SmoothShading,
74 MeshVS_DA_SupressBackFaces,
78 #endif // _MeshVS_DrawerAttribute_HeaderFile