0024326: Get rid of confusing extension line
[occt.git] / src / AIS / AIS_LocalStatus.lxx
1 // Copyright (c) 1998-1999 Matra Datavision
2 // Copyright (c) 1999-2012 OPEN CASCADE SAS
3 //
4 // The content of this file is subject to the Open CASCADE Technology Public
5 // License Version 6.5 (the "License"). You may not use the content of this file
6 // except in compliance with the License. Please obtain a copy of the License
7 // at http://www.opencascade.org and read it completely before using this file.
8 //
9 // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
10 // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
11 //
12 // The Original Code and all software distributed under the License is
13 // distributed on an "AS IS" basis, without warranty of any kind, and the
14 // Initial Developer hereby disclaims all such warranties, including without
15 // limitation, any warranties of merchantability, fitness for a particular
16 // purpose or non-infringement. Please see the License for the specific terms
17 // and conditions governing the rights and limitations under the License.
18
19 inline Standard_Boolean AIS_LocalStatus::Decomposed() const 
20 {return myDecomposition;}
21
22 inline Standard_Boolean AIS_LocalStatus::IsTemporary() const 
23 {return myIsTemporary;}
24
25 inline Standard_Integer AIS_LocalStatus::DisplayMode() const 
26 {return myDMode;}
27
28 inline const TColStd_ListOfInteger& AIS_LocalStatus::
29 SelectionModes() const 
30 {return mySModes;}
31
32 inline Standard_Boolean AIS_LocalStatus::IsSubIntensityOn() const 
33 {return mySubIntensity;}
34
35 inline void AIS_LocalStatus::SetDecomposition(const Standard_Boolean astatus)
36 {myDecomposition=astatus;}
37
38 inline void AIS_LocalStatus::SetTemporary(const Standard_Boolean astatus)
39 {myIsTemporary = astatus;}
40
41
42 inline void AIS_LocalStatus::SubIntensityOn()
43 {mySubIntensity = Standard_True;}
44
45 inline void AIS_LocalStatus::SubIntensityOff()
46 {mySubIntensity = Standard_False;}
47
48 inline void AIS_LocalStatus::
49 SetDisplayMode(const Standard_Integer aMode)
50 {myDMode = aMode;}
51
52
53 inline void AIS_LocalStatus::SetHilightMode(const Standard_Integer aMode)
54 {myHMode=aMode;}
55
56 inline Standard_Integer AIS_LocalStatus::HilightMode() const 
57 {return myHMode;}
58 inline void AIS_LocalStatus::SetPreviousState(const Handle(Standard_Transient)& stat)
59 {  myPreviousState = stat;}
60
61 inline const Handle(Standard_Transient)& 
62 AIS_LocalStatus::PreviousState() const 
63 {return myPreviousState;}
64
65 inline void AIS_LocalStatus::SetFirstDisplay(const Standard_Boolean aStat)
66 {myFirstDisplay = aStat;}
67
68 inline Standard_Boolean AIS_LocalStatus::IsFirstDisplay() const
69 {return myFirstDisplay;}
70
71 inline void AIS_LocalStatus::SetHilightColor(const Quantity_NameOfColor aCol)
72 {myHiCol = aCol;}
73
74 inline Quantity_NameOfColor AIS_LocalStatus::HilightColor() const
75 {return myHiCol;}