Salome HOME
Improve updating "Multi" constraints
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Middle.h
index 0ba22c9f9d39753ebd16068c390f017f4be57110..e01aa66c1877264d41602b98b542c3b0232b46fb 100755 (executable)
@@ -23,9 +23,9 @@ public:
   /// Constructor
   /// \param theConstraint a constraint feature
   /// \param thePlane a coordinate plane of current sketch
-  Standard_EXPORT SketcherPrs_Middle(ModelAPI_Feature* theConstraint, 
+  Standard_EXPORT SketcherPrs_Middle(ModelAPI_Feature* theConstraint,
                                        const std::shared_ptr<GeomAPI_Ax3>& thePlane);
-  DEFINE_STANDARD_RTTI(SketcherPrs_Middle)
+  DEFINE_STANDARD_RTTIEXT(SketcherPrs_Middle, SketcherPrs_SymbolPrs)
 
   /// Returns true if the constraint feature arguments are correcly filled to build AIS presentation
   /// \param theConstraint a constraint feature
@@ -41,7 +41,7 @@ protected:
 
   /// Update myPntArray according to presentation positions
   /// \return true in case of success
-  virtual bool updateIfReadyToDisplay(double theStep) const;
+  virtual bool updateIfReadyToDisplay(double theStep, bool withColor) const;
 
   /// Draw shape of the object. Find shape result if the object is feature
   void drawLine(const Handle(Prs3d_Presentation)& thePrs, Quantity_Color theColor,