b311480e |
1 | // Created on: 1992-08-25 |
2 | // Created by: Christophe MARION |
3 | // Copyright (c) 1992-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. |
7fd59977 |
16 | |
17 | //======================================================================= |
18 | //function : VisibleColor |
19 | //purpose : |
20 | //======================================================================= |
21 | |
22 | inline void HLRTest_ShapeData::VisibleColor(const Draw_Color& CVis) |
23 | { myVColor = CVis; } |
24 | |
25 | //======================================================================= |
26 | //function : VisibleOutLineColor |
27 | //purpose : |
28 | //======================================================================= |
29 | |
30 | inline void HLRTest_ShapeData::VisibleOutLineColor |
31 | (const Draw_Color& COVis) |
32 | { myVOColor = COVis; } |
33 | |
34 | //======================================================================= |
35 | //function : VisibleIsoColor |
36 | //purpose : |
37 | //======================================================================= |
38 | |
39 | inline void HLRTest_ShapeData::VisibleIsoColor |
40 | (const Draw_Color& CIVis) |
41 | { myVIColor = CIVis; } |
42 | |
43 | //======================================================================= |
44 | //function : HiddenColor |
45 | //purpose : |
46 | //======================================================================= |
47 | |
48 | inline void HLRTest_ShapeData::HiddenColor(const Draw_Color& CHid) |
49 | { myHColor = CHid; } |
50 | |
51 | //======================================================================= |
52 | //function : HiddenOutLineColor |
53 | //purpose : |
54 | //======================================================================= |
55 | |
56 | inline void HLRTest_ShapeData::HiddenOutLineColor |
57 | (const Draw_Color& COHid) |
58 | { myHOColor = COHid; } |
59 | |
60 | //======================================================================= |
61 | //function : HiddenIsoColor |
62 | //purpose : |
63 | //======================================================================= |
64 | |
65 | inline void HLRTest_ShapeData::HiddenIsoColor |
66 | (const Draw_Color& CIHid) |
67 | { myHIColor = CIHid; } |
68 | |
69 | //======================================================================= |
70 | //function : VisibleColor |
71 | //purpose : |
72 | //======================================================================= |
73 | |
74 | inline Draw_Color HLRTest_ShapeData::VisibleColor() const |
75 | { return myVColor; } |
76 | |
77 | //======================================================================= |
78 | //function : VisibleOutLineColor |
79 | //purpose : |
80 | //======================================================================= |
81 | |
82 | inline Draw_Color HLRTest_ShapeData::VisibleOutLineColor() const |
83 | { return myVOColor; } |
84 | |
85 | //======================================================================= |
86 | //function : VisibleIsoColor |
87 | //purpose : |
88 | //======================================================================= |
89 | |
90 | inline Draw_Color HLRTest_ShapeData::VisibleIsoColor() const |
91 | { return myVIColor; } |
92 | |
93 | //======================================================================= |
94 | //function : HiddenColor |
95 | //purpose : |
96 | //======================================================================= |
97 | |
98 | inline Draw_Color HLRTest_ShapeData::HiddenColor() const |
99 | { return myHColor; } |
100 | |
101 | //======================================================================= |
102 | //function : HiddenOutLineColor |
103 | //purpose : |
104 | //======================================================================= |
105 | |
106 | inline Draw_Color HLRTest_ShapeData::HiddenOutLineColor() const |
107 | { return myHOColor; } |
108 | |
109 | //======================================================================= |
110 | //function : HiddenIsoColor |
111 | //purpose : |
112 | //======================================================================= |
113 | |
114 | inline Draw_Color HLRTest_ShapeData::HiddenIsoColor() const |
115 | { return myHIColor; } |
116 | |