0022627: Change OCCT memory management defaults
[occt.git] / src / MeshVS / MeshVS_SensitiveMesh.cdl
CommitLineData
7fd59977 1-- File: MeshVS_SensitiveMesh.cdl
2-- Created: Thu Jan 25 2007
3-- Author: Sergey KOCHETKOV
4---Copyright: Open CASCADE 2007
5
6class SensitiveMesh from MeshVS inherits SensitiveEntity from Select3D
7
8 ---Purpose: This class provides custom mesh sensitive entity used in advanced mesh selection.
9 ---It provides detection of mesh entities accordingly to activated selection mode
10
11uses
12 EntityOwner from SelectBasics,
13 Array1OfPnt2d from TColgp,
14 Box from Bnd,
15 Box2d from Bnd,
16 Location from TopLoc,
17 Lin from gp,
18 ListOfBox2d from SelectBasics,
19 Projector from Select3D
20is
21
22 Create ( theOwner : EntityOwner from SelectBasics;
23 theMode : Integer = 0 )
24 returns mutable SensitiveMesh from MeshVS;
25
26 GetMode( me ) returns Integer from Standard;
27
28 GetConnected( me: mutable; aLocation : Location from TopLoc )
29 returns SensitiveEntity from Select3D is redefined;
30
31 ComputeDepth( me; EyeLine : Lin from gp ) returns Real from Standard
32 is redefined;
33
34 Matches( me: mutable; X,Y : Real from Standard;
35 aTol: Real from Standard;
36 DMin: out Real from Standard ) returns Boolean
37 is redefined;
38
39 Matches ( me: mutable; XMin, YMin, XMax, YMax : Real;
40 aTol : Real ) returns Boolean
41 is redefined;
42
43 Matches ( me: mutable; Polyline : Array1OfPnt2d from TColgp;
44 aBox : Box2d;
45 aTol : Real ) returns Boolean
46 is redefined;
47
48 Project ( me:mutable; aProjector : Projector from Select3D ) is redefined static;
49
50 Areas ( me: mutable ; boxes : in out ListOfBox2d from SelectBasics ) is redefined static;
51
52 ProjectOneCorner( me: mutable; aProjector : Projector from Select3D;
53 X,Y,Z : Real from Standard ) is private;
54
55fields
56
57 myMode : Integer from Standard;
58 mybox : Box from Bnd;
59 mybox2d : Box2d from Bnd;
60
61end SensitiveMesh;