File indexing completed on 2026-09-19 09:28:10
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HLRTest_DrawablePolyEdgeTool_HeaderFile
0018 #define _HLRTest_DrawablePolyEdgeTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <HLRBRep_BiPoint.hxx>
0025 #include <NCollection_List.hxx>
0026 #include <Draw_Drawable3D.hxx>
0027 class HLRBRep_PolyAlgo;
0028 class Draw_Display;
0029
0030
0031 class HLRTest_DrawablePolyEdgeTool : public Draw_Drawable3D
0032 {
0033
0034 public:
0035 Standard_EXPORT HLRTest_DrawablePolyEdgeTool(const occ::handle<HLRBRep_PolyAlgo>& Alg,
0036 const int ViewId,
0037 const bool Debug = false);
0038
0039 void Show();
0040
0041 void Hide();
0042
0043 void DisplayRg1Line(const bool B);
0044
0045 bool DisplayRg1Line() const;
0046
0047 void DisplayRgNLine(const bool B);
0048
0049 bool DisplayRgNLine() const;
0050
0051 void DisplayHidden(const bool B);
0052
0053 bool DisplayHidden() const;
0054
0055 Standard_EXPORT void DrawOn(Draw_Display& D) const override;
0056
0057 bool Debug() const;
0058
0059 void Debug(const bool B);
0060
0061 DEFINE_STANDARD_RTTIEXT(HLRTest_DrawablePolyEdgeTool, Draw_Drawable3D)
0062
0063 private:
0064 occ::handle<HLRBRep_PolyAlgo> myAlgo;
0065 bool myDispRg1;
0066 bool myDispRgN;
0067 bool myDispHid;
0068 int myViewId;
0069 NCollection_List<HLRBRep_BiPoint> myBiPntVis;
0070 NCollection_List<HLRBRep_BiPoint> myBiPntHid;
0071 bool myDebug;
0072 bool myHideMode;
0073 };
0074
0075 #include <HLRTest_DrawablePolyEdgeTool.lxx>
0076
0077 #endif