7fd59977 |
1 | inline void AIS2D_GlobalStatus::SetGraphicStatus( const AIS2D_DisplayStatus aStat ) { |
2 | myStatus = aStat; |
3 | } |
4 | |
5 | inline void AIS2D_GlobalStatus::SetLayerIndex( const Standard_Integer AnIndex ) { |
6 | myLayerIndex=AnIndex; |
7 | } |
8 | |
9 | inline void AIS2D_GlobalStatus::SetHighlightStatus( const Standard_Boolean aStat ) { |
10 | myIsHighl = aStat; |
11 | } |
12 | |
13 | inline void AIS2D_GlobalStatus::SetHighlightColor( const Quantity_NameOfColor aCol ) { |
14 | myHiCol = aCol; |
15 | } |
16 | |
17 | inline Standard_Boolean AIS2D_GlobalStatus::IsSubIntensityOn() const { |
18 | return mySubInt; |
19 | } |
20 | |
21 | inline void AIS2D_GlobalStatus::SubIntensityOn() { |
22 | mySubInt = Standard_True; |
23 | } |
24 | inline void AIS2D_GlobalStatus::SubIntensityOff() { |
25 | mySubInt = Standard_False; |
26 | } |
27 | |
28 | inline AIS2D_DisplayStatus AIS2D_GlobalStatus::GraphicStatus() const { |
29 | return myStatus; |
30 | } |
31 | |
32 | inline AIS2D_PToListOfInt AIS2D_GlobalStatus::DisplayedModes() { |
33 | return & myDispModes; |
34 | } |
35 | |
36 | inline AIS2D_PToListOfInt AIS2D_GlobalStatus::SelectionModes() { |
37 | return & mySelModes; |
38 | } |
39 | |
40 | inline Standard_Boolean AIS2D_GlobalStatus::IsHighlight() const { |
41 | return myIsHighl; |
42 | } |
43 | |
44 | inline Quantity_NameOfColor AIS2D_GlobalStatus::HighlightColor() const { |
45 | return myHiCol; |
46 | } |
47 | |