1 // Created on: 2000-05-25
2 // Created by: Peter KURNEV
3 // Copyright (c) 2000-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _BOPTest_DrawableShape_HeaderFile
17 #define _BOPTest_DrawableShape_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
22 #include <Draw_Color.hxx>
23 #include <DBRep_DrawableShape.hxx>
24 #include <Standard_Real.hxx>
25 #include <Standard_Integer.hxx>
26 #include <Standard_CString.hxx>
34 class BOPTest_DrawableShape;
35 DEFINE_STANDARD_HANDLE(BOPTest_DrawableShape, DBRep_DrawableShape)
38 class BOPTest_DrawableShape : public DBRep_DrawableShape
44 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);
46 Standard_EXPORT BOPTest_DrawableShape(const TopoDS_Shape& S, const Standard_CString Text, const Draw_Color& TextColor);
48 Standard_EXPORT virtual void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
53 DEFINE_STANDARD_RTTIEXT(BOPTest_DrawableShape,DBRep_DrawableShape)
63 Standard_EXPORT gp_Pnt Pnt() const;
65 Handle(Draw_Text3D) myText;
66 Draw_Color myTextColor;
77 #endif // _BOPTest_DrawableShape_HeaderFile