Warning, file /include/opencascade/SelectMgr_AndOrFilter.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 #ifndef _SelectMgr_AndOrFilter_HeaderFile
0015 #define _SelectMgr_AndOrFilter_HeaderFile
0016
0017 #include <Standard.hxx>
0018 #include <Standard_Type.hxx>
0019
0020 #include <Standard_Transient.hxx>
0021 #include <NCollection_Map.hxx>
0022 #include <NCollection_Shared.hxx>
0023 #include <SelectMgr_CompositionFilter.hxx>
0024 #include <SelectMgr_FilterType.hxx>
0025
0026
0027
0028
0029 class SelectMgr_AndOrFilter : public SelectMgr_CompositionFilter
0030 {
0031
0032 public:
0033
0034 Standard_EXPORT SelectMgr_AndOrFilter(const SelectMgr_FilterType theFilterType);
0035
0036
0037 Standard_EXPORT bool IsOk(const occ::handle<SelectMgr_EntityOwner>& theObj) const override;
0038
0039
0040 Standard_EXPORT void SetDisabledObjects(
0041 const occ::handle<NCollection_Shared<NCollection_Map<const Standard_Transient*>>>& theObjects);
0042
0043
0044 SelectMgr_FilterType FilterType() const { return myFilterType; }
0045
0046
0047
0048
0049 void SetFilterType(const SelectMgr_FilterType theFilterType) { myFilterType = theFilterType; }
0050
0051 DEFINE_STANDARD_RTTIEXT(SelectMgr_AndOrFilter, SelectMgr_CompositionFilter)
0052
0053 private:
0054 occ::handle<NCollection_Shared<NCollection_Map<const Standard_Transient*>>>
0055 myDisabledObjects;
0056
0057
0058 SelectMgr_FilterType myFilterType;
0059
0060 };
0061
0062 #endif