Warning, file /include/opencascade/PrsDim_DimensionOwner.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PrsDim_DimensionOwner_HeaderFile
0018 #define _PrsDim_DimensionOwner_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <PrsDim_DimensionSelectionMode.hxx>
0023 #include <SelectMgr_EntityOwner.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <PrsMgr_PresentationManager.hxx>
0026
0027 class SelectMgr_SelectableObject;
0028 class PrsMgr_PresentationManager;
0029
0030 DEFINE_STANDARD_HANDLE(PrsDim_DimensionOwner, SelectMgr_EntityOwner)
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 class PrsDim_DimensionOwner : public SelectMgr_EntityOwner
0044 {
0045 DEFINE_STANDARD_RTTIEXT(PrsDim_DimensionOwner, SelectMgr_EntityOwner)
0046 public:
0047
0048
0049
0050 Standard_EXPORT PrsDim_DimensionOwner(const Handle(SelectMgr_SelectableObject)& theSelObject, const PrsDim_DimensionSelectionMode theSelMode, const Standard_Integer thePriority = 0);
0051
0052 PrsDim_DimensionSelectionMode SelectionMode() const { return mySelectionMode; }
0053
0054 Standard_EXPORT virtual void HilightWithColor (const Handle(PrsMgr_PresentationManager)& thePM,
0055 const Handle(Prs3d_Drawer)& theStyle,
0056 const Standard_Integer theMode) Standard_OVERRIDE;
0057
0058
0059
0060 Standard_EXPORT virtual Standard_Boolean IsHilighted (const Handle(PrsMgr_PresentationManager)& thePM, const Standard_Integer theMode = 0) const Standard_OVERRIDE;
0061
0062
0063 Standard_EXPORT virtual void Unhilight (const Handle(PrsMgr_PresentationManager)& thePM, const Standard_Integer theMode = 0) Standard_OVERRIDE;
0064
0065 private:
0066
0067 PrsDim_DimensionSelectionMode mySelectionMode;
0068
0069 };
0070
0071 #endif