File indexing completed on 2025-01-18 10:03:05
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _BOPTest_DrawableShape_HeaderFile
0017 #define _BOPTest_DrawableShape_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <DBRep_DrawableShape.hxx>
0022 #include <Standard_Real.hxx>
0023 #include <Standard_Integer.hxx>
0024 class Draw_Text3D;
0025 class TopoDS_Shape;
0026 class gp_Pnt;
0027 class Draw_Display;
0028
0029
0030 class BOPTest_DrawableShape;
0031 DEFINE_STANDARD_HANDLE(BOPTest_DrawableShape, DBRep_DrawableShape)
0032
0033
0034 class BOPTest_DrawableShape : public DBRep_DrawableShape
0035 {
0036
0037 public:
0038
0039
0040 Standard_EXPORT BOPTest_DrawableShape(const TopoDS_Shape& S, const Draw_Color& FreeCol, const Draw_Color& ConnCol, const Draw_Color& EdgeCol, const Draw_Color& IsosCol, const Standard_Real size, const Standard_Integer nbisos, const Standard_Integer discret, const Standard_CString Text, const Draw_Color& TextColor);
0041
0042 Standard_EXPORT BOPTest_DrawableShape(const TopoDS_Shape& S, const Standard_CString Text, const Draw_Color& TextColor);
0043
0044 Standard_EXPORT virtual void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
0045
0046
0047
0048
0049 DEFINE_STANDARD_RTTIEXT(BOPTest_DrawableShape,DBRep_DrawableShape)
0050
0051 protected:
0052
0053
0054
0055
0056 private:
0057
0058
0059 Standard_EXPORT gp_Pnt Pnt() const;
0060
0061 Handle(Draw_Text3D) myText;
0062 Draw_Color myTextColor;
0063
0064
0065 };
0066
0067
0068
0069
0070
0071
0072
0073 #endif