File indexing completed on 2025-01-18 10:03:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _DrawTrSurf_Polygon3D_HeaderFile
0018 #define _DrawTrSurf_Polygon3D_HeaderFile
0019
0020 #include <Draw_Drawable3D.hxx>
0021 #include <Draw_Interpretor.hxx>
0022
0023 class Poly_Polygon3D;
0024
0025 DEFINE_STANDARD_HANDLE(DrawTrSurf_Polygon3D, Draw_Drawable3D)
0026
0027
0028
0029 class DrawTrSurf_Polygon3D : public Draw_Drawable3D
0030 {
0031 DEFINE_STANDARD_RTTIEXT(DrawTrSurf_Polygon3D, Draw_Drawable3D)
0032 Draw_Drawable3D_FACTORY
0033 public:
0034
0035 Standard_EXPORT DrawTrSurf_Polygon3D (const Handle(Poly_Polygon3D)& P);
0036
0037 Handle(Poly_Polygon3D) Polygon3D() const { return myPolygon3D; }
0038
0039 void ShowNodes (const Standard_Boolean theB) { myNodes = theB; }
0040
0041 Standard_Boolean ShowNodes() const { return myNodes; }
0042
0043 Standard_EXPORT void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
0044
0045
0046 Standard_EXPORT virtual Handle(Draw_Drawable3D) Copy() const Standard_OVERRIDE;
0047
0048
0049 Standard_EXPORT virtual void Dump (Standard_OStream& S) const Standard_OVERRIDE;
0050
0051
0052 Standard_EXPORT virtual void Save (Standard_OStream& theStream) const Standard_OVERRIDE;
0053
0054
0055
0056 Standard_EXPORT virtual void Whatis (Draw_Interpretor& I) const Standard_OVERRIDE;
0057
0058 private:
0059
0060 Handle(Poly_Polygon3D) myPolygon3D;
0061 Standard_Boolean myNodes;
0062
0063 };
0064
0065 #endif