b311480e |
1 | // Created on: 2003-09-29 |
2 | // Created by: Alexander SOLOVYOV and Sergey LITONIN |
973c2be1 |
3 | // Copyright (c) 2003-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
7fd59977 |
15 | |
f751596e |
16 | #include <MeshVS_DummySensitiveEntity.hxx> |
7fd59977 |
17 | |
0ef04197 |
18 | IMPLEMENT_STANDARD_RTTIEXT(MeshVS_DummySensitiveEntity, Select3D_SensitiveEntity) |
92efcf78 |
19 | |
7fd59977 |
20 | //================================================================ |
f751596e |
21 | // Function : Constructor MeshVS_DummySensitiveEntity |
7fd59977 |
22 | // Purpose : |
23 | //================================================================ |
0ef04197 |
24 | MeshVS_DummySensitiveEntity::MeshVS_DummySensitiveEntity (const Handle(SelectMgr_EntityOwner)& theOwnerId) |
25 | : Select3D_SensitiveEntity (theOwnerId) |
f751596e |
26 | {} |
7fd59977 |
27 | |
28 | //================================================================ |
f751596e |
29 | // Function : NbSubElements |
7fd59977 |
30 | // Purpose : |
31 | //================================================================ |
fe758dbe |
32 | Standard_Integer MeshVS_DummySensitiveEntity::NbSubElements() const |
7fd59977 |
33 | { |
f751596e |
34 | return -1; |
7fd59977 |
35 | } |
36 | |
37 | //================================================================ |
38 | // Function : Matches |
39 | // Purpose : |
40 | //================================================================ |
f751596e |
41 | Standard_Boolean MeshVS_DummySensitiveEntity::Matches (SelectBasics_SelectingVolumeManager& /*theMgr*/, |
42 | SelectBasics_PickResult& /*thePickResult*/) |
7fd59977 |
43 | { |
44 | return Standard_False; |
45 | } |
46 | |
47 | //================================================================ |
f751596e |
48 | // Function : BoundingBox |
7fd59977 |
49 | // Purpose : |
50 | //================================================================ |
f751596e |
51 | Select3D_BndBox3d MeshVS_DummySensitiveEntity::BoundingBox() |
7fd59977 |
52 | { |
f751596e |
53 | return Select3D_BndBox3d(); |
7fd59977 |
54 | } |
55 | |
56 | //================================================================ |
f751596e |
57 | // Function : ElementsNb |
7fd59977 |
58 | // Purpose : |
59 | //================================================================ |
f751596e |
60 | void MeshVS_DummySensitiveEntity::BVH() |
61 | {} |
7fd59977 |
62 | |
63 | //================================================================ |
f751596e |
64 | // Function : Clear |
7fd59977 |
65 | // Purpose : |
66 | //================================================================ |
f751596e |
67 | void MeshVS_DummySensitiveEntity::Clear() |
68 | {} |
3bf9a45f |
69 | |
70 | //======================================================================= |
71 | //function : HasInitLocation |
72 | //purpose : |
73 | //======================================================================= |
74 | Standard_Boolean MeshVS_DummySensitiveEntity::HasInitLocation() const |
75 | { |
76 | return Standard_False; |
77 | } |
78 | |
79 | //======================================================================= |
80 | //function : InvInitLocation |
81 | //purpose : |
82 | //======================================================================= |
746cb7c3 |
83 | gp_GTrsf MeshVS_DummySensitiveEntity::InvInitLocation() const |
3bf9a45f |
84 | { |
91d96372 |
85 | return gp_GTrsf(); |
3bf9a45f |
86 | } |