Salome HOME
Drawing of zones in OCC view improved.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Shape.h
index 4e1ef2120d42f68be7990590ee1f51702d41ff29..3adfec17df49b01a888de7a93587132c78d68461 100644 (file)
 #include <QColor>
 #include <QPainterPath>
 
+class BRepBuilderAPI_MakeFace;
+class BRepBuilderAPI_MakeWire;
+class gp_Pnt;
+
 class HYDROGUI_Shape
 {
 public:
@@ -70,6 +74,14 @@ private:
   static double              getQuantityColorVal( const int theColorVal );
   void                       colorShapeBorder( const QColor& theColor );
 
+  void                       makeEdge( BRepBuilderAPI_MakeWire& theWireBuilder,
+                                       gp_Pnt&                  theFirstPoint,
+                                       gp_Pnt&                  theLastPoint ) const;
+
+  void                       makeWire( BRepBuilderAPI_MakeFace& theFaceBuilder,
+                                       BRepBuilderAPI_MakeWire& theWireBuilder,
+                                       bool&                    theIsComposed ) const;
+
 private:
   Handle(AIS_InteractiveContext) myContext;
   Handle(AIS_Shape)              myShape;