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 <Graphic3d_NMapOfTransient.hxx>
0021 #include <SelectMgr_CompositionFilter.hxx>
0022 #include <SelectMgr_FilterType.hxx>
0023
0024 DEFINE_STANDARD_HANDLE(SelectMgr_AndOrFilter, SelectMgr_CompositionFilter)
0025
0026
0027
0028
0029 class SelectMgr_AndOrFilter : public SelectMgr_CompositionFilter
0030 {
0031
0032 public:
0033
0034
0035 Standard_EXPORT SelectMgr_AndOrFilter (const SelectMgr_FilterType theFilterType);
0036
0037
0038 Standard_EXPORT virtual Standard_Boolean IsOk (const Handle(SelectMgr_EntityOwner)& theObj) const Standard_OVERRIDE;
0039
0040
0041 Standard_EXPORT void SetDisabledObjects (const Handle(Graphic3d_NMapOfTransient)& 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
0055 Handle(Graphic3d_NMapOfTransient) myDisabledObjects;
0056
0057 SelectMgr_FilterType myFilterType;
0058 };
0059
0060 #endif