/// Returns an Id of the selection
/// NOTE: This method has been added for temporary export of groups towards old GEOM
- /// It should then be removed when a direct use of objects from NewGeom
+ /// It should then be removed when a direct use of objects from SHAPER
/// will be possible from SMESH module of SALOME.
MODEL_EXPORT virtual int Id();
/// Returns true if attribute was initialized by some value
MODEL_EXPORT virtual bool isInitialized();
+ /// Returns true if recomute of selection become impossible
+ MODEL_EXPORT virtual bool isInvalid();
+
+
protected:
/// Objects are created for features automatically
MODEL_EXPORT Model_AttributeSelection(TDF_Label& theLabel);
/// \param theContext the result - owner of the selection
/// \param theSubShape selected shape
/// \param theUpdate flag that shows that it must be just update, theShape is null
- /// \param returns true if eveything is selected correctly
+ /// \returns true if eveything is selected correctly
virtual bool selectPart(
const ResultPtr& theContext, const std::shared_ptr<GeomAPI_Shape>& theSubShape,
const bool theUpdate = false);