0023024: Update headers of OCCT files
[occt.git] / src / AIS / AIS_LocalStatus.lxx
CommitLineData
b311480e 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
7fd59977 19inline Standard_Boolean AIS_LocalStatus::Decomposed() const
20{return myDecomposition;}
21
22inline Standard_Boolean AIS_LocalStatus::IsTemporary() const
23{return myIsTemporary;}
24
25inline Standard_Integer AIS_LocalStatus::DisplayMode() const
26{return myDMode;}
27
28inline const TColStd_ListOfInteger& AIS_LocalStatus::
29SelectionModes() const
30{return mySModes;}
31
32inline Standard_Boolean AIS_LocalStatus::IsSubIntensityOn() const
33{return mySubIntensity;}
34
35inline void AIS_LocalStatus::SetDecomposition(const Standard_Boolean astatus)
36{myDecomposition=astatus;}
37
38inline void AIS_LocalStatus::SetTemporary(const Standard_Boolean astatus)
39{myIsTemporary = astatus;}
40
41
42inline void AIS_LocalStatus::SubIntensityOn()
43{mySubIntensity = Standard_True;}
44
45inline void AIS_LocalStatus::SubIntensityOff()
46{mySubIntensity = Standard_False;}
47
48inline void AIS_LocalStatus::
49SetDisplayMode(const Standard_Integer aMode)
50{myDMode = aMode;}
51
52
53inline void AIS_LocalStatus::SetHilightMode(const Standard_Integer aMode)
54{myHMode=aMode;}
55
56inline Standard_Integer AIS_LocalStatus::HilightMode() const
57{return myHMode;}
58inline void AIS_LocalStatus::SetPreviousState(const Handle(Standard_Transient)& stat)
59{ myPreviousState = stat;}
60
61inline const Handle(Standard_Transient)&
62AIS_LocalStatus::PreviousState() const
63{return myPreviousState;}
64
65inline void AIS_LocalStatus::SetFirstDisplay(const Standard_Boolean aStat)
66{myFirstDisplay = aStat;}
67
68inline Standard_Boolean AIS_LocalStatus::IsFirstDisplay() const
69{return myFirstDisplay;}
70
71inline void AIS_LocalStatus::SetHilightColor(const Quantity_NameOfColor aCol)
72{myHiCol = aCol;}
73
74inline Quantity_NameOfColor AIS_LocalStatus::HilightColor() const
75{return myHiCol;}