X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketcherPrs%2FSketcherPrs_Factory.h;h=c0101fa0a47a3b39231c246ae94c9be64dcc59bb;hb=497397f795254cb5adf0d727f5858d5aeb16eaf3;hp=b6feedebc887265e3cd1a0d789999b8d32d05026;hpb=3eb5a9ba3696a7d8eb516943dfdabd8b188a76c5;p=modules%2Fshaper.git diff --git a/src/SketcherPrs/SketcherPrs_Factory.h b/src/SketcherPrs/SketcherPrs_Factory.h index b6feedebc..c0101fa0a 100644 --- a/src/SketcherPrs/SketcherPrs_Factory.h +++ b/src/SketcherPrs/SketcherPrs_Factory.h @@ -9,13 +9,13 @@ #include "SketcherPrs.h" +#include + #include #include -class SketchPlugin_Constraint; - #define GET_CONSTRAINT_PRS(NAME) \ - static AISObjectPtr NAME(SketchPlugin_Constraint* theConstraint, \ + static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \ const std::shared_ptr& thePlane); @@ -30,7 +30,7 @@ public: /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(coincidentConstraint) - /// Creates coincedent parallel presentation + /// Creates parallel constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(parallelConstraint) @@ -40,30 +40,60 @@ public: /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(perpendicularConstraint) - /// Creates coincedent perpendicular presentation + /// Creates rigid constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(rigidConstraint) - /// Creates coincedent perpendicular presentation + /// Creates horizontal constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(horisontalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates vertical constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(verticalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates equal constraint presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(equalConstraint) - /// Creates coincedent perpendicular presentation + /// Creates tangent constraiont presentation /// \param theConstraint the constraint /// \param thePlane the current sketch plane GET_CONSTRAINT_PRS(tangentConstraint) + + /// Creates radius dimension presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(radiusConstraint) + + /// Creates length dimension presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(lengthDimensionConstraint) + + /// Creates mirror constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(mirrorConstraint) + + /// Creates translate constraint presentation + /// \param theConstraint the constraint + /// \param thePlane the current sketch plane + GET_CONSTRAINT_PRS(translateConstraint) + + /// Creates rotate constraint presentation + /// \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