Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:58

0001 // Created on: 2004-03-22
0002 // Created by: Sergey ANIKIN
0003 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef Aspect_PolygonOffsetMode_HeaderFile
0017 #define Aspect_PolygonOffsetMode_HeaderFile
0018 
0019 // Enumeration for polygon offset modes
0020 
0021 typedef enum 
0022 {
0023   Aspect_POM_Off   = 0x00,  /* all polygon offset modes disabled                     */
0024   Aspect_POM_Fill  = 0x01,  /* GL_POLYGON_OFFSET_FILL enabled (shaded polygons)      */
0025   Aspect_POM_Line  = 0x02,  /* GL_POLYGON_OFFSET_LINE enabled (polygons as outlines) */
0026   Aspect_POM_Point = 0x04,  /* GL_POLYGON_OFFSET_POINT enabled (polygons as vertices)*/
0027   Aspect_POM_All   = Aspect_POM_Fill | Aspect_POM_Line | Aspect_POM_Point,
0028   Aspect_POM_None  = 0x08,  /* do not change current polygon offset mode             */
0029   Aspect_POM_Mask  = Aspect_POM_All  | Aspect_POM_None
0030 } Aspect_PolygonOffsetMode;
0031 
0032 #endif
0033