1 // Created on: 1995-02-06
2 // Created by: Mister rmi
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _SelectMgr_TypeOfBVHUpdate_HeaderFile
18 #define _SelectMgr_TypeOfBVHUpdate_HeaderFile
20 //! Keeps track for BVH update state for each SelectMgr_Selection entity in a following way:
21 //! - Add : 2nd level BVH does not contain any of the selection's sensitive entities and they must be
23 //! - Remove : all sensitive entities of the selection must be removed from 2nd level BVH;
24 //! - Renew : 2nd level BVH already contains sensitives of the selection, but the its complete update
25 //! and removal is required. Therefore, sensitives of the selection with this type of update
26 //! must be removed from 2nd level BVH and added after recomputation.
27 //! - Invalidate : the 2nd level BVH needs to be rebuilt;
28 //! - None : entities of the selection are up to date.
29 enum SelectMgr_TypeOfBVHUpdate
34 SelectMgr_TBU_Invalidate,
38 #endif // _SelectMgr_TypeOfBVHUpdate_HeaderFile