Salome HOME
#1404 Random crash with Shaper: AIS presentations: operation prs, result sketch prs...
[modules/shaper.git] / src / PartSet / PartSet_ResultSketchPrs.h
index d2861823d8156a9b0e0a33d14c0a6f46ba371be4..ce403d192c17513568ae34c585ccf0d6f9516649 100755 (executable)
@@ -57,6 +57,14 @@ private:
   /// \param isAuxiliary a boolean value if the properties are for auxiliary objects
   void setAuxiliaryPresentationStyle(const bool isAuxiliary);
 
+  /// Fills the containers by the current result
+  /// \param theResultShape contains a shape of the result, it will be set as a Shape of AIS_Shape
+  /// \param theAuxiliaryCompound a compound of auxiliary shapes
+  /// \param theFaceList a list of face shapes
+  void PartSet_ResultSketchPrs::fillShapes(TopoDS_Shape& aResultShape,
+                                         TopoDS_Compound& theAuxiliaryCompound,
+                                         NCollection_List<TopoDS_Shape>& theFaceList);
+
   /// Reference to result object
   ResultPtr myResult;
 
@@ -67,7 +75,8 @@ private:
   TopoDS_Compound myAuxiliaryCompound;
 
   /// List of faces
-  std::list<std::shared_ptr<GeomAPI_Shape> > myFacesList;
+  //std::list<std::shared_ptr<GeomAPI_Shape> > myFacesList;
+  NCollection_List<TopoDS_Shape> mySketchFaceList;
 };