]> OCCT Git - occt-copy.git/commitdiff
Added progress indicator to BRepMesh_IncrementalMesh [0025113 for OCCT 7.2.0]
authorgka <gka@opencascade.com>
Mon, 14 Sep 2020 08:19:16 +0000 (11:19 +0300)
committergka <gka@opencascade.com>
Mon, 14 Sep 2020 08:19:16 +0000 (11:19 +0300)
Additional commit for binary compatibility with OCCT products

src/BRepMesh/BRepMesh_FastDiscret.hxx
src/Message/Message_ProgressSentry.hxx

index b7691afd76a880da9c22226cc553c6376341b0cd..fb4512e7609862a2617c4dd666c6106c889553e7 100644 (file)
@@ -130,7 +130,7 @@ public:
   //! Triangulate a face previously recorded for 
   //! processing by call to Add(). Can be executed in 
   //! parallel threads.
-  Standard_EXPORT void Process(const TopoDS_Face& theFace, Message_ProgressSentry& theProgrEntry) const;
+  Standard_EXPORT void Process(const TopoDS_Face& theFace, Message_ProgressSentry& theProgrEntry = NULL) const;
 
   void operator () (const BRepMesh_FaceSentry& aFaceSentry) const
   {
index 8cc137c2720e558968e049f296b2d93e4bdf6582..287d191eec4b22462fe32a1b3ed86ed8c350f90a 100644 (file)
@@ -67,13 +67,13 @@ public:
   DEFINE_STANDARD_ALLOC
 
   
-  Standard_EXPORT Message_ProgressSentry(const Handle(Message_ProgressIndicator)& PI, const Standard_CString name, const Standard_Real min, const Standard_Real max, const Standard_Real step, const Standard_Boolean isInf = Standard_False, const Standard_Real newScopeSpan = 0.0);
+  Standard_EXPORT Message_ProgressSentry(const Handle(Message_ProgressIndicator)& progress, const Standard_CString name, const Standard_Real min, const Standard_Real max, const Standard_Real step, const Standard_Boolean isInf = Standard_False, const Standard_Real newScopeSpan = 0.0);
   
   //! Creates an instance of ProgressSentry attaching it to
   //! the specified ProgressIndicator, selects parameters of
   //! the current scale, and opens a new scope with specified
   //! span (equal to step by default)
-  Standard_EXPORT Message_ProgressSentry(const Handle(Message_ProgressIndicator)& PI, const Handle(TCollection_HAsciiString)& name, const Standard_Real min, const Standard_Real max, const Standard_Real step, const Standard_Boolean isInf = Standard_False, const Standard_Real newScopeSpan = 0.0);
+  Standard_EXPORT Message_ProgressSentry(const Handle(Message_ProgressIndicator)& progress, const Handle(TCollection_HAsciiString)& name, const Standard_Real min, const Standard_Real max, const Standard_Real step, const Standard_Boolean isInf = Standard_False, const Standard_Real newScopeSpan = 0.0);
   
   //! Moves progress indicator to the end of the current scale
   //! and relieves sentry from its duty. Methods other than Show()