Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 1995-02-06
0002 // Created by: Mister rmi
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _SelectMgr_TypeOfBVHUpdate_HeaderFile
0018 #define _SelectMgr_TypeOfBVHUpdate_HeaderFile
0019 
0020 //! Keeps track for BVH update state for each SelectMgr_Selection entity in a following way:
0021 //! - Add        : 2nd level BVH does not contain any of the selection's sensitive entities and they must be
0022 //! added;
0023 //! - Remove     : all sensitive entities of the selection must be removed from 2nd level BVH;
0024 //! - Renew      : 2nd level BVH already contains sensitives of the selection, but the its complete update
0025 //! and removal is required. Therefore, sensitives of the selection with this type of update
0026 //! must be removed from 2nd level BVH and added after recomputation.
0027 //! - Invalidate : the 2nd level BVH needs to be rebuilt;
0028 //! - None       : entities of the selection are up to date.
0029 enum SelectMgr_TypeOfBVHUpdate
0030 {
0031 SelectMgr_TBU_Add,
0032 SelectMgr_TBU_Remove,
0033 SelectMgr_TBU_Renew,
0034 SelectMgr_TBU_Invalidate,
0035 SelectMgr_TBU_None
0036 };
0037 
0038 #endif // _SelectMgr_TypeOfBVHUpdate_HeaderFile