X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeSelection.h;h=b7d81ff7406ac5020a369478aa026620c4ec65a2;hb=bca2adba037f3f3c8d80eadd07d0894b56e37a21;hp=1896caa017f435687409907b388f0ac42a6c2d06;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeSelection.h b/src/Model/Model_AttributeSelection.h index 1896caa01..b7d81ff74 100644 --- a/src/Model/Model_AttributeSelection.h +++ b/src/Model/Model_AttributeSelection.h @@ -40,7 +40,7 @@ class Model_AttributeSelection : public ModelAPI_AttributeSelection, { Model_AttributeReference myRef; ///< The reference functionality re-usage /// temporarily storages to avoid keeping in the data structure if not needed - ResultPtr myTmpContext; + ObjectPtr myTmpContext; /// temporarily storages to avoid keeping in the data structure if not needed std::shared_ptr myTmpSubShape; /// temporarily storages to avoid keeping in the data structure if not needed @@ -63,7 +63,7 @@ public: const ObjectPtr& theContext, const std::shared_ptr& theSubShape, const bool theTemporarily = false); - /// Same as SetValue, but it takes an edge (on circular or elliptical curve) + /// Same as SetValue, but it takes an edge (on circular or elliptic curve) /// and stores the vertex of the central point (for ellipse the first or the second focus point) MODEL_EXPORT virtual void setValueCenter( const ObjectPtr& theContext, const std::shared_ptr& theEdge, @@ -202,6 +202,10 @@ protected: /// Returns null label otherwise. TDF_Label baseDocumentLab(); + /// Returns features that conceals theFeature and located in history before theStop + void concealedFeature( + const FeaturePtr theFeature, const FeaturePtr theStop, std::list& theConcealers); + friend class Model_Data; friend class Model_AttributeSelectionList; };