b311480e |
1 | -- Created on: 2009-03-20 |
2 | -- Created by: ABD |
973c2be1 |
3 | -- Copyright (c) 2009-2014 OPEN CASCADE SAS |
7fd59977 |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
7fd59977 |
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 | |
16 | class LayerItem from Visual3d inherits TShared from MMgt |
17 | |
18 | ---Version: |
19 | |
20 | ---Purpose: This class is drawable unit of 2d scene |
21 | ---Keywords: |
22 | ---Warning: |
23 | ---References: |
24 | |
25 | uses |
26 | Boolean from Standard |
27 | is |
28 | ------------------------- |
29 | -- Category: Constructors |
30 | ------------------------- |
31 | |
32 | Create returns LayerItem; |
33 | ---Level: Public |
34 | ---Purpose: Creates a layer item |
35 | ---Category: Constructors |
36 | |
37 | --------------------------------------------------- |
38 | -- Category: Methods to modify the class definition |
39 | --------------------------------------------------- |
40 | |
41 | ComputeLayerPrs( me : mutable ) |
42 | is virtual; |
43 | ---Level: Public |
44 | ---Purpose: virtual function for recompute 2D |
45 | -- presentation (empty by default) |
46 | |
47 | RedrawLayerPrs( me : mutable ) |
48 | is virtual; |
49 | ---Level: Public |
50 | ---Purpose: virtual function for recompute 2D |
51 | -- presentation (empty by default) |
52 | |
53 | IsNeedToRecompute(me) |
54 | returns Boolean from Standard; |
55 | ---Level: Public |
56 | |
57 | SetNeedToRecompute( me : mutable; |
58 | NeedToRecompute : Boolean from Standard = Standard_True ); |
59 | ---Level: Public |
60 | |
61 | fields |
62 | |
63 | MyIsNeedToRecompute : Boolean from Standard; |
64 | |
65 | end Layer from Visual3d; |