b311480e |
1 | -- Created on: 1995-02-22 |
2 | -- Created by: Mister rmi |
3 | -- Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
b311480e |
16 | |
7fd59977 |
17 | --Modified by Rob Jan 13 th 98 : Compute Depth on EyeLine for |
18 | -- Each Kind of SensitiveEntity. |
19 | -- (Deferred Method to be implemented) |
7fd59977 |
20 | |
21 | |
22 | package Select3D |
23 | |
24 | ---Purpose: The Select3D package provides the following services |
25 | -- - definition of standard 3D sensitive primitives such as points, curves and faces. |
26 | -- - recovery of the bounding boxes in the 2D graphic selection space, if required. |
27 | -- - a 3D-2D projector. |
28 | |
29 | uses |
30 | Standard, |
31 | TCollection, |
32 | TColStd, |
33 | TColgp, |
34 | gp, |
35 | Bnd, |
36 | Poly, |
37 | TopLoc, |
38 | Geom, |
39 | SelectBasics, |
197ac94e |
40 | V3d, |
41 | Graphic3d |
7fd59977 |
42 | |
43 | is |
44 | |
45 | ---Category: sensitive entities |
46 | |
9e8804b6 |
47 | enumeration TypeOfSensitivity is TOS_INTERIOR,TOS_BOUNDARY |
7fd59977 |
48 | end TypeOfSensitivity; |
49 | ---Purpose: Provides values for type of sensitivity in 3D. |
50 | -- These are used to specify whether it is the interior, |
51 | -- the boundary, or the exterior of a 3D sensitive entity which is sensitive. |
52 | |
53 | deferred class SensitiveEntity; |
54 | |
55 | deferred class SensitivePoly; |
56 | |
57 | class SensitivePoint; |
58 | |
59 | class SensitiveSegment; |
60 | |
61 | class SensitiveCircle; |
62 | |
63 | class SensitiveCurve; |
64 | |
65 | class SensitiveTriangle; |
66 | |
67 | class SensitiveTriangulation; |
68 | |
69 | class SensitiveFace; |
70 | |
71 | class SensitiveBox; |
72 | |
73 | class SensitiveWire; |
74 | |
75 | class SensitiveGroup; |
76 | |
77 | class SensitiveEntitySequence instantiates Sequence from TCollection |
78 | (SensitiveEntity from Select3D); |
79 | |
80 | ---Category: selectors/projectors |
81 | |
82 | class Projector; |
83 | |
84 | |
85 | class ListOfSensitiveTriangle instantiates List from TCollection |
86 | (SensitiveTriangle from Select3D); |
87 | |
88 | class ListOfSensitive instantiates List from TCollection |
89 | (SensitiveEntity from Select3D); |
90 | |
91 | imported Pnt; |
92 | imported Pnt2d; |
93 | imported Box2d; |
ceae62f0 |
94 | imported PointData; |
7fd59977 |
95 | |
96 | end Select3D; |