File indexing completed on 2026-07-13 08:25:32
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _AIS_ManipulatorOwner_HeaderFile
0017 #define _AIS_ManipulatorOwner_HeaderFile
0018
0019 #include <AIS_Manipulator.hxx>
0020
0021 #include <SelectMgr_EntityOwner.hxx>
0022 #include <SelectMgr_SelectableObject.hxx>
0023
0024 DEFINE_STANDARD_HANDLE(AIS_ManipulatorOwner, SelectMgr_EntityOwner)
0025
0026
0027 class AIS_ManipulatorOwner : public SelectMgr_EntityOwner
0028 {
0029 public:
0030 DEFINE_STANDARD_RTTIEXT(AIS_ManipulatorOwner, SelectMgr_EntityOwner)
0031
0032 Standard_EXPORT AIS_ManipulatorOwner(const Handle(SelectMgr_SelectableObject)& theSelObject,
0033 const Standard_Integer theIndex,
0034 const AIS_ManipulatorMode theMode,
0035 const Standard_Integer thePriority = 0);
0036
0037 Standard_EXPORT virtual void HilightWithColor(const Handle(PrsMgr_PresentationManager)& thePM,
0038 const Handle(Prs3d_Drawer)& theStyle,
0039 const Standard_Integer theMode) Standard_OVERRIDE;
0040
0041 Standard_EXPORT Standard_Boolean
0042 IsHilighted(const Handle(PrsMgr_PresentationManager)& thePM,
0043 const Standard_Integer theMode) const Standard_OVERRIDE;
0044
0045 Standard_EXPORT virtual void Unhilight(const Handle(PrsMgr_PresentationManager)& thePM,
0046 const Standard_Integer theMode) Standard_OVERRIDE;
0047
0048 AIS_ManipulatorMode Mode() const { return myMode; }
0049
0050
0051 Standard_Integer Index() const { return myIndex; }
0052
0053 protected:
0054 Standard_Integer myIndex;
0055 AIS_ManipulatorMode myMode;
0056 };
0057
0058 #endif