File indexing completed on 2025-01-18 10:03:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _DNaming_BooleanOperationDriver_HeaderFile
0017 #define _DNaming_BooleanOperationDriver_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <TFunction_Driver.hxx>
0023 #include <Standard_Integer.hxx>
0024 class TFunction_Logbook;
0025 class TDF_Label;
0026 class BRepAlgoAPI_BooleanOperation;
0027 class TFunction_Function;
0028
0029
0030 class DNaming_BooleanOperationDriver;
0031 DEFINE_STANDARD_HANDLE(DNaming_BooleanOperationDriver, TFunction_Driver)
0032
0033
0034 class DNaming_BooleanOperationDriver : public TFunction_Driver
0035 {
0036
0037 public:
0038
0039
0040
0041
0042
0043 Standard_EXPORT DNaming_BooleanOperationDriver();
0044
0045
0046
0047
0048
0049
0050
0051 Standard_EXPORT virtual void Validate (Handle(TFunction_Logbook)& theLog) const Standard_OVERRIDE;
0052
0053
0054
0055
0056
0057 Standard_EXPORT virtual Standard_Boolean MustExecute (const Handle(TFunction_Logbook)& theLog) const Standard_OVERRIDE;
0058
0059
0060
0061 Standard_EXPORT virtual Standard_Integer Execute (Handle(TFunction_Logbook)& theLog) const Standard_OVERRIDE;
0062
0063
0064
0065
0066 DEFINE_STANDARD_RTTIEXT(DNaming_BooleanOperationDriver,TFunction_Driver)
0067
0068 protected:
0069
0070
0071
0072
0073 private:
0074
0075
0076 Standard_EXPORT void LoadNamingDS (const TDF_Label& theResultLabel, BRepAlgoAPI_BooleanOperation& MS) const;
0077
0078 Standard_EXPORT void LoadSectionNDS (const TDF_Label& theResultLabel, BRepAlgoAPI_BooleanOperation& MS) const;
0079
0080 Standard_EXPORT Standard_Boolean CheckAndLoad (BRepAlgoAPI_BooleanOperation& theMkOpe, const Handle(TFunction_Function)& theFunction) const;
0081
0082
0083
0084 };
0085
0086
0087
0088
0089
0090
0091
0092 #endif