File indexing completed on 2025-01-18 10:02:55
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
0031 DEFINE_STANDARD_RTTIEXT(AIS_ManipulatorOwner, SelectMgr_EntityOwner)
0032
0033 Standard_EXPORT AIS_ManipulatorOwner (const Handle(SelectMgr_SelectableObject)& theSelObject,
0034 const Standard_Integer theIndex,
0035 const AIS_ManipulatorMode theMode,
0036 const Standard_Integer thePriority = 0);
0037
0038 Standard_EXPORT virtual void HilightWithColor (const Handle(PrsMgr_PresentationManager)& thePM,
0039 const Handle(Prs3d_Drawer)& theStyle,
0040 const Standard_Integer theMode) Standard_OVERRIDE;
0041
0042 Standard_EXPORT Standard_Boolean 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, const Standard_Integer theMode) Standard_OVERRIDE;
0046
0047 AIS_ManipulatorMode Mode() const { return myMode; }
0048
0049
0050 Standard_Integer Index() const { return myIndex; }
0051
0052 protected:
0053
0054 Standard_Integer myIndex;
0055 AIS_ManipulatorMode myMode;
0056 };
0057
0058 #endif