Warning, file /include/opencascade/BRepTest_Objects.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 #ifndef _BRepTest_Objects_HeaderFile
0017 #define _BRepTest_Objects_HeaderFile
0018
0019 #include <BRepTools_History.hxx>
0020
0021
0022 class BRepTest_Objects
0023 {
0024 public:
0025
0026
0027 Standard_EXPORT static void SetHistory(const Handle(BRepTools_History)& theHistory);
0028
0029
0030 Standard_EXPORT static void AddHistory(const Handle(BRepTools_History)& theHistory);
0031
0032
0033 template <class TheAlgo>
0034 static void SetHistory(const TopTools_ListOfShape& theArguments,
0035 TheAlgo& theAlgo)
0036 {
0037 SetHistory(new BRepTools_History(theArguments, theAlgo));
0038 }
0039
0040
0041 template <class TheAlgo>
0042 static void AddHistory(const TopTools_ListOfShape& theArguments,
0043 TheAlgo& theAlgo)
0044 {
0045 AddHistory(new BRepTools_History(theArguments, theAlgo));
0046 }
0047
0048
0049 Standard_EXPORT static Handle(BRepTools_History) History();
0050
0051
0052 Standard_EXPORT static void SetToFillHistory(const Standard_Boolean theFillHist);
0053
0054
0055 Standard_EXPORT static Standard_Boolean IsHistoryNeeded();
0056
0057 };
0058
0059 #endif