20 #ifndef SketcherPrs_Factory_H_
21 #define SketcherPrs_Factory_H_
23 #include "SketcherPrs.h"
24 #include <SketchPlugin_Sketch.h>
26 #include <ModelAPI_Feature.h>
27 #include <ModelAPI_CompositeFeature.h>
29 #include <GeomAPI_Ax3.h>
30 #include <GeomAPI_AISObject.h>
32 #define GET_CONSTRAINT_PRS(NAME) \
33 static AISObjectPtr NAME(ModelAPI_Feature* theConstraint, \
34 SketchPlugin_Sketch* theSketcher, \
35 AISObjectPtr thePrevious);
47 GET_CONSTRAINT_PRS(collinearConstraint)
53 GET_CONSTRAINT_PRS(parallelConstraint)
59 GET_CONSTRAINT_PRS(perpendicularConstraint)
65 GET_CONSTRAINT_PRS(rigidConstraint)
71 GET_CONSTRAINT_PRS(horisontalConstraint)
77 GET_CONSTRAINT_PRS(verticalConstraint)
83 GET_CONSTRAINT_PRS(equalConstraint)
89 GET_CONSTRAINT_PRS(tangentConstraint)
95 GET_CONSTRAINT_PRS(middleConstraint)
101 GET_CONSTRAINT_PRS(mirrorConstraint)
107 GET_CONSTRAINT_PRS(translateConstraint)
113 GET_CONSTRAINT_PRS(rotateConstraint)
119 GET_CONSTRAINT_PRS(coincidentConstraint)
125 GET_CONSTRAINT_PRS(lengthDimensionConstraint)
131 GET_CONSTRAINT_PRS(angleConstraint)
137 GET_CONSTRAINT_PRS(radiusConstraint)
143 GET_CONSTRAINT_PRS(offsetObject)
Class which creates constraints presentations.
Definition: SketcherPrs_Factory.h:41