Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:38

0001 // Copyright (c) 2021 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _Poly_MeshPurpose_HeaderFile
0015 #define _Poly_MeshPurpose_HeaderFile
0016 
0017 //! Purpose of triangulation using.
0018 typedef unsigned int Poly_MeshPurpose;
0019 enum
0020 {
0021   // main flags
0022   Poly_MeshPurpose_NONE               = 0,      //!< no special use (default)
0023   Poly_MeshPurpose_Calculation        = 0x0001, //!< mesh for algorithms
0024   Poly_MeshPurpose_Presentation       = 0x0002, //!< mesh for presentation (LODs usage)
0025   // special purpose bits (should not be set externally)
0026   Poly_MeshPurpose_Active             = 0x0004, //!< mesh marked as currently active in a list
0027   Poly_MeshPurpose_Loaded             = 0x0008, //!< mesh has currently loaded data
0028   Poly_MeshPurpose_AnyFallback        = 0x0010, //!< a special flag for BRep_Tools::Triangulation() to return any other defined mesh,
0029                                                 //   if none matching other criteria was found user-defined flags should have higher values
0030   Poly_MeshPurpose_USER               = 0x0020  //!< application-defined flags
0031 };
0032 
0033 #endif // _Poly_MeshPurpose_HeaderFile