File indexing completed on 2026-10-05 09:21:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _DDocStd_DrawDocument_HeaderFile
0017 #define _DDocStd_DrawDocument_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <DDF_Data.hxx>
0023 #include <Standard_OStream.hxx>
0024 #include <Draw_Interpretor.hxx>
0025 class TDocStd_Document;
0026 class Draw_Display;
0027 class Draw_Drawable3D;
0028
0029
0030
0031 class DDocStd_DrawDocument : public DDF_Data
0032 {
0033
0034 public:
0035 Standard_EXPORT static occ::handle<DDocStd_DrawDocument> Find(
0036 const occ::handle<TDocStd_Document>& Doc);
0037
0038 Standard_EXPORT DDocStd_DrawDocument(const occ::handle<TDocStd_Document>& Doc);
0039
0040 Standard_EXPORT occ::handle<TDocStd_Document> GetDocument() const;
0041
0042 Standard_EXPORT void DrawOn(Draw_Display& dis) const override;
0043
0044 Standard_EXPORT occ::handle<Draw_Drawable3D> Copy() const override;
0045
0046 Standard_EXPORT void Dump(Standard_OStream& S) const override;
0047
0048 Standard_EXPORT void Whatis(Draw_Interpretor& I) const override;
0049
0050 DEFINE_STANDARD_RTTIEXT(DDocStd_DrawDocument, DDF_Data)
0051
0052 private:
0053 occ::handle<TDocStd_Document> myDocument;
0054 };
0055
0056 #endif