b311480e |
1 | -- Created on: 1992-08-21 |
2 | -- Created by: Christophe MARION |
3 | -- Copyright (c) 1992-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class ShapeData from HLRTest inherits TShared from MMgt |
23 | |
24 | ---Purpose: Contains the colors of a shape. |
25 | |
26 | uses |
27 | Color from Draw |
28 | |
29 | is |
30 | Create(CVis,COVis,CIVis,CHid,COHid,CIHid : Color from Draw) |
31 | returns mutable ShapeData from HLRTest; |
32 | |
33 | VisibleColor(me: mutable; CVis : Color from Draw) |
34 | ---C++: inline |
35 | is static; |
36 | |
37 | VisibleOutLineColor(me: mutable; COVis : Color from Draw) |
38 | ---C++: inline |
39 | is static; |
40 | |
41 | VisibleIsoColor(me: mutable; CIVis : Color from Draw) |
42 | ---C++: inline |
43 | is static; |
44 | |
45 | HiddenColor(me: mutable; CHid : Color from Draw) |
46 | ---C++: inline |
47 | is static; |
48 | |
49 | HiddenOutLineColor(me: mutable; COHid : Color from Draw) |
50 | ---C++: inline |
51 | is static; |
52 | |
53 | HiddenIsoColor(me: mutable; CIHid : Color from Draw) |
54 | ---C++: inline |
55 | is static; |
56 | |
57 | VisibleColor(me) returns Color from Draw |
58 | ---C++: inline |
59 | is static; |
60 | |
61 | VisibleOutLineColor(me) returns Color from Draw |
62 | ---C++: inline |
63 | is static; |
64 | |
65 | VisibleIsoColor(me) returns Color from Draw |
66 | ---C++: inline |
67 | is static; |
68 | |
69 | HiddenColor(me) returns Color from Draw |
70 | ---C++: inline |
71 | is static; |
72 | |
73 | HiddenOutLineColor(me) returns Color from Draw |
74 | ---C++: inline |
75 | is static; |
76 | |
77 | HiddenIsoColor(me) returns Color from Draw |
78 | ---C++: inline |
79 | is static; |
80 | |
81 | fields |
82 | myVColor : Color from Draw; |
83 | myVOColor : Color from Draw; |
84 | myVIColor : Color from Draw; |
85 | myHColor : Color from Draw; |
86 | myHOColor : Color from Draw; |
87 | myHIColor : Color from Draw; |
88 | |
89 | end ShapeData; |