X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketcherPrs%2FSketcherPrs_Factory.h;h=2f43622b04aaa398db891710f16a995ab0e18d76;hb=54722f01656c4e5c67a3cdc04aa57ef614b6a446;hp=291484d3b491e53960406d4d28462de3e29db618;hpb=303a8f8c0a451e65f1ad390f8b73d3408bf28425;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Factory.h b/src/SketcherPrs/SketcherPrs_Factory.h index 291484d3b..2f43622b0 100644 --- a/src/SketcherPrs/SketcherPrs_Factory.h +++ b/src/SketcherPrs/SketcherPrs_Factory.h @@ -16,8 +16,8 @@ #define GET_CONSTRAINT_PRS(NAME) \ static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \ - const std::shared_ptr& thePlane); - + const std::shared_ptr& thePlane, \ + AISObjectPtr thePrevious); /** * Class which creates constraints presentations @@ -30,6 +30,11 @@ public: /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(coincidentConstraint) + /// Creates collinear constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(collinearConstraint) + /// Creates parallel constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane @@ -75,6 +80,11 @@ public: /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(lengthDimensionConstraint) + /// Creates middle constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(middleConstraint) + /// Creates mirror constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane @@ -89,6 +99,11 @@ public: /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(rotateConstraint) + + /// Creates angle constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(angleConstraint) }; #endif