Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/Poly_MeshPurpose.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 
0020 enum
0021 {
0022   // main flags
0023   Poly_MeshPurpose_NONE         = 0,      //!< no special use (default)
0024   Poly_MeshPurpose_Calculation  = 0x0001, //!< mesh for algorithms
0025   Poly_MeshPurpose_Presentation = 0x0002, //!< mesh for presentation (LODs usage)
0026   // special purpose bits (should not be set externally)
0027   Poly_MeshPurpose_Active = 0x0004, //!< mesh marked as currently active in a list
0028   Poly_MeshPurpose_Loaded = 0x0008, //!< mesh has currently loaded data
0029   Poly_MeshPurpose_AnyFallback =
0030     0x0010, //!< a special flag for BRep_Tools::Triangulation() to return any other defined mesh,
0031             //   if none matching other criteria was found user-defined flags should have higher
0032             //   values
0033   Poly_MeshPurpose_USER = 0x0020 //!< application-defined flags
0034 };
0035 
0036 #endif // _Poly_MeshPurpose_HeaderFile