File indexing completed on 2025-01-18 10:03:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BRepTest_DrawableHistory_HeaderFile
0017 #define _BRepTest_DrawableHistory_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <BRepTools_History.hxx>
0022
0023 #include <Draw_Drawable3D.hxx>
0024 #include <Draw_Interpretor.hxx>
0025
0026 #include <Standard_OStream.hxx>
0027
0028
0029
0030 class BRepTest_DrawableHistory : public Draw_Drawable3D
0031 {
0032 DEFINE_STANDARD_RTTIEXT(BRepTest_DrawableHistory, Draw_Drawable3D)
0033
0034 public:
0035
0036
0037 BRepTest_DrawableHistory(const Handle(BRepTools_History)& theHistory)
0038 {
0039 myHistory = theHistory;
0040 }
0041
0042
0043 const Handle(BRepTools_History)& History() const
0044 {
0045 return myHistory;
0046 }
0047
0048
0049 Standard_EXPORT virtual void DrawOn(Draw_Display&)const Standard_OVERRIDE;
0050
0051
0052 Standard_EXPORT virtual void Dump(Standard_OStream& theS) const Standard_OVERRIDE;
0053
0054
0055 Standard_EXPORT virtual void Whatis(Draw_Interpretor& theDI) const Standard_OVERRIDE;
0056
0057 private:
0058
0059 Handle(BRepTools_History) myHistory;
0060 };
0061
0062 DEFINE_STANDARD_HANDLE(BRepTest_DrawableHistory, Draw_Drawable3D)
0063
0064 #endif