0027893: Visualization - AIS_InteractiveContext::SetSelected does not work
[occt.git] / src / SelectMgr / SelectMgr_TypeOfBVHUpdate.hxx
CommitLineData
42cf5bc1 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
5//
6// This file is part of Open CASCADE Technology software library.
7//
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.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _SelectMgr_TypeOfBVHUpdate_HeaderFile
18#define _SelectMgr_TypeOfBVHUpdate_HeaderFile
19
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
22//! added;
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.
29enum SelectMgr_TypeOfBVHUpdate
30{
31SelectMgr_TBU_Add,
32SelectMgr_TBU_Remove,
33SelectMgr_TBU_Renew,
34SelectMgr_TBU_Invalidate,
35SelectMgr_TBU_None
36};
37
38#endif // _SelectMgr_TypeOfBVHUpdate_HeaderFile