File indexing completed on 2026-10-04 09:14:46
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _HLRTest_DrawableEdgeTool_HeaderFile
0018 #define _HLRTest_DrawableEdgeTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <Draw_Drawable3D.hxx>
0025 class HLRBRep_Algo;
0026 class Draw_Display;
0027 class HLRBRep_Data;
0028 class HLRBRep_EdgeData;
0029
0030
0031 class HLRTest_DrawableEdgeTool : public Draw_Drawable3D
0032 {
0033
0034 public:
0035 Standard_EXPORT HLRTest_DrawableEdgeTool(const occ::handle<HLRBRep_Algo>& Alg,
0036 const bool Visible,
0037 const bool IsoLine,
0038 const bool Rg1Line,
0039 const bool RgNLine,
0040 const int ViewId);
0041
0042 Standard_EXPORT void DrawOn(Draw_Display& D) const override;
0043
0044 DEFINE_STANDARD_RTTIEXT(HLRTest_DrawableEdgeTool, Draw_Drawable3D)
0045
0046 private:
0047 Standard_EXPORT void InternalDraw(Draw_Display& D, const int typ) const;
0048
0049 Standard_EXPORT void DrawFace(Draw_Display& D,
0050 const int typ,
0051 const int nCB,
0052 const int iface,
0053 int& e2,
0054 int& iCB,
0055 occ::handle<HLRBRep_Data>& DS) const;
0056
0057 Standard_EXPORT void DrawEdge(Draw_Display& D,
0058 const bool inFace,
0059 const int typ,
0060 const int nCB,
0061 const int ie,
0062 int& e2,
0063 int& iCB,
0064 HLRBRep_EdgeData& ed) const;
0065
0066 occ::handle<HLRBRep_Algo> myAlgo;
0067 bool myVisible;
0068 bool myIsoLine;
0069 bool myRg1Line;
0070 bool myRgNLine;
0071 int myViewId;
0072 };
0073
0074 #endif