X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeSelection.h;h=8e70cb28b3f595ea9c10f01c6b2fed92dc9fc296;hb=64f61525459c3d1912057046a8757943ec12ff3c;hp=0e4c0f2023d87765b9fff2ad8bf391715fc989a0;hpb=661aafa65364b86fdbfc9fde9462d31bdf3ae151;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeSelection.h b/src/Model/Model_AttributeSelection.h index 0e4c0f202..8e70cb28b 100644 --- a/src/Model/Model_AttributeSelection.h +++ b/src/Model/Model_AttributeSelection.h @@ -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, @@ -143,6 +143,9 @@ public: /// Makes the current local selection becomes all sub-shapes with same base geometry. MODEL_EXPORT virtual void combineGeometrical(); + /// Resets attribute to deafult state + MODEL_EXPORT virtual void reset(); + protected: /// Objects are created for features automatically MODEL_EXPORT Model_AttributeSelection(TDF_Label& theLabel); @@ -203,8 +206,10 @@ protected: TDF_Label baseDocumentLab(); /// Returns features that conceals theFeature and located in history before theStop + /// theResultOfFeature if not null defines exact referenced result of a feature void concealedFeature( - const FeaturePtr theFeature, const FeaturePtr theStop, std::list& theConcealers); + const FeaturePtr theFeature, const FeaturePtr theStop, const bool theCheckCopy, + std::list& theConcealers, const ResultPtr theResultOfFeature); friend class Model_Data; friend class Model_AttributeSelectionList;