1 // Copyright (c) 1998-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 // =======================================================================
18 // =======================================================================
19 inline Standard_Integer SelectMgr_Selection::Mode() const
24 // =======================================================================
27 // =======================================================================
28 inline void SelectMgr_Selection::Init()
30 myEntityIter.Init (myEntities);
33 // =======================================================================
36 // =======================================================================
37 inline Standard_Boolean SelectMgr_Selection::More() const
39 return myEntityIter.More();
42 // =======================================================================
45 // =======================================================================
46 inline void SelectMgr_Selection::Next()
51 // =======================================================================
52 // function : Sensitive
54 // =======================================================================
55 inline const Handle(SelectMgr_SensitiveEntity)& SelectMgr_Selection::Sensitive() const
57 return myEntityIter.Value();
60 // =======================================================================
61 // function : UpdateStatus
63 // =======================================================================
64 inline void SelectMgr_Selection::UpdateStatus(const SelectMgr_TypeOfUpdate theStatus)
66 myUpdateStatus = theStatus;
69 // =======================================================================
70 // function : UpdateStatus
72 // =======================================================================
73 inline SelectMgr_TypeOfUpdate SelectMgr_Selection::UpdateStatus() const
75 return myUpdateStatus;
78 // =======================================================================
79 // function : UpdateBVHStatus
81 // =======================================================================
82 inline void SelectMgr_Selection::UpdateBVHStatus (const SelectMgr_TypeOfBVHUpdate theStatus)
84 myBVHUpdateStatus = theStatus;
87 // =======================================================================
88 // function : BVHUpdateStatus
90 // =======================================================================
91 inline SelectMgr_TypeOfBVHUpdate SelectMgr_Selection::BVHUpdateStatus() const
93 return myBVHUpdateStatus;