X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Tools.h;h=1a12945c955a508a0c5a81a82266aa2bea2b9725;hb=629889bb85c8e4d8446651e8b597f20c14714aa1;hp=f29e192dffa83622bd7b849635dd80738fe1c194;hpb=3c987a8d1b88765224e3ac1388afb91eae17e4d3;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Tools.h b/src/SketchPlugin/SketchPlugin_Tools.h index f29e192df..1a12945c9 100644 --- a/src/SketchPlugin/SketchPlugin_Tools.h +++ b/src/SketchPlugin/SketchPlugin_Tools.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -135,9 +136,19 @@ void convertRefAttrToPointOrTangentCurve(const AttributeRefAttrPtr& theRefA std::shared_ptr& theTangentCurve, std::shared_ptr& thePassingPoint); - /// Calculate global coordinates for flyout point of Length constraint GeomPnt2dPtr flyoutPointCoordinates(const std::shared_ptr& theConstraint); + +/// Sets attributes of feature presentation +/// \param[in] thePrs a presentation +/// \param[in] isAxiliary is axiliary flag +void customizeFeaturePrs(const AISObjectPtr& thePrs, bool isAxiliary); + +void setDimensionColor(const AISObjectPtr& theDimPrs); + +/// Replace string in the name of object +void replaceInName(ObjectPtr theObject, const std::string& theSource, const std::string& theDest); + }; // namespace SketchPlugin_Tools namespace SketchPlugin_SegmentationTools