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