]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketcherPrs/SketcherPrs_Radius.h
Salome HOME
#1404 Random crash with Shaper: AIS presentations: coincidence/radius constraints...
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Radius.h
index 348eafdcfaf5b6209f3ff5fe20361f9ded6c9ebf..2c940061bb08cca2b3f355ab7cb9e02332cd0f5c 100644 (file)
@@ -56,12 +56,18 @@ private:
   ModelAPI_Feature* myConstraint;
 
   /// Plane of the current sketcher
-  std::shared_ptr<GeomAPI_Ax3> myPlane;
-
-  Handle(Prs3d_DimensionAspect) myAspect;
+  std::shared_ptr<GeomAPI_Ax3> mySketcherPlane;
 
   /// Listener to update dimension visualization style
   SketcherPrs_DimensionStyleListener* myStyleListener;
+
+  /// container of values obtained from the constraint, which are necessary to fill the presentation
+  double myRadius; ///< the radius custom value
+  gp_Circ myCircle; ///< the radius circle
+  gp_Pnt myAncorPnt; ///< an ancor for the radius value visualization
+
+  bool myHasParameters; ///< true if the atrribute value has used parameters
+  std::string myValue; ///< dimension value
 };
 
 #endif
\ No newline at end of file