/usr/include/oce/AIS_GlobalStatus.hxx is in liboce-visualization-dev 0.17.2-2.
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _AIS_GlobalStatus_HeaderFile
#define _AIS_GlobalStatus_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_AIS_GlobalStatus.hxx>
#include <AIS_DisplayStatus.hxx>
#include <TColStd_ListOfInteger.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Quantity_NameOfColor.hxx>
#include <MMgt_TShared.hxx>
class TColStd_ListOfInteger;
//! Stores information about objects in graphic context:
//! - Status Of Display : in the main viewer
//! hidden in the main viewer
//! - Displayed Modes
//! - Active Selection Modes
//! - is the Interactive Object Current ?
//! - Layer Index
class AIS_GlobalStatus : public MMgt_TShared
{
public:
Standard_EXPORT AIS_GlobalStatus();
Standard_EXPORT AIS_GlobalStatus(const AIS_DisplayStatus aStat, const Standard_Integer aDispMode, const Standard_Integer aSelMode, const Standard_Boolean ishilighted = Standard_False, const Quantity_NameOfColor TheHiCol = Quantity_NOC_WHITE, const Standard_Integer aLayerIndex = 0);
void SetGraphicStatus (const AIS_DisplayStatus aStat) ;
void AddDisplayMode (const Standard_Integer aMode) ;
void AddSelectionMode (const Standard_Integer aMode) ;
void SetLayerIndex (const Standard_Integer AnIndex) ;
void SetHilightStatus (const Standard_Boolean aStat) ;
void SetHilightColor (const Quantity_NameOfColor aHiCol) ;
Standard_Boolean IsSubIntensityOn() const;
void SubIntensityOn() ;
void SubIntensityOff() ;
Standard_EXPORT void RemoveDisplayMode (const Standard_Integer aMode) ;
Standard_EXPORT void RemoveSelectionMode (const Standard_Integer aMode) ;
Standard_EXPORT void ClearSelectionModes() ;
AIS_DisplayStatus GraphicStatus() const;
//! keeps the information of displayed modes in the
//! main viewer.
const TColStd_ListOfInteger& DisplayedModes() const;
//! keeps the active selection modes of the object
//! in the main viewer.
const TColStd_ListOfInteger& SelectionModes() const;
Standard_Boolean IsHilighted() const;
Quantity_NameOfColor HilightColor() const;
Standard_EXPORT Standard_Boolean IsDModeIn (const Standard_Integer aMode) const;
Standard_EXPORT Standard_Boolean IsSModeIn (const Standard_Integer aMode) const;
DEFINE_STANDARD_RTTI(AIS_GlobalStatus)
protected:
private:
AIS_DisplayStatus myStatus;
TColStd_ListOfInteger myDispModes;
TColStd_ListOfInteger mySelModes;
Standard_Integer myLayerIndex;
Standard_Boolean myIsHilit;
Quantity_NameOfColor myHiCol;
Standard_Boolean mySubInt;
};
#include <AIS_GlobalStatus.lxx>
#endif // _AIS_GlobalStatus_HeaderFile
|