7fd59977 |
1 | // File: AIS_AttributeFilter.lxx |
2 | // Created: Tue Mar 4 18:10:08 1997 |
3 | // Author: Robert COUBLANC |
4 | // <rob@robox.paris1.matra-dtv.fr> |
5 | |
6 | inline void AIS_AttributeFilter::SetColor(const Quantity_NameOfColor aCol) |
7 | {myCol = aCol;hasC = Standard_True;} |
8 | |
9 | inline void AIS_AttributeFilter::SetWidth(const Standard_Real aWid) |
10 | {myWid=aWid;hasW = Standard_True;} |
11 | |
12 | inline void AIS_AttributeFilter::UnsetColor() |
13 | {hasC = Standard_False;} |
14 | |
15 | inline void AIS_AttributeFilter::UnsetWidth() |
16 | {hasW = Standard_False;} |
17 | |
18 | inline Standard_Boolean AIS_AttributeFilter::HasColor() const |
19 | {return hasC;} |
20 | |
21 | inline Standard_Boolean AIS_AttributeFilter::HasWidth() const |
22 | {return hasW;} |