/usr/include/oce/AIS2D_InteractiveObject.lxx is in liboce-visualization-dev 0.9.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | inline Handle(Prs2d_Drawer) AIS2D_InteractiveObject::Attributes() const {
return myDrawer;
}
inline Standard_Integer AIS2D_InteractiveObject::DisplayMode() const {
return myDisplayMode;
}
inline Standard_Boolean AIS2D_InteractiveObject::HasDisplayMode() const {
return myDisplayMode != -1;
}
inline void AIS2D_InteractiveObject::SetDisplayMode( const Standard_Integer aMode ) {
myDisplayMode = aMode;
}
inline void AIS2D_InteractiveObject::UnsetDisplayMode() {
myDisplayMode = -1;
}
inline Standard_Integer AIS2D_InteractiveObject::DefaultDisplayMode() const {
return 0;
}
inline Standard_Boolean AIS2D_InteractiveObject::AcceptDisplayMode( const Standard_Integer /*aMode*/ ) const {
return Standard_True;
}
inline AIS2D_TypeOfDetection AIS2D_InteractiveObject::HighlightMode() const {
return myHighlightMode;
}
inline Standard_Boolean AIS2D_InteractiveObject::HasHighlightMode() const {
return myHighlightMode != AIS2D_TOD_NONE;
}
inline void AIS2D_InteractiveObject::SetHighlightMode( const AIS2D_TypeOfDetection aMode ) {
myHighlightMode = aMode;
}
inline void AIS2D_InteractiveObject::UnsetHighlightMode() {
myHighlightMode = AIS2D_TOD_NONE;
}
inline AIS2D_TypeOfDetection AIS2D_InteractiveObject::DefaultHighlightMode() const {
return AIS2D_TOD_PRIMITIVE;
}
inline Standard_Integer AIS2D_InteractiveObject::SelectionMode() const {
return mySelectionMode;
}
inline Standard_Boolean AIS2D_InteractiveObject::HasSelectionMode() const {
return mySelectionMode != -1;
}
inline void AIS2D_InteractiveObject::SetSelectionMode( const Standard_Integer aMode ) {
mySelectionMode = aMode;
}
inline void AIS2D_InteractiveObject::UnsetSelectionMode() {
mySelectionMode = -1;
}
inline Standard_Integer AIS2D_InteractiveObject::DefaultSelectionMode() const {
return 0;
}
inline Standard_Integer AIS2D_InteractiveObject::State() const {
return myState;
}
inline void AIS2D_InteractiveObject::SetState( const Standard_Integer aState ) {
myState = aState;
}
|