1 -- File: SelectBasics_EntityOwner.cdl
2 -- Created: Thu Feb 9 14:58:14 1995
5 ---Copyright: Matra Datavision 1995
10 deferred class EntityOwner from SelectBasics inherits TShared from MMgt
12 ---Purpose: defines an abstract owner of sensitive primitives.
13 -- Owners are typically used to establish a connection
14 -- between sensitive entities and high-level objects (e.g. presentations).
16 -- Priority : It's possible to give a priority:
17 -- the scale : [0-9] ; the default priority is 0
18 -- it allows the predominance of one selected object upon
19 -- another one if many objects are selected at the same time
22 -- example : Selection of shapes : the owners are
23 -- selectable objects (presentations)
25 -- a user can give vertex priority [3], edges [2] faces [1] shape [0],
26 -- so that if during selection one vertex one edge and one face are
27 -- simultaneously detected, the vertex will only be hilighted.
35 Initialize (aPriority: Integer = 0) ;
38 Set (me:mutable; aPriority :Integer) is static;
40 ---Purpose: sets the selectable priority of the owner
43 Priority(me) returns Integer is static;
47 -- Deferred methods dealing with locations.
48 -- Used in Select3D package.
49 HasLocation(me) returns Boolean from Standard is deferred;
51 SetLocation(me:mutable; aLoc : Location from TopLoc) is deferred;
53 ResetLocation(me:mutable) is deferred;
55 Location(me) returns Location from TopLoc is deferred;
62 mypriority : Integer is protected;