Salome HOME
#1119 Confirmation box for deleting parts
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
index a7c0925b53b194bb321b2da75b90055de369d3d4..f490898f4c3018a16fc86e1a25b6f97f4a49fb53 100644 (file)
@@ -16,6 +16,7 @@
 #include <string>
 
 class GeomDataAPI_Point2D;
+class AIS_Dimension;
 
 //#define MyTextHeight 20
 
@@ -82,6 +83,9 @@ namespace SketcherPrs_Tools {
   /// \param theSize a size value
   SKETCHERPRS_EXPORT void setArrowSize(double theSize);
 
+  /// Returns default value of dimension arrows size
+  SKETCHERPRS_EXPORT int getDefaultArrowSize();
+
   /// Set value of dimension text height
   /// \param theHeight a height value
   SKETCHERPRS_EXPORT void setTextHeight(double theHeight);
@@ -100,6 +104,12 @@ namespace SketcherPrs_Tools {
   SKETCHERPRS_EXPORT std::shared_ptr<GeomAPI_Pnt> getAnchorPoint(
                                               const ModelAPI_Feature* theConstraint,
                                               const std::shared_ptr<GeomAPI_Ax3>& thePlane);
+
+  /// Display/hide sigma symbol in the dimension presentation
+  /// \param theDimension a dimension constraint
+  /// \param theToDisplay a boolean value
+  SKETCHERPRS_EXPORT void setDisplaySpecialSymbol(AIS_Dimension* theDimension,
+                                                  const bool& theToDisplay);
 };
 
 #endif