File indexing completed on 2026-09-22 08:57:04
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 class BOPTest_DrawableShape : public DBRep_DrawableShape
0030 {
0031
0032 public:
0033 Standard_EXPORT BOPTest_DrawableShape(const TopoDS_Shape& S,
0034 const Draw_Color& FreeCol,
0035 const Draw_Color& ConnCol,
0036 const Draw_Color& EdgeCol,
0037 const Draw_Color& IsosCol,
0038 const double size,
0039 const int nbisos,
0040 const int discret,
0041 const char* const Text,
0042 const Draw_Color& TextColor);
0043
0044 Standard_EXPORT BOPTest_DrawableShape(const TopoDS_Shape& S,
0045 const char* const Text,
0046 const Draw_Color& TextColor);
0047
0048 Standard_EXPORT void DrawOn(Draw_Display& dis) const override;
0049
0050 DEFINE_STANDARD_RTTIEXT(BOPTest_DrawableShape, DBRep_DrawableShape)
0051
0052 private:
0053 Standard_EXPORT gp_Pnt Pnt() const;
0054
0055 occ::handle<Draw_Text3D> myText;
0056 Draw_Color myTextColor;
0057 };
0058
0059 #endif