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 #ifndef _AIS_TrihedronOwner_HeaderFile
0016 #define _AIS_TrihedronOwner_HeaderFile
0017
0018 #include <SelectMgr_EntityOwner.hxx>
0019 #include <SelectMgr_SelectableObject.hxx>
0020 #include <Prs3d_DatumParts.hxx>
0021
0022
0023 class AIS_TrihedronOwner : public SelectMgr_EntityOwner
0024 {
0025 DEFINE_STANDARD_RTTIEXT(AIS_TrihedronOwner, SelectMgr_EntityOwner)
0026 public:
0027
0028
0029 Standard_EXPORT AIS_TrihedronOwner (const Handle(SelectMgr_SelectableObject)& theSelObject,
0030 const Prs3d_DatumParts theDatumPart,
0031 const Standard_Integer thePriority);
0032
0033
0034 Prs3d_DatumParts DatumPart() const { return myDatumPart; }
0035
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
0042
0043 Standard_EXPORT Standard_Boolean IsHilighted (const Handle(PrsMgr_PresentationManager)& thePM,
0044 const Standard_Integer theMode) const Standard_OVERRIDE;
0045
0046
0047
0048 Standard_EXPORT virtual void Unhilight (const Handle(PrsMgr_PresentationManager)& thePM,
0049 const Standard_Integer theMode) Standard_OVERRIDE;
0050
0051 protected:
0052 Prs3d_DatumParts myDatumPart;
0053 };
0054
0055 DEFINE_STANDARD_HANDLE (AIS_TrihedronOwner, SelectMgr_EntityOwner)
0056
0057 #endif