X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketcherPrs%2FSketcherPrs_Factory.h;h=0c463e59e70649e0c0f39924dbad8d6e77fd95cc;hb=0a909334d2b82cfcf3f9cb60d0719b81db86c005;hp=9b627b940650c0d30720e5c5b2a7e807621a43a8;hpb=27395bd5e5213d1c479d87191379515e2e60912c;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Factory.h b/src/SketcherPrs/SketcherPrs_Factory.h index 9b627b940..0c463e59e 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 @@ -28,57 +28,98 @@ public: /// Creates coincedent constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(coincidentConstraint) - /// Creates coincedent parallel presentation + /// Creates collinear constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(collinearConstraint) + + /// Creates parallel constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(parallelConstraint) /// Creates coincedent perpendicular presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(perpendicularConstraint) - /// Creates coincedent perpendicular presentation + /// Creates rigid constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(rigidConstraint) - /// Creates coincedent perpendicular presentation + /// Creates horizontal constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(horisontalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates vertical constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(verticalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates equal constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(equalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates tangent constraiont presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(tangentConstraint) - /// Creates coincedent perpendicular presentation + /// Creates radius dimension presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(radiusConstraint) - /// Creates coincedent perpendicular presentation + /// Creates length dimension presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(lengthDimensionConstraint) - /// Creates coincedent perpendicular presentation + /// Creates middle constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(middleConstraint) + + /// Creates mirror constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation GET_CONSTRAINT_PRS(mirrorConstraint) + + /// Creates translate constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(translateConstraint) + + /// Creates rotate constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(rotateConstraint) + + /// Creates angle constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + /// \param thePrevious the previous presentation + GET_CONSTRAINT_PRS(angleConstraint) }; #endif